aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytools/APKBUILD
blob: 57e4d382e3a29a232f4c748beda385e7d885d4bc (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
30
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-pytools
pkgver=2022.1.2
pkgrel=0
pkgdesc="Collection of tools for Python3"
url="https://github.com/inducer/pytools"
arch="noarch"
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="
b30eb9d6ab006e920b57aa2bb14fd0f2f86a8fe34cbbf2b85d9529fbf45cb96271d3dd6e18e8d9be79e95270f267bdeb77d4d9c39cc158b12562e9183b0ab1c3  py3-pytools-2022.1.2.tar.gz
"