summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 02:44:34 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 02:44:34 +0000
commitf4c23aef6f699296dd01fb803e9efbd0d8cc213d (patch)
tree21350e197ef49435b96b8a06c31f89239a820bc7 /user
parent1b2316c5a8774c056099a5cb85dbafcf420259d2 (diff)
downloadpackages-f4c23aef6f699296dd01fb803e9efbd0d8cc213d.tar.gz
packages-f4c23aef6f699296dd01fb803e9efbd0d8cc213d.tar.bz2
packages-f4c23aef6f699296dd01fb803e9efbd0d8cc213d.tar.xz
packages-f4c23aef6f699296dd01fb803e9efbd0d8cc213d.zip
user/py3-invoke: New package
Diffstat (limited to 'user')
-rw-r--r--user/py3-invoke/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/py3-invoke/APKBUILD b/user/py3-invoke/APKBUILD
new file mode 100644
index 000000000..df5373408
--- /dev/null
+++ b/user/py3-invoke/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-invoke
+_pkgname=invoke
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=1.4.1
+pkgrel=0
+pkgdesc="Pythonic task execution"
+url="https://www.pyinvoke.org/"
+arch="noarch"
+options="!check" # Terribly broken.
+license="Apache-2.0"
+depends="python3"
+makedepends=""
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/invoke-$pkgver"
+
+prepare() {
+ default_prepare
+ rm -r "$builddir"/invoke/vendor/yaml2
+}
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="9076a1e643e3496b180d486de48efe599eddafc3e8ac32ab5cfcb27c5aabfd4ea360c0e2e59f96aceb65f3453b5ff2c228bf7d76635fe62854fe092b1ebdf3b2 invoke-1.4.1.tar.gz"