mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/xarray: Updated for version 0.14.1.
This also removes support for Python 2 as well since the Python 2 SlackBuild for pandas is too old and Python is now EOL. Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
cd2758e8ed
commit
7f7159ada3
2 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for xarray
|
# Slackware build script for xarray
|
||||||
|
|
||||||
# Copyright 2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
# Copyright 2018-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=xarray
|
PRGNAM=xarray
|
||||||
VERSION=${VERSION:-0.11.0}
|
VERSION=${VERSION:-0.14.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
python3 setup.py install --root=$PKG
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="xarray"
|
PRGNAM="xarray"
|
||||||
VERSION="0.11.0"
|
VERSION="0.14.1"
|
||||||
HOMEPAGE="http://xarray.pydata.org"
|
HOMEPAGE="http://xarray.pydata.org"
|
||||||
DOWNLOAD="https://github.com/pydata/xarray/archive/v0.11.0/xarray-0.11.0.tar.gz"
|
DOWNLOAD="https://github.com/pydata/xarray/archive/v0.14.1/xarray-0.14.1.tar.gz"
|
||||||
MD5SUM="f4f71bfa742b9610155ff86c39dc62a2"
|
MD5SUM="0e7c74ae526d08f41f4eb90bb341d7ad"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="pandas"
|
REQUIRES="python3-pandas"
|
||||||
MAINTAINER="Benjamin Trigona-Harany"
|
MAINTAINER="Benjamin Trigona-Harany"
|
||||||
EMAIL="slackbuilds@jaxartes.net"
|
EMAIL="slackbuilds@jaxartes.net"
|
||||||
|
|
Loading…
Reference in a new issue