From 2e8e25dc69257c6773f9c7ce50e0c5e2ce31428e Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Fri, 22 Sep 2023 17:48:42 -0700 Subject: python/python3-deprecation: Correct email and clean up SlackBuild Signed-off-by: Willy Sudiarto Raharjo --- .../python3-deprecation/python3-deprecation.SlackBuild | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'python/python3-deprecation/python3-deprecation.SlackBuild') diff --git a/python/python3-deprecation/python3-deprecation.SlackBuild b/python/python3-deprecation/python3-deprecation.SlackBuild index 27db64adfd..48c8f3da2d 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 +# Copyright 2023 Jeremy Hansen # 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 -- cgit v1.2.3