aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-doit/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-11 00:44:53 +0300
committerprspkt <prspkt@protonmail.com>2019-06-12 11:47:13 +0300
commitad09e082a86e25041171fa02173d554b682f3306 (patch)
tree23cfd2e1da950bf410ca5159621dab89ea488a0c /testing/py3-doit/APKBUILD
parent05be8b5149c4d56a1c09cb8a6133f974add1f96a (diff)
downloadaports-ad09e082a86e25041171fa02173d554b682f3306.tar.bz2
aports-ad09e082a86e25041171fa02173d554b682f3306.tar.xz
testing/py-doit: upgrade to python3
Diffstat (limited to 'testing/py3-doit/APKBUILD')
-rw-r--r--testing/py3-doit/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-doit/APKBUILD b/testing/py3-doit/APKBUILD
new file mode 100644
index 0000000000..fd0d59e737
--- /dev/null
+++ b/testing/py3-doit/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py3-doit
+_pkgname=doit
+pkgver=0.29.0
+pkgrel=4
+pkgdesc="A Python Automation Tool"
+url="https://pydoit.org/"
+arch="noarch"
+license="MIT"
+depends="py3-cloudpickle py3-inotify py3-six"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+replaces="py-doit" # Backwards compatibility
+provides="py-doit=$pkgver-r$pkgrel" # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+md5sums="9968e1a669bad0a999212ab9f5c591a3 doit-0.29.0.tar.gz"
+sha256sums="fcb479482644de3e83d6faed9b29373f1f38942b79b991a7432943a84416d5cd doit-0.29.0.tar.gz"
+sha512sums="a686457df31b414d0c3797789e0ae1ae5cdfa3674025236419cb59b254f342cd2db07911ef18b2cb576d8d817b44035b9372265b34b786b2779fb7074b394de1 doit-0.29.0.tar.gz"