aboutsummaryrefslogtreecommitdiff
path: root/python/python3-arrow/python3-arrow.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-arrow/python3-arrow.SlackBuild')
-rw-r--r--python/python3-arrow/python3-arrow.SlackBuild20
1 files changed, 3 insertions, 17 deletions
diff --git a/python/python3-arrow/python3-arrow.SlackBuild b/python/python3-arrow/python3-arrow.SlackBuild
index 3ccd2eb8cd..8f5935382f 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-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
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-arrow
-VERSION=${VERSION:-1.3.0}
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -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