diff options
-rw-r--r-- | testing/py3-sphinxcontrib-doxylink/APKBUILD | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/testing/py3-sphinxcontrib-doxylink/APKBUILD b/testing/py3-sphinxcontrib-doxylink/APKBUILD index d975c6bde9..7d9aeb7163 100644 --- a/testing/py3-sphinxcontrib-doxylink/APKBUILD +++ b/testing/py3-sphinxcontrib-doxylink/APKBUILD @@ -5,40 +5,23 @@ _pkgname=sphinxcontrib-doxylink pkgver=1.3 pkgrel=0 pkgdesc="Sphinx Doxygen linking extension" -url="https://pypi.python.org/pypi/sphinxcontrib-doxylink" +url="https://github.com/sphinx-contrib/doxylink" arch="noarch" -license="BSD" +license="BSD-2-Clause" depends="py3-parsing py3-sphinx" -depends_dev="" makedepends="py3-setuptools" -install="" -subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$_pkgname-$pkgver replaces="py-sphinxcontrib-doxylink" # for backwards compatibility provides="py-sphinxcontrib-doxylink=$pkgver-r$pkgrel" # for backwards compatibility build() { - cd "$_builddir" - python3 setup.py build || return 1 + python3 setup.py build } package() { - cd "$_builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="f6800726c2d31bcd6b4a65d40852881f sphinxcontrib-doxylink-1.3.tar.gz" -sha256sums="95dd12637b2d28aae50f2abbf57dcb339be01f7b829dc435432d314a8f37a9c4 sphinxcontrib-doxylink-1.3.tar.gz" sha512sums="5a53061cddda22b682b4b640725d4cd763b54d9dfa3599b666dd55d72660f07fc89318abeab07d114d01313b215e69e421a3b5251125d28c3dd326426830f9ee sphinxcontrib-doxylink-1.3.tar.gz" |