aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-04-10 08:54:19 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-15 07:15:36 +0700
commit88447f40b0b12cc13792b045bfce46901cba52b4 (patch)
tree0b52398932d3adc259adc7a8adb08c5fad0510d5
parent338cd9bd9503f6e542958b97c781f54332856246 (diff)
python/python3-inflect: Updated for version 6.0.4.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-inflect/python3-inflect.SlackBuild11
-rw-r--r--python/python3-inflect/python3-inflect.info6
2 files changed, 7 insertions, 10 deletions
diff --git a/python/python3-inflect/python3-inflect.SlackBuild b/python/python3-inflect/python3-inflect.SlackBuild
index ad9c8bda5f624..ec4e210317476 100644
--- a/python/python3-inflect/python3-inflect.SlackBuild
+++ b/python/python3-inflect/python3-inflect.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-inflect
-# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-inflect
SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
-VERSION=${VERSION:-6.0.2}
+VERSION=${VERSION:-6.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -77,9 +74,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/python/python3-inflect/python3-inflect.info b/python/python3-inflect/python3-inflect.info
index 02574dca0dce8..1f59acf85e416 100644
--- a/python/python3-inflect/python3-inflect.info
+++ b/python/python3-inflect/python3-inflect.info
@@ -1,8 +1,8 @@
PRGNAM="python3-inflect"
-VERSION="6.0.2"
+VERSION="6.0.4"
HOMEPAGE="https://github.com/jaraco/inflect"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/i/inflect/inflect-6.0.2.tar.gz"
-MD5SUM="e7aad8f161ee9c85c7d125af69ae661f"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/i/inflect/inflect-6.0.4.tar.gz"
+MD5SUM="551f6a7c99e8b2731f50ed73ab6d2b32"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-pydantic"