aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytools/APKBUILD
blob: 7da29b3e573cf37cd3c3eaf9492be7f9d5d1c756 (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.12
pkgrel=1
pkgdesc="Collection of tools for Python3"
url="https://github.com/inducer/pytools"
arch="noarch"
license="MIT"
depends="python3 py3-decorator py3-appdirs py3-numpy py3-typing-extensions"
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="
141239c13cb6b0908bff1c85db681270e95137d4e2aa59b09b76be532777e64bc823b0571a2958631b8893209cac8214c0ace6889e06e5c1fb990bb1c5115a8b  py3-pytools-2022.1.12.tar.gz
"