diff options
| author | Pouria Rezaei <Pouria.rz@outlook.com> | 2024-06-25 20:36:54 +0330 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-26 07:13:48 +0700 |
| commit | 29ef8d04c4f79da71b606eddea419893d1db8277 (patch) | |
| tree | cb62d426ecb34e544435a25b5e7de50e34acd2be /python/python3-fasteners/python3-fasteners.SlackBuild | |
| parent | dd40acaab155e814611579c29fac99d982e72ec4 (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/python3-fasteners.SlackBuild')
| -rw-r--r-- | python/python3-fasteners/python3-fasteners.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/python/python3-fasteners/python3-fasteners.SlackBuild b/python/python3-fasteners/python3-fasteners.SlackBuild index 55c6f61fe1..34b2ae2155 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 |
