aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-07-05 23:27:11 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-07 10:39:44 +0700
commitc59303b9325ae3d38b5144cad4a9fe9bf1541e4a (patch)
tree5477776b3c7768dca3ecb96d6ec04974a4905a7c
parentfeb947ff23fd7afb059bff5db9371c8077806526 (diff)
gis/geographiclib-python: Update for 2.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--gis/geographiclib-python/geographiclib-python.SlackBuild24
-rw-r--r--gis/geographiclib-python/geographiclib-python.info12
2 files changed, 9 insertions, 27 deletions
diff --git a/gis/geographiclib-python/geographiclib-python.SlackBuild b/gis/geographiclib-python/geographiclib-python.SlackBuild
index 1f725b3a7669..a36544db715b 100644
--- a/gis/geographiclib-python/geographiclib-python.SlackBuild
+++ b/gis/geographiclib-python/geographiclib-python.SlackBuild
@@ -3,6 +3,7 @@
# SlackBuild for geographiclib-python
#
# Copyright 2016-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -24,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=geographiclib-python
-VERSION=${VERSION:-1.50}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-2.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -51,22 +49,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-JOBS=${JOBS:-1}
-
-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
diff --git a/gis/geographiclib-python/geographiclib-python.info b/gis/geographiclib-python/geographiclib-python.info
index 0ad4f5aa5f1b..4927d239b35d 100644
--- a/gis/geographiclib-python/geographiclib-python.info
+++ b/gis/geographiclib-python/geographiclib-python.info
@@ -1,10 +1,10 @@
PRGNAM="geographiclib-python"
-VERSION="1.50"
-HOMEPAGE="http://geographiclib.sourceforge.net/1.50/python/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/g/geographiclib/geographiclib-1.50.tar.gz"
-MD5SUM="06cb02d3e8d84383f7d040c2df13e8ea"
+VERSION="2.0"
+HOMEPAGE="https://geographiclib.sourceforge.io/Python/doc/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/g/geographiclib/geographiclib-2.0.tar.gz"
+MD5SUM="bfdd8a1081acda1ecec6c0140704768f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"