aboutsummaryrefslogtreecommitdiff
path: root/python/python3-arrow/python3-arrow.SlackBuild
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-01-15 00:26:58 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-22 09:08:56 +0700
commit3ee3106b67ab604e8368a27e69bf58955089b4bf (patch)
tree2e8ca2d70268550252aa4bb80717737046946392 /python/python3-arrow/python3-arrow.SlackBuild
parent3e0d106b0049dbf1142aef397a93921484c13e53 (diff)
python/python3-arrow: Update for 1.3.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-arrow/python3-arrow.SlackBuild')
-rw-r--r--python/python3-arrow/python3-arrow.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/python3-arrow/python3-arrow.SlackBuild b/python/python3-arrow/python3-arrow.SlackBuild
index f57428b6e4..3ccd2eb8cd 100644
--- a/python/python3-arrow/python3-arrow.SlackBuild
+++ b/python/python3-arrow/python3-arrow.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-arrow
-# Copyright 2022 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-arrow
-VERSION=${VERSION:-1.2.3}
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,7 +80,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true