diff options
author | isaackwy | 2024-01-15 09:26:58 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2024-01-22 03:08:56 +0100 |
commit | 3ee3106b67ab604e8368a27e69bf58955089b4bf (patch) | |
tree | 2e8ca2d70268550252aa4bb80717737046946392 /python/python3-arrow | |
parent | 3e0d106b0049dbf1142aef397a93921484c13e53 (diff) | |
download | slackbuilds-3ee3106b67ab604e8368a27e69bf58955089b4bf.tar.gz |
python/python3-arrow: Update for 1.3.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-arrow')
-rw-r--r-- | python/python3-arrow/python3-arrow.SlackBuild | 7 | ||||
-rw-r--r-- | python/python3-arrow/python3-arrow.info | 8 |
2 files changed, 8 insertions, 7 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 diff --git a/python/python3-arrow/python3-arrow.info b/python/python3-arrow/python3-arrow.info index 5b9ae7dc95..33037c0c1a 100644 --- a/python/python3-arrow/python3-arrow.info +++ b/python/python3-arrow/python3-arrow.info @@ -1,10 +1,10 @@ PRGNAM="python3-arrow" -VERSION="1.2.3" +VERSION="1.3.0" HOMEPAGE="https://arrow.readthedocs.io/" -DOWNLOAD="https://github.com/crsmithdev/arrow/archive/1.2.3/arrow-1.2.3.tar.gz" -MD5SUM="a699a808d8bda784a98b8fb03f38da17" +DOWNLOAD="https://github.com/crsmithdev/arrow/archive/1.3.0/arrow-1.3.0.tar.gz" +MD5SUM="0d0d1d9d008ddbfd94ca2db358bb0f7e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-dateutil" +REQUIRES="python3-build python3-dateutil python3-types-python-dateutil" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |