mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
31 lines
776 B
Plaintext
31 lines
776 B
Plaintext
# 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
|
|
"
|