# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=py3-whatever _pkgname=whatever pkgver=0.5 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="python3-dev" source="https://github.com/Suor/whatever/archive/$pkgver/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 -m pytest . } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="eb3f0b9bc63197c1bfdd135a46a597e2f5d6131900910f266c984c1afd901d6cbc8c8ee62397e9af8393bf34beff068dc0007e8b016e70f275e019420f18f6e1 whatever-0.5.tar.gz"