summaryrefslogtreecommitdiffstats
path: root/gis
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-04-17 21:14:59 +0200
committer Robby Workman <rworkman@slackbuilds.org>2021-04-18 02:00:28 -0500
commit167a6ec2f5c40de569e0f2525a920d409a35836e (patch)
tree6c91b2986088c00575b7b4d0fd631d469eead675 /gis
parenta892fe27bac3962d792436fba5365440ae652424 (diff)
downloadslackbuilds-167a6ec2f5c40de569e0f2525a920d409a35836e.tar.gz
slackbuilds-167a6ec2f5c40de569e0f2525a920d409a35836e.tar.xz
gis/geographiclib-python: Removed Python 2 support.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis')
-rw-r--r--gis/geographiclib-python/geographiclib-python.SlackBuild5
-rw-r--r--gis/geographiclib-python/geographiclib-python.info2
2 files changed, 3 insertions, 4 deletions
diff --git a/gis/geographiclib-python/geographiclib-python.SlackBuild b/gis/geographiclib-python/geographiclib-python.SlackBuild
index 929ececd45..d88ecd37f1 100644
--- a/gis/geographiclib-python/geographiclib-python.SlackBuild
+++ b/gis/geographiclib-python/geographiclib-python.SlackBuild
@@ -2,7 +2,7 @@
#
# SlackBuild for geographiclib-python
#
-# Copyright 2016-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2016-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -23,7 +23,7 @@
PRGNAM=geographiclib-python
VERSION=${VERSION:-1.50}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
SRCNAM=geographiclib
@@ -72,7 +72,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python2 setup.py install --root=$PKG
python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/gis/geographiclib-python/geographiclib-python.info b/gis/geographiclib-python/geographiclib-python.info
index 3ea0bec6a6..0ad4f5aa5f 100644
--- a/gis/geographiclib-python/geographiclib-python.info
+++ b/gis/geographiclib-python/geographiclib-python.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/g/geographiclib/geograp
MD5SUM="06cb02d3e8d84383f7d040c2df13e8ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"