summaryrefslogtreecommitdiff
path: root/gis/pyproj
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2019-11-10 09:41:30 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-11-23 16:01:55 +0700
commit7b85f5cb37ebb2e85f030ca2158d97756db872ab (patch)
tree65de2e6d6e11a45c0cc71d979a523a0d0ea50510 /gis/pyproj
parent01f3088cdc7aea790fbf58679e6275fb34491114 (diff)
downloadslackbuilds-7b85f5cb37ebb2e85f030ca2158d97756db872ab.tar.gz
gis/pyproj: Updated for version 2.4.1 and removed Python 2 support.
Diffstat (limited to 'gis/pyproj')
-rw-r--r--gis/pyproj/pyproj.SlackBuild5
-rw-r--r--gis/pyproj/pyproj.info6
2 files changed, 5 insertions, 6 deletions
diff --git a/gis/pyproj/pyproj.SlackBuild b/gis/pyproj/pyproj.SlackBuild
index 7d8a88df92..d0f5ca8945 100644
--- a/gis/pyproj/pyproj.SlackBuild
+++ b/gis/pyproj/pyproj.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyproj
-VERSION=${VERSION:-1.9.6}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -70,14 +70,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python3 setup.py install --root=$PKG
-python2 setup.py install --root=$PKG
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- Changelog LICENSE_proj4 LICENSE_proj4 README.md \
+ LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/pyproj/pyproj.info b/gis/pyproj/pyproj.info
index fb6f50ca8d..cb08d5e863 100644
--- a/gis/pyproj/pyproj.info
+++ b/gis/pyproj/pyproj.info
@@ -1,8 +1,8 @@
PRGNAM="pyproj"
-VERSION="1.9.6"
+VERSION="2.4.1"
HOMEPAGE="https://github.com/jswhit/pyproj"
-DOWNLOAD="https://github.com/jswhit/pyproj/archive/v1.9.6rel/pyproj-1.9.6rel.tar.gz"
-MD5SUM="f1a4190278f9b1b3e21aad2000e39e48"
+DOWNLOAD="https://github.com/jswhit/pyproj/archive/v2.4.1rel/pyproj-2.4.1rel.tar.gz"
+MD5SUM="de207bbbe8838f3cf6abc9d1956cd955"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="proj python3-Cython"