aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytools/APKBUILD
blob: c22ee2b3cb7b8cbc49027a269ade1284c5b7664e (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-pytools
pkgver=2020.1
pkgrel=0
pkgdesc="Collection of tools for Python3"
options="!check" # Tests required unpackaged dependencies not specified in requires.txt
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"
source="$pkgname-$pkgver.tar.gz::https://github.com/inducer/pytools/archive/v$pkgver.tar.gz"
builddir="$srcdir/pytools-$pkgver"

build() {
	python3 setup.py build
}

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

sha512sums="f11c51ea1436e5c2c7201c1910bb593dac42aa8186d509deb373772f5043a5d11837b40dca41494d9c7f8eda1b894e92aca0543441028a2febbcb5e0a71e3742  py3-pytools-2020.1.tar.gz"