summaryrefslogtreecommitdiffstats
path: root/python/python3-jaraco.classes
diff options
context:
space:
mode:
author fourtysixandtwo2024-02-23 13:06:24 +0100
committer Willy Sudiarto Raharjo2024-02-24 09:34:58 +0100
commit1e9e079bb7cf569d9dd4dce76189e85829ac62e4 (patch)
treec62ddbfc3e2015270dc2d97a12315202da97c1b3 /python/python3-jaraco.classes
parentb5a58fa9bf5f6f1c215761690bec57c924666df2 (diff)
downloadslackbuilds-1e9e079bb7cf569d9dd4dce76189e85829ac62e4.tar.gz
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')
-rw-r--r--python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild25
-rw-r--r--python/python3-jaraco.classes/python3-jaraco.classes.info8
2 files changed, 10 insertions, 23 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
diff --git a/python/python3-jaraco.classes/python3-jaraco.classes.info b/python/python3-jaraco.classes/python3-jaraco.classes.info
index c53d6d9911..5ec4eff729 100644
--- a/python/python3-jaraco.classes/python3-jaraco.classes.info
+++ b/python/python3-jaraco.classes/python3-jaraco.classes.info
@@ -1,10 +1,10 @@
PRGNAM="python3-jaraco.classes"
-VERSION="3.3.0"
+VERSION="3.3.1"
HOMEPAGE="https://github.com/jaraco/jaraco.classes"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-3.3.0.tar.gz"
-MD5SUM="26ae65ab8cda78455ddab0b05fe0a553"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-3.3.1.tar.gz"
+MD5SUM="63098c1bdebec27cd97921a2829fad32"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-more-itertools python3-wheel"
+REQUIRES="python3-more-itertools python3-setuptools-opt"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"