aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-funcy/APKBUILD
blob: c6b6832dfd2db74267acd6d52acb027b41d67d74 (plain) (blame)
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
26
27
28
29
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-funcy
_pkgname=funcy
pkgver=1.12
pkgrel=0
pkgdesc="A fancy and practical functional tools"
url="https://github.com/Suor/funcy"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
checkdepends="py3-pytest py3-whatever"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/Suor/funcy/archive/$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="719ba558fea175a97ebe24ed7a8e9026638211ccb76678538f6fb9d879b443e9bf8eea1603105ab5d42ba9480c78a6792cde6b69d491d0d2fcda4edbe6687f5c  py3-funcy-1.12.tar.gz"