python/python3-jaraco.classes: Updated for version 3.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b5a58fa9bf
commit
1e9e079bb7
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for python3-jaraco.classes
|
# Slackware build script for python3-jaraco.classes
|
||||||
|
|
||||||
# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
|
# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,12 +24,14 @@
|
||||||
|
|
||||||
# 20220908 46and2: Updated version, added DEPS.
|
# 20220908 46and2: Updated version, added DEPS.
|
||||||
# -build process changed
|
# -build process changed
|
||||||
|
# 20240223 46and2: Updated version, needs newer setuptools to build properly.
|
||||||
|
# -wheel was not including all files.
|
||||||
|
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=python3-jaraco.classes
|
PRGNAM=python3-jaraco.classes
|
||||||
SRCNAM=${PRGNAM#python3-*}
|
SRCNAM=${PRGNAM#python3-*}
|
||||||
VERSION=${VERSION:-3.3.0}
|
VERSION=${VERSION:-3.3.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -51,23 +53,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
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
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -83,6 +68,8 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -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 {} \+
|
||||||
|
|
||||||
|
export PYTHONPATH=/opt/python3.9/site-packages/
|
||||||
|
|
||||||
python3 -m build --no-isolation
|
python3 -m build --no-isolation
|
||||||
python3 -m installer -d "$PKG" dist/*.whl
|
python3 -m installer -d "$PKG" dist/*.whl
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="python3-jaraco.classes"
|
PRGNAM="python3-jaraco.classes"
|
||||||
VERSION="3.3.0"
|
VERSION="3.3.1"
|
||||||
HOMEPAGE="https://github.com/jaraco/jaraco.classes"
|
HOMEPAGE="https://github.com/jaraco/jaraco.classes"
|
||||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-3.3.0.tar.gz"
|
DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-3.3.1.tar.gz"
|
||||||
MD5SUM="26ae65ab8cda78455ddab0b05fe0a553"
|
MD5SUM="63098c1bdebec27cd97921a2829fad32"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="python3-more-itertools python3-wheel"
|
REQUIRES="python3-more-itertools python3-setuptools-opt"
|
||||||
MAINTAINER="fourtysixandtwo"
|
MAINTAINER="fourtysixandtwo"
|
||||||
EMAIL="fourtysixandtwo@sliderr.net"
|
EMAIL="fourtysixandtwo@sliderr.net"
|
||||||
|
|
Loading…
Reference in New Issue