diff options
author | prspkt <prspkt@protonmail.com> | 2019-03-26 12:54:09 +0200 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-03-26 13:07:08 +0200 |
commit | d910a80a8971c8d04973fc3cd81a8bbcd612dd17 (patch) | |
tree | 03c3cdafa1a706adf6eb06882bdc61b227c7eeb0 | |
parent | 8fc55c232e9fa17dcadca0e74421da600c95e1b9 (diff) | |
download | aports-d910a80a8971c8d04973fc3cd81a8bbcd612dd17.tar.bz2 aports-d910a80a8971c8d04973fc3cd81a8bbcd612dd17.tar.xz |
testing/py-columnize: upgrade to python3
-rw-r--r-- | testing/py3-columnize/APKBUILD (renamed from testing/py-columnize/APKBUILD) | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/testing/py-columnize/APKBUILD b/testing/py3-columnize/APKBUILD index e5ac57ec2c..d841b02826 100644 --- a/testing/py-columnize/APKBUILD +++ b/testing/py3-columnize/APKBUILD @@ -1,6 +1,6 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-columnize +pkgname=py3-columnize _pkgname=columnize pkgver=0.3.6 pkgrel=1 @@ -8,9 +8,11 @@ pkgdesc="Python module to align in columns a simple list" url="https://code.google.com/p/pycolumnize/" arch="noarch" license="MIT" -depends="" +provides="py-columnize" # for backwards compatibility +replaces="py-columnize=$pkgver-r$pkgrel" # for backwards compatibility +depends="python3" depends_dev="" -makedepends="python2-dev py-setuptools" +makedepends="python3-dev py3-setuptools" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" @@ -18,12 +20,12 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" - python2 setup.py build || return 1 + python3 setup.py build || return 1 } package() { cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="820361100672d798ec241a63de64131c columnize-0.3.6.tar.gz" |