aboutsummaryrefslogtreecommitdiff
path: root/gis/geopy/geopy.SlackBuild
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-07-05 23:31:13 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-07 10:39:47 +0700
commit7091d10b9a38f1f1807fcfcd5b286b5ed387bd3a (patch)
treea2a2cf156a8c244efcf8ab8353176e8fcb345f57 /gis/geopy/geopy.SlackBuild
parentc59303b9325ae3d38b5144cad4a9fe9bf1541e4a (diff)
gis/geopy: Update for 2.4.1 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/geopy/geopy.SlackBuild')
-rw-r--r--gis/geopy/geopy.SlackBuild20
1 files changed, 2 insertions, 18 deletions
diff --git a/gis/geopy/geopy.SlackBuild b/gis/geopy/geopy.SlackBuild
index 84a41be348..c0c8512151 100644
--- a/gis/geopy/geopy.SlackBuild
+++ b/gis/geopy/geopy.SlackBuild
@@ -5,6 +5,7 @@
# Written by Dominik Drobek <dominik.drobek (at) o2.pl>
# Formerly maintained by Francisco Sokol <chico.sokol@gmail.com>
# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=geopy
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +41,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
@@ -52,20 +50,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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