aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-09-22 17:57:46 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 11:00:01 +0700
commit9f9f9c0cbc2a63d84094e9ffb2540268ee5724d0 (patch)
treefff2c50d9b9f2dd371a216671a0b26c16ed300ab /python
parent0e60fb5ab598ef6e417622ea3d3b7ba184a50de1 (diff)
downloadslackbuilds-9f9f9c0cbc2a63d84094e9ffb2540268ee5724d0.tar.xz
python/python3-joblib: Correct email and clean up SlackBuild
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-joblib/python3-joblib.SlackBuild21
-rw-r--r--python/python3-joblib/python3-joblib.info2
2 files changed, 3 insertions, 20 deletions
diff --git a/python/python3-joblib/python3-joblib.SlackBuild b/python/python3-joblib/python3-joblib.SlackBuild
index edfcfd586190..4b16711657df 100644
--- a/python/python3-joblib/python3-joblib.SlackBuild
+++ b/python/python3-joblib/python3-joblib.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2019-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# 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
@@ -26,13 +27,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-joblib
+SRCNAM=joblib
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=joblib
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -41,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
@@ -53,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
diff --git a/python/python3-joblib/python3-joblib.info b/python/python3-joblib/python3-joblib.info
index fd3b35313692..cba8dc94cf62 100644
--- a/python/python3-joblib/python3-joblib.info
+++ b/python/python3-joblib/python3-joblib.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBp@gmail.com"
+EMAIL="jebrhansen+SBo@gmail.com"