diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-08 16:56:34 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-09 23:14:45 +0300 |
commit | 03670ef4b84efaccb58d82fbbe95930df217de69 (patch) | |
tree | 549f923e903a2b9b767c6f6452da6e5c0943ffca | |
parent | 9f5e3b8941c604baada637eeec3e4ea4d4cf6671 (diff) | |
download | aports-03670ef4b84efaccb58d82fbbe95930df217de69.tar.bz2 aports-03670ef4b84efaccb58d82fbbe95930df217de69.tar.xz |
testing/py3-sphinxcontrib-lassodomain: upgrade to python3
-rw-r--r-- | testing/py3-sphinxcontrib-lassodomain/APKBUILD (renamed from testing/py-sphinxcontrib-lassodomain/APKBUILD) | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/testing/py-sphinxcontrib-lassodomain/APKBUILD b/testing/py3-sphinxcontrib-lassodomain/APKBUILD index 5928ffb12b..61973f725b 100644 --- a/testing/py-sphinxcontrib-lassodomain/APKBUILD +++ b/testing/py3-sphinxcontrib-lassodomain/APKBUILD @@ -1,6 +1,6 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-sphinxcontrib-lassodomain +pkgname=py3-sphinxcontrib-lassodomain _pkgname=sphinxcontrib-lassodomain pkgver=0.1 pkgrel=0 @@ -8,9 +8,9 @@ pkgdesc="Sphinx lassodomain extension" url="https://pypi.python.org/pypi/sphinxcontrib-lassodomain" arch="noarch" license="BSD" -depends="python2 py-sphinx" +depends="py3-sphinx" depends_dev="" -makedepends="python2-dev py-setuptools" +makedepends="py3-setuptools" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" @@ -26,14 +26,17 @@ prepare() { done } +replaces="py-sphinxcontrib-lassodomain" # Backwards compatibility +provides="py-sphinxcontrib-lassodomain=$pkgver-r$pkgrel" # Backwards compatibility + 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="8f6e55cffb24dd87df2e8e02ff23c5df sphinxcontrib-lassodomain-0.1.tar.gz" |