Skip to content

Commit

Permalink
feat(24.04): add python3.11 slices and dependencies (#94)
Browse files Browse the repository at this point in the history
This commit adds the slice definition files for the Python 3.11 package
and it's dependencies. The Python library packages are organized
similarly to that of Python3.8 for jammy. [1]

[1] #82.
  • Loading branch information
rebornplusplus authored Jan 10, 2024
1 parent 45ae94a commit 2c1c830
Show file tree
Hide file tree
Showing 19 changed files with 700 additions and 1 deletion.
8 changes: 8 additions & 0 deletions slices/libbz2-1.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: libbz2-1.0

slices:
libs:
essential:
- libc6_libs
contents:
/lib/*-linux-*/libbz2.so.1*:
8 changes: 8 additions & 0 deletions slices/libdb5.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: libdb5.3

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libdb-5.3.so:
9 changes: 9 additions & 0 deletions slices/libexpat1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package: libexpat1

slices:
libs:
essential:
- libc6_libs
contents:
/lib/*-linux-*/libexpat.so.1*:
/usr/lib/*-linux-*/libexpatw.so.1*:
8 changes: 8 additions & 0 deletions slices/libffi8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package: libffi8

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libffi.so.8*:
12 changes: 12 additions & 0 deletions slices/libgssapi-krb5-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package: libgssapi-krb5-2

slices:
libs:
essential:
- libc6_libs
- libcom-err2_libs
- libk5crypto3_libs
- libkrb5-3_libs
- libkrb5support0_libs
contents:
/usr/lib/*-linux-*/libgssapi_krb5.so.2*:
2 changes: 1 addition & 1 deletion slices/liblzma5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ slices:
essential:
- libc6_libs
contents:
/lib/*-linux-*/liblzma.so.*:
/usr/lib/*-linux-*/liblzma.so.*:
12 changes: 12 additions & 0 deletions slices/libncursesw6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package: libncursesw6

slices:
libs:
essential:
- libc6_libs
- libtinfo6_libs
contents:
/usr/lib/*-linux-*/libformw.so.6*:
/usr/lib/*-linux-*/libmenuw.so.6*:
/usr/lib/*-linux-*/libncursesw.so.6*:
/usr/lib/*-linux-*/libpanelw.so.6*:
9 changes: 9 additions & 0 deletions slices/libnsl2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package: libnsl2

slices:
libs:
essential:
- libc6_libs
- libtirpc3_libs
contents:
/usr/lib/*-linux-*/libnsl.so.2*:
113 changes: 113 additions & 0 deletions slices/libpython3.11-minimal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
package: libpython3.11-minimal

# Most of the python3.11 standard libraries are split into
# two major packages:
# - libpython3.11-minimal (this one)
# - libpython3.11-stdlib
# While the libpython3.11-stdlib package has been chiselled logically
# into granular slices, the same hasn't been done for this package.
# The reason is simple, the libraries in this package are tightly
# dependent upon each other.
slices:
config:
contents:
/etc/python3.11/sitecustomize.py:

libs:
essential:
- libc6_libs
- libpython3.11-minimal_config
- libssl3_libs
contents:
/usr/lib/python3.11/__future__.py:
/usr/lib/python3.11/_collections_abc.py:
/usr/lib/python3.11/_compat_pickle.py:
/usr/lib/python3.11/_py_abc.py:
/usr/lib/python3.11/_sitebuiltins.py:
/usr/lib/python3.11/_strptime.py:
/usr/lib/python3.11/_sysconfigdata__*-linux-*.py:
/usr/lib/python3.11/_threading_local.py:
/usr/lib/python3.11/_weakrefset.py:
/usr/lib/python3.11/abc.py:
/usr/lib/python3.11/argparse.py:
/usr/lib/python3.11/ast.py:
/usr/lib/python3.11/base64.py:
/usr/lib/python3.11/bisect.py:
/usr/lib/python3.11/calendar.py:
/usr/lib/python3.11/codecs.py:
/usr/lib/python3.11/collections/**:
/usr/lib/python3.11/compileall.py:
/usr/lib/python3.11/configparser.py:
/usr/lib/python3.11/contextlib.py:
/usr/lib/python3.11/copy.py:
/usr/lib/python3.11/copyreg.py:
/usr/lib/python3.11/csv.py:
/usr/lib/python3.11/datetime.py:
/usr/lib/python3.11/dis.py:
/usr/lib/python3.11/email/**:
/usr/lib/python3.11/encodings/**:
/usr/lib/python3.11/enum.py:
/usr/lib/python3.11/filecmp.py:
/usr/lib/python3.11/fnmatch.py:
/usr/lib/python3.11/functools.py:
/usr/lib/python3.11/genericpath.py:
/usr/lib/python3.11/getopt.py:
/usr/lib/python3.11/glob.py:
/usr/lib/python3.11/hashlib.py:
/usr/lib/python3.11/heapq.py:
/usr/lib/python3.11/imp.py:
/usr/lib/python3.11/importlib/**:
/usr/lib/python3.11/inspect.py:
/usr/lib/python3.11/io.py:
/usr/lib/python3.11/ipaddress.py:
/usr/lib/python3.11/keyword.py:
/usr/lib/python3.11/lib-dynload/_hashlib.cpython-311-*-linux-*.so:
/usr/lib/python3.11/lib-dynload/_ssl.cpython-311-*-linux-*.so:
/usr/lib/python3.11/linecache.py:
/usr/lib/python3.11/locale.py:
/usr/lib/python3.11/logging/**:
/usr/lib/python3.11/opcode.py:
/usr/lib/python3.11/operator.py:
/usr/lib/python3.11/optparse.py:
/usr/lib/python3.11/os.py:
/usr/lib/python3.11/pathlib.py:
/usr/lib/python3.11/pickle.py:
/usr/lib/python3.11/pkgutil.py:
/usr/lib/python3.11/platform.py:
/usr/lib/python3.11/posixpath.py:
/usr/lib/python3.11/py_compile.py:
/usr/lib/python3.11/quopri.py:
/usr/lib/python3.11/random.py:
/usr/lib/python3.11/re/**:
/usr/lib/python3.11/reprlib.py:
/usr/lib/python3.11/runpy.py:
/usr/lib/python3.11/selectors.py:
/usr/lib/python3.11/signal.py:
/usr/lib/python3.11/site.py:
/usr/lib/python3.11/sitecustomize.py:
/usr/lib/python3.11/socket.py:
/usr/lib/python3.11/sre_compile.py:
/usr/lib/python3.11/sre_constants.py:
/usr/lib/python3.11/sre_parse.py:
/usr/lib/python3.11/ssl.py:
/usr/lib/python3.11/stat.py:
/usr/lib/python3.11/string.py:
/usr/lib/python3.11/stringprep.py:
/usr/lib/python3.11/struct.py:
/usr/lib/python3.11/subprocess.py:
/usr/lib/python3.11/sysconfig.py:
/usr/lib/python3.11/tempfile.py:
/usr/lib/python3.11/textwrap.py:
/usr/lib/python3.11/threading.py:
/usr/lib/python3.11/token.py:
/usr/lib/python3.11/tokenize.py:
/usr/lib/python3.11/traceback.py:
/usr/lib/python3.11/tracemalloc.py:
/usr/lib/python3.11/types.py:
/usr/lib/python3.11/typing.py:
/usr/lib/python3.11/urllib/**:
/usr/lib/python3.11/uu.py:
/usr/lib/python3.11/warnings.py:
/usr/lib/python3.11/weakref.py:
/usr/lib/python3.11/zipfile.py:
/usr/lib/python3.11/zipimport.py:
Loading

0 comments on commit 2c1c830

Please sign in to comment.