aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/python3-tempora/python3-tempora.SlackBuild25
-rw-r--r--python/python3-tempora/python3-tempora.info8
2 files changed, 10 insertions, 23 deletions
diff --git a/python/python3-tempora/python3-tempora.SlackBuild b/python/python3-tempora/python3-tempora.SlackBuild
index 18a0541b4f0b..1ab594ea66c2 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-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,12 +26,14 @@
# -build process changed
# 20230104 46and2: Updated version, remove dep.
# 20230122 46and2: Updated version, re-add dep.
+# 20240223 46and2: Updated version, needs newer setuptools to build properly.
+# -wheel was not including all files.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-tempora
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-5.5.0}
+VERSION=${VERSION:-5.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,23 +55,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "aarch64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -85,6 +70,8 @@ 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 {} \+
+export PYTHONPATH=/opt/python3.9/site-packages/
+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/python/python3-tempora/python3-tempora.info b/python/python3-tempora/python3-tempora.info
index e280d50dce44..4afb2795f44f 100644
--- a/python/python3-tempora/python3-tempora.info
+++ b/python/python3-tempora/python3-tempora.info
@@ -1,10 +1,10 @@
PRGNAM="python3-tempora"
-VERSION="5.5.0"
+VERSION="5.5.1"
HOMEPAGE="https://github.com/jaraco/tempora"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tempora/tempora-5.5.0.tar.gz"
-MD5SUM="39314c5843bc3f40f8ce4f5cc340c479"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tempora/tempora-5.5.1.tar.gz"
+MD5SUM="a904fca738bc16b31f28472379987e6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-jaraco.functools pytz"
+REQUIRES="python3-jaraco.functools pytz python3-setuptools-opt"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"