aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-jaraco-functools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-jaraco-functools/APKBUILD')
-rw-r--r--community/py3-jaraco-functools/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/py3-jaraco-functools/APKBUILD b/community/py3-jaraco-functools/APKBUILD
new file mode 100644
index 0000000000..f5730b81d2
--- /dev/null
+++ b/community/py3-jaraco-functools/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=py3-jaraco-functools
+pkgver=3.3.0
+pkgrel=0
+pkgdesc="Functools like those found in stdlib"
+url="https://github.com/jaraco/jaraco.functools"
+arch="noarch"
+license="MIT"
+depends="
+ py3-jaraco-classes
+ python3
+ "
+makedepends="
+ py3-setuptools
+ py3-setuptools_scm
+ py3-toml
+ "
+checkdepends="py3-pytest"
+source="https://pypi.python.org/packages/source/j/jaraco.functools/jaraco.functools-$pkgver.tar.gz"
+builddir="$srcdir/jaraco.functools-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="fc7c5a11a3411692066f4437d76ace7e8a00af2152256ea9f730254b577e74163342298d5b33d472c744cbad5dd316b56345d05aa93ef6f82bc92d6aadb2f2ec jaraco.functools-3.3.0.tar.gz"