diff options
-rw-r--r-- | testing/py3-python-archive/APKBUILD (renamed from testing/py-archive/APKBUILD) | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/py-archive/APKBUILD b/testing/py3-python-archive/APKBUILD index 90734f6e3d..4510522e04 100644 --- a/testing/py-archive/APKBUILD +++ b/testing/py3-python-archive/APKBUILD @@ -1,6 +1,6 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-archive +pkgname=py3-python-archive _pkgname=python-archive pkgver=0.2 pkgrel=0 @@ -8,9 +8,10 @@ pkgdesc="A Python library for extracting zip and tar archives" url="https://github.com/gdub/python-archive" arch="noarch" license="MIT" -depends="python2" +replaces="py-archive" # for backwards compatibility +provides="py-archive=$pkgver-r$pkgrel" # for backwards compatibility +depends="python3" depends_dev="" -makedepends="python2-dev py-setuptools" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" @@ -28,12 +29,12 @@ prepare() { 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="d2abf4c71fd28817b0a5d27ff874470d python-archive-0.2.tar.gz" |