1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/community/py3-whatever/APKBUILD
2021-04-05 18:18:43 +00:00

29 lines
801 B
Text

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-whatever
_pkgname=whatever
pkgver=0.6
pkgrel=1
pkgdesc="Easy anonymous functions by partial application of operators"
url="https://github.com/Suor/whatever"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
checkdepends="py3-pytest"
makedepends="py3-setuptools"
source="https://github.com/Suor/whatever/archive/$pkgver/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest .
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="f982100f0d6a8bf4c30e452a083c75f4cb2bca07e57e40ba4fd66baca752f039aea9519ffb97b3d43708df0ff5e981d0c4d03773f225106aa2f43e7770ee1975 whatever-0.6.tar.gz"