aboutsummaryrefslogtreecommitdiffstats
path: root/python3-platformdirs/python3-platformdirs.SlackBuild
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 /python3-platformdirs/python3-platformdirs.SlackBuild
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
Diffstat (limited to 'python3-platformdirs/python3-platformdirs.SlackBuild')
-rw-r--r--python3-platformdirs/python3-platformdirs.SlackBuild17
1 files changed, 0 insertions, 17 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