aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytools/APKBUILD
blob: a376dc773e03d32e0c682bfafdfaf2bbf213ebe0 (plain) (blame)
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: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-pytools
pkgver=2021.1
pkgrel=0
pkgdesc="Collection of tools for Python3"
url="https://github.com/inducer/pytools"
# mips blocked due to py3-numpy
arch="noarch !mips !mips64"
license="MIT"
depends="python3 py3-decorator py3-appdirs py3-six py3-numpy"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/inducer/pytools/archive/v$pkgver.tar.gz"
builddir="$srcdir/pytools-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m pytest
}

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

sha512sums="751249925dd55ed70406953a8241e61192606b57d06a0cb74b9c50299ec81bea5e150f35ffcc302fb6f06f898f360c0f4d1f49a17048ce9cbdec5ad525326b5c  py3-pytools-2021.1.tar.gz"