diff options
author | ArTourter <artourter@gmail.com> | 2023-10-21 01:55:51 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-10-21 17:20:14 +0700 |
commit | bab000b0f45e95a932f11ce5353266dc484b815b (patch) | |
tree | 67ae0f454633a9590167e581cb0cbdafe1d2b3ae /gis | |
parent | fac047ea05a92095328e2a4d8cdd83bbe9a089e6 (diff) |
gis/python3-cftime: Updated for version 1.6.3.
Signed-off-by: ArTourter <artourter@gmail.com>
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r-- | gis/python3-cftime/python3-cftime.SlackBuild | 29 | ||||
-rw-r--r-- | gis/python3-cftime/python3-cftime.info | 8 |
2 files changed, 12 insertions, 25 deletions
diff --git a/gis/python3-cftime/python3-cftime.SlackBuild b/gis/python3-cftime/python3-cftime.SlackBuild index e687370df50e..91ccad596174 100644 --- a/gis/python3-cftime/python3-cftime.SlackBuild +++ b/gis/python3-cftime/python3-cftime.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-cftime -# Copyright 2022 - Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2022-2023 - Gregory J. L. Tourte <artourter@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-cftime -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-1.6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,20 +50,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 @@ -74,12 +60,13 @@ tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz cd $SRCNAM-$SRCVER chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + + +sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml -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/gis/python3-cftime/python3-cftime.info b/gis/python3-cftime/python3-cftime.info index e34a4c6e828e..81a8bbf6f142 100644 --- a/gis/python3-cftime/python3-cftime.info +++ b/gis/python3-cftime/python3-cftime.info @@ -1,10 +1,10 @@ PRGNAM="python3-cftime" -VERSION="1.6.2" +VERSION="1.6.3" HOMEPAGE="https://unidata.github.io/cftime/" -DOWNLOAD="https://github.com/Unidata/cftime/archive/v1.6.2rel/cftime-1.6.2rel.tar.gz" -MD5SUM="721fb4a113aabbac3d40d5cd30e3db90" +DOWNLOAD="https://github.com/Unidata/cftime/archive/v1.6.3rel/cftime-1.6.3rel.tar.gz" +MD5SUM="2e77ad0b187fbdcd48fd1f39eecfa04a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-numpy" +REQUIRES="python3-numpy python3-wheel python3-build" MAINTAINER="ArTourter" EMAIL="artourter@gmail.com" |