aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytools/APKBUILD
blob: eac6076bbb4570ae69916eaad882b96d94e6dfd7 (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.2.2
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="f3d3a72071dfd979daf95bb05cb7a288f294a495e6072cb5a937e7369ac5c5661b2ec1f275b435617aa787d0a18da146206410b6f4324add8d8e74c8861bc7a1  py3-pytools-2021.2.2.tar.gz"