aboutsummaryrefslogtreecommitdiff
path: root/python/numpydoc/numpydoc.SlackBuild
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-05-27 00:16:23 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-28 12:47:51 +0700
commit482b1e6b1fa49145861e7aaad9b78ff6f4d4d3c5 (patch)
tree4cff415c6fd448242556d737c82f01adeb0a177d /python/numpydoc/numpydoc.SlackBuild
parent4f47fc53d7e8ba7496a8cd6b730526b38c76c9f4 (diff)
python/numpydoc: Downgrade to 1.6.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/numpydoc/numpydoc.SlackBuild')
-rw-r--r--python/numpydoc/numpydoc.SlackBuild20
1 files changed, 2 insertions, 18 deletions
diff --git a/python/numpydoc/numpydoc.SlackBuild b/python/numpydoc/numpydoc.SlackBuild
index fcc924288eb2..fa510cd48c30 100644
--- a/python/numpydoc/numpydoc.SlackBuild
+++ b/python/numpydoc/numpydoc.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for numpydoc
# Copyright 2015-2024 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=numpydoc
-VERSION=${VERSION:-1.7.0}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,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
@@ -50,20 +48,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