summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db093914dfa31297412cc14a4e0103df22fecdb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Alex Henrie <alexhenrie24@gmail.com>
_name=hilbertcurve
pkgname=python-$_name
pkgver=2.0.5
pkgrel=1
pkgdesc='Converts between one-dimensional distance along a Hilbert curve and n-dimensional points'
arch=('any')
url='https://github.com/galtay/hilbertcurve'
license=('MIT')
depends=('python-numpy')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('6a7703d9a2f1fe748c86d86908bf183e7d139b973645e4b2526e10b34e75796d')

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

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