diff options
author | Tim Biermann <tbier@posteo.de> | 2023-01-12 18:56:41 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2023-01-12 18:58:36 +0000 |
commit | 4d547c724bf5eceb247f7a39c7d87d91852f75ce (patch) | |
tree | c6f48075d29d3135ac37ad3e4201ae552cdcf54e | |
parent | 4fc0d7607d76f3c77899ffd740778b82d12c855f (diff) | |
download | opt-4d547c724bf5eceb247f7a39c7d87d91852f75ce.tar.gz opt-4d547c724bf5eceb247f7a39c7d87d91852f75ce.tar.xz |
python3-build: 0.9.0 -> 0.10.0; new dependency: python3-pyproject-hooks
-rw-r--r-- | python3-build/.footprint | 25 | ||||
-rw-r--r-- | python3-build/.signature | 8 | ||||
-rw-r--r-- | python3-build/Pkgfile | 21 |
3 files changed, 28 insertions, 26 deletions
diff --git a/python3-build/.footprint b/python3-build/.footprint index a45306488..82bbd6bec 100644 --- a/python3-build/.footprint +++ b/python3-build/.footprint @@ -4,25 +4,20 @@ drwxr-xr-x root/root usr/bin/ 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/build-0.9.0-py3.10.egg-info/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.9.0-py3.10.egg-info/PKG-INFO --rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.9.0-py3.10.egg-info/SOURCES.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.9.0-py3.10.egg-info/dependency_links.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.9.0-py3.10.egg-info/entry_points.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.9.0-py3.10.egg-info/requires.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.9.0-py3.10.egg-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.10/site-packages/build-0.10.0.dist-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.10.0.dist-info/LICENSE +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.10.0.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.10.0.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.10.0.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build-0.10.0.dist-info/entry_points.txt drwxr-xr-x root/root usr/lib/python3.10/site-packages/build/ -rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__init__.py -rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__main__.py drwxr-xr-x root/root usr/lib/python3.10/site-packages/build/__pycache__/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/__init__.cpython-310.opt-1.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/__init__.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/__main__.cpython-310.opt-1.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/__main__.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/env.cpython-310.opt-1.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/env.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/util.cpython-310.opt-1.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/util.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/__init__.cpython-310.opt-2.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/__main__.cpython-310.opt-2.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/env.cpython-310.opt-2.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/build/__pycache__/util.cpython-310.opt-2.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/build/env.py -rw-r--r-- root/root usr/lib/python3.10/site-packages/build/py.typed (EMPTY) -rw-r--r-- root/root usr/lib/python3.10/site-packages/build/util.py diff --git a/python3-build/.signature b/python3-build/.signature index 55a684bb7..60d967038 100644 --- a/python3-build/.signature +++ b/python3-build/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/X+zkAhmQDvXRw91klSbjb7aNFNUMSTUuFJf9f809ljrS+gzTXTa2eDu4e0CvYElIGEaVsV/5NEt9cZUV+BfgwA= -SHA256 (Pkgfile) = 9361f641bca22e6449b4488732e4d04664a960097699bb6ec53df4518b12502c -SHA256 (.footprint) = 91a4795790197d7ced8aef51a69f43ac13ec7f4a74e97e86927c7411e05aebd2 -SHA256 (build-0.9.0.tar.gz) = 1a07724e891cbd898923145eb7752ee7653674c511378eb9c7691aab1612bc3c +RWSE3ohX2g5d/W3vPJlE6LqKcDAQWy2Tusb730lIuc67U+huAUXFWpOTHSUzZDprkkOGOtZ5iHoPM5jpEMKORiRkNhtEKKvp2Ac= +SHA256 (Pkgfile) = bbc98abab02dac52702ed47126baa71985df49fd46f6c04cde160defb0133ee6 +SHA256 (.footprint) = 82798cddb98f164e6808c531fbe04db69a8009883fd1751db43c7211a0f2a513 +SHA256 (build-0.10.0.tar.gz) = d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269 diff --git a/python3-build/Pkgfile b/python3-build/Pkgfile index b68c4fff1..0979305c7 100644 --- a/python3-build/Pkgfile +++ b/python3-build/Pkgfile @@ -1,18 +1,25 @@ # Description: A simple, correct PEP517 package builder # URL: https://github.com/pypa/build # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: python3-packaging python3-pep517 python3-tomli python3-wheel +# Depends on: python3-packaging python3-pep517 python3-wheel python3-pyproject-hooks name=python3-build -version=0.9.0 +version=0.10.0 release=1 source=(https://pypi.python.org/packages/source/b/build/build-$version.tar.gz) build() { cd build-$version - /usr/bin/python3 setup.py build - /usr/bin/python3 setup.py install --skip-build \ - --optimize=1 \ - --prefix=/usr \ - --root=$PKG + + if ! prt-get isinst python3-flit-core; then + for i in build flit-core installer; do + /usr/bin/pip3 install --root=$SRC/tmp $i + done + + PYTHON_VERSION=$(python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])') + export PYTHONPATH=$SRC/tmp/usr/lib/python${PYTHON_VERSION}/site-packages + fi + + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl } |