mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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 changed files with 10 additions and 23 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue