gis/geographiclib-python: Update for 2.0 (+new maintainer)

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-07-05 23:27:11 -07:00 committed by Willy Sudiarto Raharjo
parent feb947ff23
commit c59303b932
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 27 deletions

View file

@ -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

View file

@ -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"