From 7091d10b9a38f1f1807fcfcd5b286b5ed387bd3a Mon Sep 17 00:00:00 2001 From: isaackwy Date: Fri, 5 Jul 2024 23:31:13 -0700 Subject: [PATCH] gis/geopy: Update for 2.4.1 (+new maintainer) Signed-off-by: Willy Sudiarto Raharjo --- gis/geopy/README | 2 +- gis/geopy/geopy.SlackBuild | 20 ++------------------ gis/geopy/geopy.info | 12 ++++++------ 3 files changed, 9 insertions(+), 25 deletions(-) diff --git a/gis/geopy/README b/gis/geopy/README index 3464f8c4a4..7375a1ad0f 100644 --- a/gis/geopy/README +++ b/gis/geopy/README @@ -5,5 +5,5 @@ third-party geocoders and other data sources. geopy currently includes support for several geocoders, including OpenStreetMap Nominatim, ESRI ArcGIS, Google Geocoding API and more. -python/pytz and python/python3-aiohttp are optional dependencies that +pytz and python3-aiohttp are optional dependencies that will be used if available. 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 # Formerly maintained by Francisco Sokol # Copyright 2013-2021 Benjamin Trigona-Harany +# Copyright 2024 Isaac Yu # 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 diff --git a/gis/geopy/geopy.info b/gis/geopy/geopy.info index 65f35687c3..5dc7e21fa0 100644 --- a/gis/geopy/geopy.info +++ b/gis/geopy/geopy.info @@ -1,10 +1,10 @@ PRGNAM="geopy" -VERSION="2.1.0" +VERSION="2.4.1" HOMEPAGE="https://github.com/geopy/geopy" -DOWNLOAD="https://github.com/geopy/geopy/archive/2.1.0/geopy-2.1.0.tar.gz" -MD5SUM="0573cc833b3566fd4c06f10f1646a252" +DOWNLOAD="https://github.com/geopy/geopy/archive/2.4.1/geopy-2.4.1.tar.gz" +MD5SUM="bc7a4894d2ef02dcf05b3704ed3328f2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" +REQUIRES="geographiclib-python" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com"