aboutsummaryrefslogtreecommitdiff
path: root/python/python3-fasteners
diff options
context:
space:
mode:
authorPouria Rezaei <Pouria.rz@outlook.com>2024-06-25 20:36:54 +0330
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-26 07:13:48 +0700
commit29ef8d04c4f79da71b606eddea419893d1db8277 (patch)
treecb62d426ecb34e544435a25b5e7de50e34acd2be /python/python3-fasteners
parentdd40acaab155e814611579c29fac99d982e72ec4 (diff)
python/python3-fasteners: Updated to 0.19.
Signed-off-by: Pouria Rezaei <Pouria.rz@outlook.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-fasteners')
-rw-r--r--python/python3-fasteners/python3-fasteners.SlackBuild12
-rw-r--r--python/python3-fasteners/python3-fasteners.info8
2 files changed, 12 insertions, 8 deletions
diff --git a/python/python3-fasteners/python3-fasteners.SlackBuild b/python/python3-fasteners/python3-fasteners.SlackBuild
index 55c6f61fe1eaf..34b2ae21559fd 100644
--- a/python/python3-fasteners/python3-fasteners.SlackBuild
+++ b/python/python3-fasteners/python3-fasteners.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-fasteners
-# Copyright 2019-2022 Pouria Rezaei <Pouria.rz@outlook.com>
+# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.com>
# 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-fasteners
-VERSION=${VERSION:-0.17.3}
+VERSION=${VERSION:-0.19}
SRCNAM=fasteners
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,10 +72,14 @@ 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 -c 'from setuptools import setup; setup()' install --root=$PKG
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages/
+
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir="$PKG" dist/*.whl
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG LICENSE MANIFEST.in README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md LICENSE MANIFEST.in README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/python3-fasteners/python3-fasteners.info b/python/python3-fasteners/python3-fasteners.info
index 92582b34c46b6..6aabf4ed04aeb 100644
--- a/python/python3-fasteners/python3-fasteners.info
+++ b/python/python3-fasteners/python3-fasteners.info
@@ -1,10 +1,10 @@
PRGNAM="python3-fasteners"
-VERSION="0.17.3"
+VERSION="0.19"
HOMEPAGE="https://github.com/harlowja/fasteners/"
-DOWNLOAD="https://files.pythonhosted.org/packages/bd/f4/148f44998c1bdb064a508e7cbcf9e50b34572b3d36fcc378a5d61b7dc8c5/fasteners-0.17.3.tar.gz"
-MD5SUM="3822d6ed0cf530d625e574a390f8f6fb"
+DOWNLOAD="https://files.pythonhosted.org/packages/5f/d4/e834d929be54bfadb1f3e3b931c38e956aaa3b235a46a3c764c26c774902/fasteners-0.19.tar.gz"
+MD5SUM="e957e11c2e00629e44166e1d2881798e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-monotonic"
+REQUIRES="python3-setuptools-opt python3-monotonic"
MAINTAINER="Pouria Rezaei"
EMAIL="Pouria.rz@outlook.com"