diff options
author | Tim Biermann <tbier@posteo.de> | 2021-12-12 18:27:35 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-12-12 18:27:35 +0100 |
commit | 3c6aaac1c334e0b308544d2271fc298666d8eaa2 (patch) | |
tree | 58403503f11a57652f307926dbd062f728f9e525 /python3 | |
parent | 9686d5573bdd39f2c31c27082b8bd98b3cebd77a (diff) | |
download | core-3c6aaac1c334e0b308544d2271fc298666d8eaa2.tar.gz core-3c6aaac1c334e0b308544d2271fc298666d8eaa2.tar.xz |
python3: 3.10.0 -> 3.10.1
Diffstat (limited to 'python3')
-rw-r--r-- | python3/.footprint | 8 | ||||
-rw-r--r-- | python3/.signature | 8 | ||||
-rw-r--r-- | python3/Pkgfile | 20 |
3 files changed, 25 insertions, 11 deletions
diff --git a/python3/.footprint b/python3/.footprint index 2cd79777..963d3000 100644 --- a/python3/.footprint +++ b/python3/.footprint @@ -1840,8 +1840,8 @@ drwxr-xr-x root/root usr/lib/python3.10/ensurepip/_bundled/__pycache__/ -rw-r--r-- root/root usr/lib/python3.10/ensurepip/_bundled/__pycache__/__init__.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/ensurepip/_bundled/__pycache__/__init__.cpython-310.opt-2.pyc -rw-r--r-- root/root usr/lib/python3.10/ensurepip/_bundled/__pycache__/__init__.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/ensurepip/_bundled/pip-21.2.3-py3-none-any.whl --rw-r--r-- root/root usr/lib/python3.10/ensurepip/_bundled/setuptools-57.4.0-py3-none-any.whl +-rw-r--r-- root/root usr/lib/python3.10/ensurepip/_bundled/pip-21.2.4-py3-none-any.whl +-rw-r--r-- root/root usr/lib/python3.10/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl -rw-r--r-- root/root usr/lib/python3.10/ensurepip/_uninstall.py -rw-r--r-- root/root usr/lib/python3.10/enum.py -rw-r--r-- root/root usr/lib/python3.10/filecmp.py @@ -2340,9 +2340,9 @@ drwxr-xr-x root/root usr/lib/python3.10/lib-dynload/ -rwxr-xr-x root/root usr/lib/python3.10/lib-dynload/zlib.cpython-310-x86_64-linux-gnu.so drwxr-xr-x root/root usr/lib/python3.10/lib2to3/ -rw-r--r-- root/root usr/lib/python3.10/lib2to3/Grammar.txt --rw-r--r-- root/root usr/lib/python3.10/lib2to3/Grammar3.10.0.final.0.pickle +-rw-r--r-- root/root usr/lib/python3.10/lib2to3/Grammar3.10.1.final.0.pickle -rw-r--r-- root/root usr/lib/python3.10/lib2to3/PatternGrammar.txt --rw-r--r-- root/root usr/lib/python3.10/lib2to3/PatternGrammar3.10.0.final.0.pickle +-rw-r--r-- root/root usr/lib/python3.10/lib2to3/PatternGrammar3.10.1.final.0.pickle -rw-r--r-- root/root usr/lib/python3.10/lib2to3/__init__.py -rw-r--r-- root/root usr/lib/python3.10/lib2to3/__main__.py drwxr-xr-x root/root usr/lib/python3.10/lib2to3/__pycache__/ diff --git a/python3/.signature b/python3/.signature index 8f1be7a6..7cda0c88 100644 --- a/python3/.signature +++ b/python3/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/core.pub -RWRJc1FUaeVeqlutToFwbEC089uKNYyo+K/Smt1lpn/5QQyxc0jBovEgMpuj3fwNGki0tfqV2peZOmwxsb/cuVFpJ8rvSyz55Qg= -SHA256 (Pkgfile) = 8c3b97b3176415011a4d5e1be094105ba325a86465c8d31078ba20a36f3ec3b1 -SHA256 (.footprint) = 1644ea1620a64c4db60c700f2e6bd3cf69da615264fe440970294f79439f0b20 -SHA256 (Python-3.10.0.tar.xz) = 5a99f8e7a6a11a7b98b4e75e0d1303d3832cada5534068f69c7b6222a7b1b002 +RWRJc1FUaeVeqiwnawTORsp0wU9jwb3VYW6P/HC8Afh/JPYjK1UebLd90NUCBXur6qnM606YchQwURHDhQTUW9SElIxjlt1GTQo= +SHA256 (Pkgfile) = 595044226ded42748966cf4ca709db3cc03af7cb75a34fd9bbb56eed2b1dac28 +SHA256 (.footprint) = f3a73b29f327cbc21a76364b66f35f1a7f348184b7346facab99c34f08441afe +SHA256 (Python-3.10.1.tar.xz) = a7f1265b6e1a5de1ec5c3ec7019ab53413469934758311e9d240c46e5ae6e177 diff --git a/python3/Pkgfile b/python3/Pkgfile index a1e61b43..729285dd 100644 --- a/python3/Pkgfile +++ b/python3/Pkgfile @@ -4,13 +4,24 @@ # Depends on: bzip2 expat gdbm libffi libnsl libtirpc mpdecimal sqlite3 xz name=python3 -version=3.10.0 +version=3.10.1 release=1 source=(https://www.python.org/ftp/python/${version%rc*}/Python-$version.tar.xz) build() { cd Python-$version + # PGO and LTO make python go brrrrr + sed -i -e "s|-flto |-flto=4 |g" configure configure.ac + CFLAGS="${CFLAGS/-O2/-O3}" + local _pgojobs=$(nproc) + export PROFILE_TASK="-m test -j${_pgojobs} --pgo-extended -x test_gdb -u-network" + PROFILE_TASK+=" -x test_socket -x test_asyncio -x test_httpservers -x test_logging -x test_multiprocessing_fork -x test_xmlrpc" + local -x LC_ALL=C.utf8 + export SETUPTOOLS_USE_DISTUTILS=stdlib + local -x COLUMNS=80 + local -x PYTHONDONTWRITEBYTECODE= + # Ensure that we are using the system copy of various libraries rm -r Modules/expat rm -r Modules/_ctypes/{darwin,libffi}* @@ -23,16 +34,19 @@ build() { ./configure \ --prefix=/usr \ --enable-shared \ + --enable-optimizations \ --enable-ipv6 \ --enable-loadable-sqlite-extensions \ --with-computed-gotos \ + --with-lto \ --with-system-expat \ --with-system-ffi \ --with-system-libmpdec \ + --with-tzpath=/usr/share/zoneinfo \ --without-ensurepip - make - make -j1 DESTDIR=$PKG altinstall maninstall + make EXTRA_CFLAGS="$CFLAGS" + make -j1 EXTRA_CFLAGS="$CFLAGS" DESTDIR=$PKG altinstall maninstall ln -s 2to3-${version%.*} $PKG/usr/bin/2to3 ln -s python${version%.*} $PKG/usr/bin/python3 |