summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64f6c749d07a6fa31d1547798dc566d0c0a73c0d (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
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Dean Galvin <deangalvin3@gmail.com>

pkgname=python-vincenty
_pkg="${pkgname#python-}"
pkgver=0.1.4
pkgrel=2
pkgdesc="Calculates geographical distance between 2 points with extreme accuracy"
url="https://github.com/maurycyp/vincenty"
license=('Unlicense')
arch=('any')
depends=('python')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/v/$_pkg/$_pkg-$pkgver.tar.gz")
sha256sums=('eaa2f2de835f369cbd71c1a01ccd4e0d412da0f4aeef7c9692242b9ce182785a')

build() {
	cd "$_pkg-$pkgver"
	python -m build --wheel --no-isolation
}

package() {
	cd "$_pkg-$pkgver"
	PYTHONHASHSEED=0 python -m installer --destdir="$pkgdir/" dist/*.whl
}