python/python3-arrow: Update for 1.3.0

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-01-15 00:26:58 -08:00 committed by Willy Sudiarto Raharjo
parent 3e0d106b00
commit 3ee3106b67
2 changed files with 8 additions and 7 deletions

View file

@ -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

View file

@ -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"