blob: 7e82cb81b08d101c0d90e6ac40b3ce8ba366ba9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_pkgname=geopy
pkgname="py3-$_pkgname"
pkgver=2.2.0
pkgrel=1
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="
26f33680d23445aecfa9cb1546007c74332adbf6d7510575941ef948391b8530c45eba28088d9ae781a8af63de8fa57f6f20e46be9d87a9621a242df83a51ff9 geopy-2.2.0.tar.gz
"
|