From cb4fdbf526f4342d1af5f9e03f2d03e3f6ced7fe Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 8 Apr 2023 16:37:28 +0200 Subject: [PATCH] python3-tomli: use pip to build distribution package --- python3-tomli/.footprint | 3 +++ python3-tomli/.signature | 6 +++--- python3-tomli/Pkgfile | 12 +----------- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/python3-tomli/.footprint b/python3-tomli/.footprint index 107805371..f26d8b848 100644 --- a/python3-tomli/.footprint +++ b/python3-tomli/.footprint @@ -3,10 +3,13 @@ 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/tomli-2.0.1.dist-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/tomli-2.0.1.dist-info/INSTALLER -rw-r--r-- root/root usr/lib/python3.10/site-packages/tomli-2.0.1.dist-info/LICENSE -rw-r--r-- root/root usr/lib/python3.10/site-packages/tomli-2.0.1.dist-info/METADATA -rw-r--r-- root/root usr/lib/python3.10/site-packages/tomli-2.0.1.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.10/site-packages/tomli-2.0.1.dist-info/REQUESTED (EMPTY) -rw-r--r-- root/root usr/lib/python3.10/site-packages/tomli-2.0.1.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.10/site-packages/tomli-2.0.1.dist-info/direct_url.json drwxr-xr-x root/root usr/lib/python3.10/site-packages/tomli/ -rw-r--r-- root/root usr/lib/python3.10/site-packages/tomli/__init__.py drwxr-xr-x root/root usr/lib/python3.10/site-packages/tomli/__pycache__/ diff --git a/python3-tomli/.signature b/python3-tomli/.signature index a531ece08..25537d0fe 100644 --- a/python3-tomli/.signature +++ b/python3-tomli/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/asileJeCHpewwDJhoDavqnz8xpl+acE3RIYvfIufp5ahR8PlT6NnAIKD7llkSeOjtCybHSyUzDgA92dcBQ0Kw0= -SHA256 (Pkgfile) = 094af748721d84f8ae269a36df0ab672f989970c8e2d5fc325a008147e52afec -SHA256 (.footprint) = f99fa4f61f539d8fab5a35cf63ffabbedacbd03ace5c4ea8af9957c79b4be78d +RWSE3ohX2g5d/a4FO7wY5X9X94hg2ES964iuvDo1pcZS3jioEZCXaEG9i7/PqDaC44xbMo3PQrsI2Vquq/vJbKqzggoZV0FM0Aw= +SHA256 (Pkgfile) = de06fa90a444c6652d0370fafdba6c6a47970add4ffc9cbbe480a3383551f9c3 +SHA256 (.footprint) = 6ef041b176b233331172c7b137166ffb8a9dac92c529214de10f5ff0d67ea498 SHA256 (tomli-2.0.1.tar.gz) = de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f diff --git a/python3-tomli/Pkgfile b/python3-tomli/Pkgfile index 762a45c72..317cfea27 100644 --- a/python3-tomli/Pkgfile +++ b/python3-tomli/Pkgfile @@ -2,7 +2,6 @@ # URL: https://github.com/hukkin/tomli # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: python3-pip -# Optional: python3-flit-core name=python3-tomli version=2.0.1 @@ -12,14 +11,5 @@ source=(https://pypi.python.org/packages/source/t/tomli/tomli-$version.tar.gz) build() { cd tomli-$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 tomli - fi - - rm -rf $PKG/usr/lib/python$_pyver/site-packages/tomli-$version.dist-info/{INSTALLER,REQUESTED} + /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps . }