aboutsummaryrefslogtreecommitdiff
path: root/python/python3-deprecation/python3-deprecation.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-09-22 17:48:42 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:00:00 +0700
commit2e8e25dc69257c6773f9c7ce50e0c5e2ce31428e (patch)
treebe8fbfd5937c7b8317500e6e896ec681940468aa /python/python3-deprecation/python3-deprecation.SlackBuild
parentd7aa89d89732fc1063a9b027a16d171fe21b5de3 (diff)
python/python3-deprecation: Correct email and clean up SlackBuild
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-deprecation/python3-deprecation.SlackBuild')
-rw-r--r--python/python3-deprecation/python3-deprecation.SlackBuild18
1 files changed, 1 insertions, 17 deletions
diff --git a/python/python3-deprecation/python3-deprecation.SlackBuild b/python/python3-deprecation/python3-deprecation.SlackBuild
index 27db64adfd26..48c8f3da2da7 100644
--- a/python/python3-deprecation/python3-deprecation.SlackBuild
+++ b/python/python3-deprecation/python3-deprecation.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for python3-deprecation
# Copyright 2022 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,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