diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-06 20:39:18 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-06 23:13:56 +0300 |
commit | ad211bbe4e46745532248c8b044cfa3cac766f7a (patch) | |
tree | 9faa6d17dae648fd2d443f9d924a00f36e9be017 /testing/py3-sphinxcontrib-doxylink | |
parent | fc2a7b5f304afdf99d65e4fe1461e011cb5bf3a6 (diff) | |
download | aports-ad211bbe4e46745532248c8b044cfa3cac766f7a.tar.bz2 aports-ad211bbe4e46745532248c8b044cfa3cac766f7a.tar.xz |
testing/py3-sphinxcontrib-doxylink: claricy license, modernize
Diffstat (limited to 'testing/py3-sphinxcontrib-doxylink')
-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" |