aboutsummaryrefslogtreecommitdiff
path: root/python/python3-tempora
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-01-04 17:52:46 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:30 +0700
commit8788b12e295392765126aef6f2e9e3506dc6d049 (patch)
treea7f2be3401f78075986eefe6b5e40da3b4a2cab7 /python/python3-tempora
parent6f5e5defc1ae495172c0e994277ef81d4efd5f77 (diff)
python/python3-tempora: Updated for version 5.2.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-tempora')
-rw-r--r--python/python3-tempora/python3-tempora.SlackBuild16
-rw-r--r--python/python3-tempora/python3-tempora.info8
2 files changed, 9 insertions, 15 deletions
diff --git a/python/python3-tempora/python3-tempora.SlackBuild b/python/python3-tempora/python3-tempora.SlackBuild
index 8f0769605244..80459f49cfd4 100644
--- a/python/python3-tempora/python3-tempora.SlackBuild
+++ b/python/python3-tempora/python3-tempora.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-tempora
-# 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
@@ -24,12 +24,13 @@
# 20220908 46and2: Updated version.
# -build process changed
+# 20230104 46and2: Updated version, remove dep.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-tempora
SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
-VERSION=${VERSION:-5.1.0}
+VERSION=${VERSION:-5.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +43,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
@@ -79,17 +77,13 @@ 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
-# installing tests to a subdir of your project might not conflict the toplevel, but
-# don't do it anyway...
-rm -r "$PKG"/usr/lib${LIBDIRSUFFIX}/python*/site-packages/${SRCNAM}/tests/
-
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-tempora/python3-tempora.info b/python/python3-tempora/python3-tempora.info
index 34b4879054e7..4542eaf056c9 100644
--- a/python/python3-tempora/python3-tempora.info
+++ b/python/python3-tempora/python3-tempora.info
@@ -1,10 +1,10 @@
PRGNAM="python3-tempora"
-VERSION="5.1.0"
+VERSION="5.2.0"
HOMEPAGE="https://github.com/jaraco/tempora"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tempora/tempora-5.1.0.tar.gz"
-MD5SUM="f9954a8c3b091f9769eb7bbe0faddccf"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tempora/tempora-5.2.0.tar.gz"
+MD5SUM="87fc0d99edd557323e61a16017707a8b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-jaraco.functools pytz"
+REQUIRES="python3-build python3-installer wheel pytz"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"