summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 03:28:26 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 03:28:26 +0000
commitb6e8e3697f30befee0b607eb0506c017d87903b0 (patch)
treeb9bd580e2d27f4dca1c80e915a4e38073ed3bfb4
parentf4c23aef6f699296dd01fb803e9efbd0d8cc213d (diff)
downloadpackages-b6e8e3697f30befee0b607eb0506c017d87903b0.tar.gz
packages-b6e8e3697f30befee0b607eb0506c017d87903b0.tar.bz2
packages-b6e8e3697f30befee0b607eb0506c017d87903b0.tar.xz
packages-b6e8e3697f30befee0b607eb0506c017d87903b0.zip
user/py3-decorator: New package
-rw-r--r--user/py3-decorator/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/py3-decorator/APKBUILD b/user/py3-decorator/APKBUILD
new file mode 100644
index 000000000..ac00bece2
--- /dev/null
+++ b/user/py3-decorator/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-decorator
+_pkgname=decorator
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=4.4.2
+pkgrel=0
+pkgdesc="Python decorators for humans"
+url="https://pypi.org/project/decorator/"
+arch="noarch"
+license="BSD-2-Clause"
+depends="python3"
+makedepends=""
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/decorator-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="c068efd4e70764ac447b772c9c29625c2180dad256b2b4e46a50a8479fc1d7de09b114c2ba11bb37dd58774ed9460d2e0ea9fa76061833a2d3c2676ac91a0db1 decorator-4.4.2.tar.gz"