From 7fc81417bdaf8b58106f98aece25e6a4a5622321 Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Fri, 22 Sep 2023 19:11:30 -0700 Subject: python/python3-slugify: Correct email and clean up SlackBuild Signed-off-by: Willy Sudiarto Raharjo --- python/python3-slugify/python3-slugify.SlackBuild | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'python/python3-slugify/python3-slugify.SlackBuild') diff --git a/python/python3-slugify/python3-slugify.SlackBuild b/python/python3-slugify/python3-slugify.SlackBuild index ac2730abe0..d0a34cef52 100644 --- a/python/python3-slugify/python3-slugify.SlackBuild +++ b/python/python3-slugify/python3-slugify.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for python3-slugify # Copyright 2023 Isaac Yu +# Copyright 2023 Jeremy Hansen # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,13 +26,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-slugify +SRCNAM=python-slugify VERSION=${VERSION:-8.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=python-slugify - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -49,20 +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" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG -- cgit v1.2.3