From 84902bd4773b4e49c8968e7fb4e7141c635a9372 Mon Sep 17 00:00:00 2001 From: prspkt Date: Tue, 23 Jul 2019 11:29:57 +0300 Subject: community/py-pyutilib: drop python2 * Add py3-nose and py3-six runtime dependencies. --- community/py3-pyutilib/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 community/py3-pyutilib/APKBUILD (limited to 'community/py3-pyutilib/APKBUILD') 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 +# Maintainer: André Klitzing +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" -- cgit v1.2.3