aboutsummaryrefslogtreecommitdiff
path: root/python/python3-openstep-plist
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2024-02-26 08:05:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-28 12:22:40 +0700
commit6940232555c0a7c5a92984dda18a71dff61817e5 (patch)
tree59162c5a1e2637a4a02c86683ee851292b4c815b /python/python3-openstep-plist
parentb6efeac5b27c9e509c43345711fe6d070264ebf6 (diff)
python/python3-openstep-plist: Updated for version 0.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-openstep-plist')
-rw-r--r--python/python3-openstep-plist/python3-openstep-plist.SlackBuild11
-rw-r--r--python/python3-openstep-plist/python3-openstep-plist.info8
2 files changed, 10 insertions, 9 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
diff --git a/python/python3-openstep-plist/python3-openstep-plist.info b/python/python3-openstep-plist/python3-openstep-plist.info
index 5c2b0f9254..d6ca462693 100644
--- a/python/python3-openstep-plist/python3-openstep-plist.info
+++ b/python/python3-openstep-plist/python3-openstep-plist.info
@@ -1,10 +1,10 @@
PRGNAM="python3-openstep-plist"
-VERSION="0.3.0"
+VERSION="0.3.1"
HOMEPAGE="https://github.com/fonttools/openstep-plist"
-DOWNLOAD="https://pypi.io/packages/source/o/openstep-plist/openstep_plist-0.3.0.post1.zip"
-MD5SUM="80f1f4b86c7dc9bb4e15cce44b3e7604"
+DOWNLOAD="https://pypi.io/packages/source/o/openstep-plist/openstep_plist-0.3.1.tar.gz"
+MD5SUM="4bcb6ad0d9eec2360f4f1bc2fd7c6fa4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-pytest"
+REQUIRES="python3-pytest python3-build python3-wheel"
MAINTAINER="Vijay Marcel"
EMAIL="vijaymarcel@outlook.com"