aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-10 20:42:33 +0200
committerDanilo M. <danix@danix.xyz>2026-07-10 20:42:33 +0200
commit3128547e4235e1ad9cc573d0a337401efcf65927 (patch)
tree8c127cae8923af29f71f5aaa704c18127ffc187d
parent4b3b46c51b93b80ee97fe511b576d0c63de71806 (diff)
downloadmy-slackbuilds-3128547e4235e1ad9cc573d0a337401efcf65927.tar.gz
my-slackbuilds-3128547e4235e1ad9cc573d0a337401efcf65927.zip
python3-platformdirs: fix REQUIRES, drop dead ARCH block, restore SBo maintainer
- REQUIRES: add python3-build python3-installer (needed on -stable where they are not in the distro; build failed with "No module named build") - drop the unused SLKCFLAGS/LIBDIRSUFFIX ARCH block (noarch pure-python build; sbolint flagged both vars as set-but-never-used). ARCH detection and the x86_64 package naming are unchanged. - MAINTAINER/EMAIL back to Jeremy Hansen (SBo maintainer) ahead of an upstream update proposal
-rw-r--r--python3-platformdirs/python3-platformdirs.SlackBuild17
-rw-r--r--python3-platformdirs/python3-platformdirs.info6
2 files changed, 3 insertions, 20 deletions
diff --git a/python3-platformdirs/python3-platformdirs.SlackBuild b/python3-platformdirs/python3-platformdirs.SlackBuild
index 3826f5d..bd61a97 100644
--- a/python3-platformdirs/python3-platformdirs.SlackBuild
+++ b/python3-platformdirs/python3-platformdirs.SlackBuild
@@ -49,23 +49,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
diff --git a/python3-platformdirs/python3-platformdirs.info b/python3-platformdirs/python3-platformdirs.info
index 3fde9ad..472ee08 100644
--- a/python3-platformdirs/python3-platformdirs.info
+++ b/python3-platformdirs/python3-platformdirs.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/d7/47/e4501f49c178ae1d9f4a7507
MD5SUM="ee2194f2e71385c5dc6b647858dc1da4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="danix"
-EMAIL="danix@danix.xyz"
+REQUIRES="python3-build python3-installer"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"