aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-snuggs/APKBUILD
blob: 3e5d2242245e870014795836d879fee79632e90d (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
# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=py3-snuggs
_pkgname=snuggs
pkgver=1.4.7
pkgrel=1
pkgdesc="Snuggs are s-expressions for Numpy"
url="https://pypi.org/project/snuggs/"
arch="noarch"
license="MIT"
depends="python3 py3-numpy py3-parsing"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-hypothesis"
source="$_pkgname-$pkgver.tar.gz::https://github.com/mapbox/snuggs/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=2
}

sha512sums="c1f40e521d1b0cf15075b22b04000c74ecbd0522cdd820b8c159aac812924d877349b3f3bca93b09eed5b025a34c26665a41c7a52a8145419558b115cf8ef361  snuggs-1.4.7.tar.gz"