diff options
author | Tim Biermann <tbier@posteo.de> | 2022-07-10 19:43:51 +0200 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-07-10 19:46:27 +0200 |
commit | e9655c8f29ca8531c532e27ca30c1d5437e7988c (patch) | |
tree | a1a49a61dc93c8741a6716878db602ae829bc15a /python3-pep517 | |
parent | 78ecd12d647b8b4aeb06ab276901560e64bd9240 (diff) | |
download | opt-e9655c8f29ca8531c532e27ca30c1d5437e7988c.tar.gz opt-e9655c8f29ca8531c532e27ca30c1d5437e7988c.tar.xz |
python3-pep517: initial commit, version 0.12.0
Diffstat (limited to 'python3-pep517')
-rw-r--r-- | python3-pep517/.footprint | 35 | ||||
-rw-r--r-- | python3-pep517/.signature | 5 | ||||
-rw-r--r-- | python3-pep517/Pkgfile | 24 |
3 files changed, 64 insertions, 0 deletions
diff --git a/python3-pep517/.footprint b/python3-pep517/.footprint new file mode 100644 index 000000000..2d61ef838 --- /dev/null +++ b/python3-pep517/.footprint @@ -0,0 +1,35 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.9/ +drwxr-xr-x root/root usr/lib/python3.9/site-packages/ +drwxr-xr-x root/root usr/lib/python3.9/site-packages/pep517-0.12.0.dist-info/ +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517-0.12.0.dist-info/LICENSE +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517-0.12.0.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517-0.12.0.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517-0.12.0.dist-info/WHEEL +drwxr-xr-x root/root usr/lib/python3.9/site-packages/pep517/ +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__init__.py +drwxr-xr-x root/root usr/lib/python3.9/site-packages/pep517/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/__init__.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/build.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/check.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/colorlog.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/compat.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/dirtools.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/envbuild.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/meta.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/__pycache__/wrappers.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/build.py +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/check.py +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/colorlog.py +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/compat.py +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/dirtools.py +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/envbuild.py +drwxr-xr-x root/root usr/lib/python3.9/site-packages/pep517/in_process/ +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/in_process/__init__.py +drwxr-xr-x root/root usr/lib/python3.9/site-packages/pep517/in_process/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/in_process/__pycache__/__init__.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/in_process/__pycache__/_in_process.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/in_process/_in_process.py +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/meta.py +-rw-r--r-- root/root usr/lib/python3.9/site-packages/pep517/wrappers.py diff --git a/python3-pep517/.signature b/python3-pep517/.signature new file mode 100644 index 000000000..9401d7603 --- /dev/null +++ b/python3-pep517/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/e1mc4fL7aoDBrhbC+tJq332eGwjKUAtY9FPnJvNSQkHX0z4BmsBwnubaN+DzfqnIEW+Iz9hRtKpL/OUXQuxIgE= +SHA256 (Pkgfile) = b1bf667bba49e64c4cccba7424d2ad9194e5ff9bef1bd2425adfdd29330d0714 +SHA256 (.footprint) = 1c794944939f307711844a83524930f0965831ed0a6b5e80558d59452d706421 +SHA256 (pep517-0.12.0.tar.gz) = 931378d93d11b298cf511dd634cf5ea4cb249a28ef84160b3247ee9afb4e8ab0 diff --git a/python3-pep517/Pkgfile b/python3-pep517/Pkgfile new file mode 100644 index 000000000..0000ce384 --- /dev/null +++ b/python3-pep517/Pkgfile @@ -0,0 +1,24 @@ +# Description: Wrappers to build Python packages using PEP 517 hooks +# URL: https://github.com/pypa/pep517 +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: python3-tomli + +name=python3-pep517 +version=0.12.0 +release=1 +source=(https://pypi.python.org/packages/source/p/pep517/pep517-$version.tar.gz) + +build() { + cd pep517-$version + + _pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])') + + 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 pep517 + fi + + rm -rf $PKG/usr/lib/python$_pyver/site-packages/pep517-$version.dist-info/{INSTALLER,REQUESTED} +} |