aboutsummaryrefslogtreecommitdiff
path: root/python/python3-setuptools-scm-opt
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-setuptools-scm-opt')
-rw-r--r--python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild26
-rw-r--r--python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info10
2 files changed, 11 insertions, 25 deletions
diff --git a/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild
index 4336be100134..242de21c16dc 100644
--- a/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild
+++ b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.SlackBuild
@@ -25,12 +25,15 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-setuptools-scm-opt
-SRCNAM=setuptools_scm
-VERSION=${VERSION:-7.1.0}
+SRCNAM=setuptools-scm
+VERSION=${VERSION:-8.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+# set noarch because installing to /opt
+ARCH=noarch
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -48,23 +51,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
@@ -98,7 +84,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG.rst LICENSE README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.rst LICENSE README.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info
index f6de08abc45d..c1ef646fcaa9 100644
--- a/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info
+++ b/python/python3-setuptools-scm-opt/python3-setuptools-scm-opt.info
@@ -1,10 +1,10 @@
PRGNAM="python3-setuptools-scm-opt"
-VERSION="7.1.0"
-HOMEPAGE="https://github.com/pypa/setuptools_scm"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-7.1.0.tar.gz"
-MD5SUM="158dc741637fb4fa4b955c62bd2c08be"
+VERSION="8.0.2"
+HOMEPAGE="https://github.com/pypa/setuptools-scm"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools-scm-8.0.2.tar.gz"
+MD5SUM="036efc8cbff77f9ba420225c4807e938"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-setuptools-opt typing-extensions"
+REQUIRES="python3-setuptools-opt typing-extensions python3-rich python-importlib_metadata"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"