mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
18 lines
494 B
Plaintext
18 lines
494 B
Plaintext
# description: Geocoding library for Python
|
|
# hompepage: https://github.com/geopy/geopy
|
|
# depends: python3-geographiclib
|
|
|
|
name=python3-geopy
|
|
nm=geopy
|
|
version=2.4.1
|
|
release=1
|
|
source="$name-$version.tar.gz::https://github.com/geopy/geopy/archive/$version.tar.gz"
|
|
|
|
build() {
|
|
cd $nm-$version
|
|
python3 -m build --wheel --no-isolation
|
|
python3 -m installer --destdir=$PKG dist/*.whl
|
|
install -vDm 644 AUTHORS -t $PKG/usr/share/doc/$name/
|
|
install -vDm 644 README.rst -t $PKG/usr/share/doc/$name/
|
|
}
|