summaryrefslogtreecommitdiffstats
path: root/python/python3-tempora/python3-tempora.SlackBuild
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2024-02-23 06:23:28 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 15:34:59 +0700
commit707d3d6e1df16e583e20dce51ba0a50a958a7a7e (patch)
tree50dab497b2d9bd4be5783ecf6f9cdf7633cca27b /python/python3-tempora/python3-tempora.SlackBuild
parentf199f63b6911ed381eeb51b08316b395c977712e (diff)
downloadslackbuilds-707d3d6e1df16e583e20dce51ba0a50a958a7a7e.tar.gz
slackbuilds-707d3d6e1df16e583e20dce51ba0a50a958a7a7e.tar.xz
python/python3-tempora: Updated for version 5.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-tempora/python3-tempora.SlackBuild')
-rw-r--r--python/python3-tempora/python3-tempora.SlackBuild25
1 files changed, 6 insertions, 19 deletions
diff --git a/python/python3-tempora/python3-tempora.SlackBuild b/python/python3-tempora/python3-tempora.SlackBuild
index 18a0541b4f..1ab594ea66 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