diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2023-08-14 19:04:41 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-08-14 22:00:56 +0200 |
commit | 253aa8f96223c6e1176fcf9684161bd1ae717bb3 (patch) | |
tree | 5b6d8225197e7189e10a8a2558c713a6e1532524 /source/l/python-zipp | |
parent | 408565cbe299024cd562fdbfaf52d26c9a41329e (diff) | |
download | current-253aa8f96223c6e1176fcf9684161bd1ae717bb3.tar.gz current-253aa8f96223c6e1176fcf9684161bd1ae717bb3.tar.xz |
Mon Aug 14 19:04:41 UTC 202320230814190441
ap/mariadb-10.11.5-x86_64-1.txz: Upgraded.
ap/mc-4.8.30-x86_64-1.txz: Upgraded.
d/vala-0.56.11-x86_64-1.txz: Upgraded.
l/json-c-0.17_20230812-x86_64-1.txz: Upgraded.
l/libsndfile-1.2.2-x86_64-1.txz: Upgraded.
l/openexr-3.1.11-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/python-zipp')
-rwxr-xr-x | source/l/python-zipp/python-zipp.SlackBuild | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/source/l/python-zipp/python-zipp.SlackBuild b/source/l/python-zipp/python-zipp.SlackBuild index 3e691d88a..dd5dbbe56 100755 --- a/source/l/python-zipp/python-zipp.SlackBuild +++ b/source/l/python-zipp/python-zipp.SlackBuild @@ -60,18 +60,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -# Not sure why this is needed? -mkdir zipp +unshare -n python3 -m build --wheel --no-isolation || exit 1 -# Use this setup.py shim: -cat << EOF > setup.py -from setuptools import setup -setup(name="${SRCNAM}", version="${VERSION}", packages=["${SRCNAM}"], package_data={"": ["*"]}) -EOF - -# With the shim, it's a good idea to use "unshare -n" to prevent downloading -# anything extra: -unshare -n python3 setup.py install --root=$PKG || exit 1 +python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a *.rst LICENSE* NOTICE PKG-INFO \ |