Browse Source
python/python3-arrow: Update dependency.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/299/head
Isaac Yu
4 months ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
3 additions and
17 deletions
-
python/python3-arrow/python3-arrow.SlackBuild
-
python/python3-arrow/python3-arrow.info
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
# Slackware build script for python3-arrow |
|
|
|
|
|
|
|
# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> |
|
|
|
# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> |
|
|
|
# All rights reserved. |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
@ -51,20 +51,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 |
|
|
@ -87,7 +73,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr |
|
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |
|
|
|
|
|
|
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp -a CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp -a CHANGELOG.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
|
|
|
|
mkdir -p $PKG/install |
|
|
|
|
|
@ -5,6 +5,6 @@ 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-build python3-dateutil python3-types-python-dateutil" |
|
|
|
REQUIRES="python3-dateutil python3-types-python-dateutil" |
|
|
|
MAINTAINER="Isaac Yu" |
|
|
|
EMAIL="isaacyu@protonmail.com" |