aboutsummaryrefslogtreecommitdiff
path: root/python/python3-openstep-plist/python3-openstep-plist.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-openstep-plist/python3-openstep-plist.SlackBuild')
-rw-r--r--python/python3-openstep-plist/python3-openstep-plist.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/python/python3-openstep-plist/python3-openstep-plist.SlackBuild b/python/python3-openstep-plist/python3-openstep-plist.SlackBuild
index 993d2db1ac..b637bf392f 100644
--- a/python/python3-openstep-plist/python3-openstep-plist.SlackBuild
+++ b/python/python3-openstep-plist/python3-openstep-plist.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-openstep-plist
-# Copyright 2023 Vijay Marcel
+# Copyright 2023-2024 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-openstep-plist
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -55,8 +55,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-unzip $CWD/$SRCNAM-${VERSION}.post1.zip
-cd $SRCNAM-${VERSION}.post1
+tar xvf $CWD/$SRCNAM-${VERSION}.tar.gz
+cd $SRCNAM-${VERSION}
chown -R root:root .
find -L . \
@@ -65,7 +65,8 @@ 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 {} \;
-python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
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