diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-02-23 05:06:24 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-24 15:34:58 +0700 |
commit | 1e9e079bb7cf569d9dd4dce76189e85829ac62e4 (patch) | |
tree | c62ddbfc3e2015270dc2d97a12315202da97c1b3 /python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild | |
parent | b5a58fa9bf5f6f1c215761690bec57c924666df2 (diff) |
python/python3-jaraco.classes: Updated for version 3.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild')
-rw-r--r-- | python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild b/python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild index 3cbb6cb4e9..2cd06f3ae9 100644 --- a/python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild +++ b/python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-jaraco.classes -# 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 @@ -24,12 +24,14 @@ # 20220908 46and2: Updated version, added DEPS. # -build process changed +# 20240223 46and2: Updated version, needs newer setuptools to build properly. +# -wheel was not including all files. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-jaraco.classes SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-3.3.0} +VERSION=${VERSION:-3.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,23 +53,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 @@ -83,6 +68,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 |