Skip to content

Commit

Permalink
feat(22.04): add python3.11 slices and dependencies
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 focal. [1]

[1] canonical#44.
  • Loading branch information
rebornplusplus authored and gregory-schiano committed Jun 22, 2024
1 parent 34b9cec commit 9384b68
Show file tree
Hide file tree
Showing 11 changed files with 642 additions and 0 deletions.
11 changes: 11 additions & 0 deletions slices/libmpdec3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package: libmpdec3

slices:
libs:
essential:
- libc6_libs
- libgcc-s1_libs
- libstdc++6_libs
contents:
/usr/lib/*-linux-*/libmpdec++.so.*:
/usr/lib/*-linux-*/libmpdec.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:
/lib/*-linux-*/libncursesw.so.6*:
/usr/lib/*-linux-*/libformw.so.6*:
/usr/lib/*-linux-*/libmenuw.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 9384b68

Please sign in to comment.