2022-03-09 09:20:24 +00:00

31 lines
772 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_pkgname=geographiclib
pkgname="py3-$_pkgname"
pkgver=1.52
pkgrel=0
pkgdesc="Geodesic routines from GeographicLib"
url="https://geographiclib.sourceforge.io/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools_scm"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --root "$pkgdir"
}
sha512sums="
c6c41a6c571f2028c24c0905155d0ea443e0c250963a89ae62237664d02df8b22977c2b6b230553ecbad01b61075a2f4874a6dcd86a041fd871eea3e9801d533 geographiclib-1.52.tar.gz
"