diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2024-03-02 20:40:46 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2024-03-02 22:33:15 +0100 |
commit | 3c50401519a1e376c437a70536ad2a72a2a9a217 (patch) | |
tree | a30ffc3927fd2c050d66838a1c874a2b897ba64d /source/x/pyxdg/pyxdg.SlackBuild | |
parent | 878ab72ee49bedde946be6b0c34e53e745586312 (diff) | |
download | current-3c50401519a1e376c437a70536ad2a72a2a9a217.tar.gz current-3c50401519a1e376c437a70536ad2a72a2a9a217.tar.xz |
Sat Mar 2 20:40:46 UTC 202420240302204046
a/kernel-generic-6.6.20-x86_64-1.txz: Upgraded.
a/kernel-huge-6.6.20-x86_64-1.txz: Upgraded.
a/kernel-modules-6.6.20-x86_64-1.txz: Upgraded.
a/lzip-1.24.1-x86_64-1.txz: Upgraded.
a/shadow-4.14.6-x86_64-1.txz: Upgraded.
d/kernel-headers-6.6.20-x86-1.txz: Upgraded.
k/kernel-source-6.6.20-noarch-1.txz: Upgraded.
l/elfutils-0.191-x86_64-1.txz: Upgraded.
l/libunibreak-6.1-x86_64-1.txz: Upgraded.
l/python-build-1.1.1-x86_64-1.txz: Upgraded.
l/python-psutil-5.9.8-x86_64-1.txz: Upgraded.
l/python-setuptools_scm-8.0.4-x86_64-1.txz: Upgraded.
l/python-trove-classifiers-2024.2.23-x86_64-1.txz: Upgraded.
l/sip-6.8.3-x86_64-1.txz: Upgraded.
x/pyxdg-0.28-x86_64-1.txz: Upgraded.
xfce/xfce4-taskmanager-1.5.7-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to '')
-rwxr-xr-x | source/x/pyxdg/pyxdg.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/x/pyxdg/pyxdg.SlackBuild b/source/x/pyxdg/pyxdg.SlackBuild index cf5289085..2ac035e32 100755 --- a/source/x/pyxdg/pyxdg.SlackBuild +++ b/source/x/pyxdg/pyxdg.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2019 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2019, 2024 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=pyxdg VERSION=${VERSION:-$(echo ${PKGNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-6} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -75,14 +75,16 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -python3 setup.py install --root=$PKG || exit 1 +unshare -n python3 -m build --wheel --no-isolation || exit 1 + +python3 -m installer --destdir "$PKG" dist/*.whl || exit 1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL PKG-INFO README TODO \ + AUTHORS* COPYING* ChangeLog* INSTALL* PKG-INFO* README* TODO* \ $PKG/usr/doc/$PKGNAM-$VERSION mkdir -p $PKG/install |