Commit 2c9b8c77 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

testing/py3-whatever: new aport

https://github.com/Suor/whatever
Easy anonymous functions by partial application of operators
parent a0ff250b
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-whatever
_pkgname=whatever
pkgver=0.5
pkgrel=0
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment