aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyutilib/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-07-23 11:29:57 +0300
committerprspkt <prspkt@protonmail.com>2019-07-23 11:44:10 +0300
commit84902bd4773b4e49c8968e7fb4e7141c635a9372 (patch)
tree0c1708b8758660d7458eb9cea5a99c0560c66b58 /community/py3-pyutilib/APKBUILD
parent07a9e1b517f08e08657ed0848cb0b99957864313 (diff)
downloadaports-84902bd4773b4e49c8968e7fb4e7141c635a9372.tar.bz2
aports-84902bd4773b4e49c8968e7fb4e7141c635a9372.tar.xz
community/py-pyutilib: drop python2
* Add py3-nose and py3-six runtime dependencies.
Diffstat (limited to 'community/py3-pyutilib/APKBUILD')
-rw-r--r--community/py3-pyutilib/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-pyutilib/APKBUILD b/community/py3-pyutilib/APKBUILD
new file mode 100644
index 0000000000..a1cce3400e
--- /dev/null
+++ b/community/py3-pyutilib/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: André Klitzing <aklitzing@gmail.com>
+# Maintainer: André Klitzing <aklitzing@gmail.com>
+pkgname=py3-pyutilib
+_pkgname=PyUtilib
+pkgver=5.7.0
+pkgrel=0
+pkgdesc="A collection of Python utilities"
+url="https://pypi.org/project/PyUtilib/"
+arch="noarch"
+license="BSD"
+depends="py3-nose py3-six"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/p/pyutilib/$_pkgname-$pkgver.tar.gz"
+options="!check" # no upstream tests
+builddir="$srcdir/$_pkgname-$pkgver"
+
+replaces=py-pyutilib # Backwards compatibility
+provides=py-pyutilib=$pkgver-r$pkgrel # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="d82ee4fd68464f33087705c57dcdf45382efb138ef6268634e239a4b90bb9dcb8c4396230ff5f73188108e723f82c421a037017e8e724fa81c47c200df7237d4 PyUtilib-5.7.0.tar.gz"