From ced500f9ab77f8107d40501c49821490010ea6da Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 10 Dec 2022 10:13:12 +0000 Subject: [PATCH] python3-packaging: 21.3 -> 22.0; new dependency: python3-pip --- python3-packaging/.footprint | 30 +++++++++++++----------------- python3-packaging/.signature | 8 ++++---- python3-packaging/Pkgfile | 18 +++++++++++------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/python3-packaging/.footprint b/python3-packaging/.footprint index 5d18a8306..69ab99291 100644 --- a/python3-packaging/.footprint +++ b/python3-packaging/.footprint @@ -2,41 +2,37 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/python3.10/ drwxr-xr-x root/root usr/lib/python3.10/site-packages/ -drwxr-xr-x root/root usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/PKG-INFO --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/SOURCES.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/dependency_links.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/requires.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-21.3-py3.10.egg-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.10/site-packages/packaging-22.0.dist-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-22.0.dist-info/LICENSE +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-22.0.dist-info/LICENSE.APACHE +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-22.0.dist-info/LICENSE.BSD +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-22.0.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-22.0.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging-22.0.dist-info/WHEEL drwxr-xr-x root/root usr/lib/python3.10/site-packages/packaging/ -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__about__.py -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__init__.py drwxr-xr-x root/root usr/lib/python3.10/site-packages/packaging/__pycache__/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/__about__.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/__about__.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/__init__.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/__init__.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_manylinux.cpython-310.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_elffile.cpython-310.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_manylinux.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_musllinux.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_musllinux.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_structures.cpython-310.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_parser.cpython-310.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_structures.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/markers.cpython-310.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/_tokenizer.cpython-310.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/markers.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/requirements.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/requirements.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/specifiers.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/specifiers.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/tags.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/tags.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/utils.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/utils.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/version.cpython-310.opt-1.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/__pycache__/version.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/_elffile.py -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/_manylinux.py -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/_musllinux.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/_parser.py -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/_structures.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/_tokenizer.py -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/markers.py -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/py.typed (EMPTY) -rw-r--r-- root/root usr/lib/python3.10/site-packages/packaging/requirements.py diff --git a/python3-packaging/.signature b/python3-packaging/.signature index e29ae3459..9f9352d52 100644 --- a/python3-packaging/.signature +++ b/python3-packaging/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/SKykCBULOLIwWEhibXTvL2o0bDh/V8DZvpj9lTOZNlQ4ZxTX6gfM1HwVrgTZRJ+zKHuD4D8yZrpWTetzw0gvwQ= -SHA256 (Pkgfile) = b865a5545255c7aab95328484e540b36d726d23457e23d4048aa2bdde37484a0 -SHA256 (.footprint) = 93ad42973de180c6d870893a96dfce047fbd3d17df9fc8f6e4c7e81dece4620e -SHA256 (packaging-21.3.tar.gz) = dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb +RWSE3ohX2g5d/ewGgUva3THh4g0Pwr9dpkE6duWpXrveSlBTvUbDYnDs41KwRCIKxjxBMFeuApbRNVTs7kJ4ESrVahQqNe294go= +SHA256 (Pkgfile) = 029fc890c2c38f7f13ab54005eef85353ba9cc408ee3e969e238224290d32581 +SHA256 (.footprint) = f6f7dcd398e096f11b820791952b047aae535afe8c0509ecbbef0543e077e742 +SHA256 (packaging-22.0.tar.gz) = 2198ec20bd4c017b8f9717e00f0c8714076fc2fd93816750ab48e2c41de2cfd3 diff --git a/python3-packaging/Pkgfile b/python3-packaging/Pkgfile index 5e036705b..39fe6cae4 100644 --- a/python3-packaging/Pkgfile +++ b/python3-packaging/Pkgfile @@ -1,18 +1,22 @@ # Description: Core utilities for Python packages. # URL: https://pypi.python.org/pypi/packaging/ # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: python3-pyparsing python3-six +# Depends on: python3-pyparsing python3-six python3-pip +# Optional: python3-flit-core name=python3-packaging -version=21.3 +version=22.0 release=1 source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz) build() { - cd ${name#*-}-$version + cd packaging-$version - /usr/bin/python3 setup.py build - - /usr/bin/python3 setup.py install \ - --prefix=/usr --root=$PKG --optimize=1 + if prt-get isinst python3-flit-core; then + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl + else + /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps packaging + rm -rf $PKG/usr/lib/python3.10/site-packages/packaging-22.0.dist-info/{INSTALLER,REQUESTED} + fi }