summaryrefslogtreecommitdiffstats
path: root/python/python3-multidict/python3-multidict.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-multidict/python3-multidict.SlackBuild')
-rw-r--r--python/python3-multidict/python3-multidict.SlackBuild22
1 files changed, 3 insertions, 19 deletions
diff --git a/python/python3-multidict/python3-multidict.SlackBuild b/python/python3-multidict/python3-multidict.SlackBuild
index ba989c4d06..5de03caeb7 100644
--- a/python/python3-multidict/python3-multidict.SlackBuild
+++ b/python/python3-multidict/python3-multidict.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/bash
# Slackware build script for python3-multidict
-# Copyright 2019-2022 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2019-2022 Isaac Yu <isaacyu@protonmail.com>
+# Maintained 2023 by Jay Lanagan (j@lngn.net), Detroit, MI, USA.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-multidict
-VERSION=${VERSION:-6.0.2}
+VERSION=${VERSION:-6.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,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
@@ -51,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