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>
This commit is contained in:
Pouria Rezaei 2024-06-25 20:36:54 +03:30 committed by Willy Sudiarto Raharjo
parent dd40acaab1
commit 29ef8d04c4
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 8 deletions

View file

@ -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

View file

@ -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"