mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 00:42:03 +01:00
33 lines
839 B
Plaintext
33 lines
839 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=py3-funcy
|
|
_pkgname=funcy
|
|
pkgver=1.18
|
|
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"
|
|
options="!check" # dep py3-whatever unavailable
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest .
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
5e53b90e3d5667cacd7c85727ae43f12608a11a8bc076982a1fd2fd41505110bfeeca2a93e48623fecfd41d2dd889fd8de06cff6e27774e06f9dda32f9a6f6d7 py3-funcy-1.18.tar.gz
|
|
"
|