aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/python3-flit_core/python3-flit_core.SlackBuild22
-rw-r--r--python/python3-flit_core/python3-flit_core.info6
2 files changed, 5 insertions, 23 deletions
diff --git a/python/python3-flit_core/python3-flit_core.SlackBuild b/python/python3-flit_core/python3-flit_core.SlackBuild
index 1d016f391e..50411234e2 100644
--- a/python/python3-flit_core/python3-flit_core.SlackBuild
+++ b/python/python3-flit_core/python3-flit_core.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-flit_core
-# 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
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-flit_core
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-3.9.0}
+VERSION=${VERSION:-3.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -50,20 +50,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"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -82,10 +68,6 @@ find -L . \
python3 -m flit_core.wheel
python3 bootstrap_install.py --install-root "$PKG" dist/*.whl
-# installing tests to a subdir of your project might not conflict the toplevel, but
-# don't do it anyway...
-rm -r "$PKG"/usr/lib*/python*/site-packages/${SRCNAM}/tests/
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python3-flit_core/python3-flit_core.info b/python/python3-flit_core/python3-flit_core.info
index c294d24f0c..a111e7f1b5 100644
--- a/python/python3-flit_core/python3-flit_core.info
+++ b/python/python3-flit_core/python3-flit_core.info
@@ -1,8 +1,8 @@
PRGNAM="python3-flit_core"
-VERSION="3.9.0"
+VERSION="3.10.1"
HOMEPAGE="https://github.com/pypa/flit"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flit_core/flit_core-3.9.0.tar.gz"
-MD5SUM="3bc52f1952b9a78361114147da63c35b"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flit_core/flit_core-3.10.1.tar.gz"
+MD5SUM="a3381dd58e23e9826c5199b1f70318b0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""