Files
2025-11-25 08:33:46 -06:00

53 lines
1.9 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
PortGroup github 1.0
github.setup geopy geopy 2.4.1
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
name py-geopy
categories-append devel
platforms {darwin any}
supported_archs noarch
license MIT
maintainers nomaintainer
description Geocoding library for Python.
long_description \
geopy makes it easy for developers to locate the coordinates of addresses, \
cities, countries, and landmarks across the globe using third-party \
geocoders and other sources of data. \
geopy includes geocoder classes the OpenStreetMap Nominatim, ESRI ArcGIS, \
Google Geocoding API (V3), Baidu Maps, Bing Maps API, Yandex, IGN France, \
GeoNames, Mapzen Search, OpenMapQuest, PickPoint, What3Words, OpenCage, \
SmartyStreets, and GeocodeFarm geocoder services. The various geocoder \
classes are located in geopy.geocoders.
checksums rmd160 8413a6688d03816a1a0cd56bf5670a93db5573b2 \
sha256 6ea1da9b6461fed1f26da996a0686e8d2c2125ae411280766342f01fc50e4184 \
size 293406
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-geographiclib \
port:py${python.version}-tz
depends_test-append \
port:py${python.version}-mock
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
CONTRIBUTING.md AUTHORS ${destroot}${docdir}
}
}