mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
40 lines
872 B
Text
40 lines
872 B
Text
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
_pkgname=geopy
|
|
pkgname="py3-$_pkgname"
|
|
pkgver=2.3.0
|
|
pkgrel=0
|
|
pkgdesc="Geocoding library"
|
|
url="https://geopy.readthedocs.io/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-geographiclib
|
|
"
|
|
makedepends="py3-setuptools_scm"
|
|
checkdepends="
|
|
py3-async_generator
|
|
py3-aiohttp
|
|
py3-pytest
|
|
py3-pytest-aiohttp
|
|
py3-pytest-asyncio
|
|
py3-sphinx
|
|
"
|
|
source="https://files.pythonhosted.org/packages/source/g/geopy/geopy-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH=build/lib pytest -v --ignore='test/geocoders'
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root "$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
bb9409dddd03f609335cdf1d3f2925e179d51ae3697b399404052d7dd1449e48a27ae6c142bdc0b07c45c309753111a213d9aac378bb3d193be8b6230df031a0 geopy-2.3.0.tar.gz
|
|
"
|