diff options
author | prspkt <prspkt@protonmail.com> | 2019-03-29 23:14:15 +0200 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-03-29 23:33:31 +0200 |
commit | 40716e362f089ceee0bc2326e0eaaad18c7f186c (patch) | |
tree | 93acb450d203918e91eca5ac0395075ca070a290 | |
parent | 365fba1a1026ccd482cd8766cd22480e372352f9 (diff) | |
download | aports-40716e362f089ceee0bc2326e0eaaad18c7f186c.tar.bz2 aports-40716e362f089ceee0bc2326e0eaaad18c7f186c.tar.xz |
testing/py-dexml: upgrade to python3
- Replace dead url with pypi.org.
-rw-r--r-- | testing/py3-dexml/APKBUILD (renamed from testing/py-dexml/APKBUILD) | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/testing/py-dexml/APKBUILD b/testing/py3-dexml/APKBUILD index a08007666f..70af28c1cf 100644 --- a/testing/py-dexml/APKBUILD +++ b/testing/py3-dexml/APKBUILD @@ -1,16 +1,18 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-dexml +pkgname=py3-dexml _pkgname=dexml pkgver=0.5.1 -pkgrel=1 +pkgrel=0 pkgdesc="A simple Object-XML mapper for Python" -url="https://packages.python.org/dexml" +url="https://pypi.org/project/dexml" arch="noarch" license="MIT" -depends="python2" +provides="py-dexml" # for backwards compatibility +replaces="py-dexml=$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" @@ -28,12 +30,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="7f7bbb66cdceb38adbc9092a9a159d87 dexml-0.5.1.tar.gz" |