diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-06 21:37:50 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-06 23:13:56 +0300 |
commit | 6367b087ae5de6eee74d2a1b08c5584751c450d6 (patch) | |
tree | 6e90b71d7a89c22e57b165fb8e2214181707b589 /testing/py3-sphinxcontrib-issuetracker | |
parent | b63d08d7404b76d494d4be60b32f1dbb34ae5c96 (diff) | |
download | aports-6367b087ae5de6eee74d2a1b08c5584751c450d6.tar.bz2 aports-6367b087ae5de6eee74d2a1b08c5584751c450d6.tar.xz |
testing/py3-sphinxcontrib-issuetracker: clarify license, modernize
Diffstat (limited to 'testing/py3-sphinxcontrib-issuetracker')
-rw-r--r-- | testing/py3-sphinxcontrib-issuetracker/APKBUILD | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/testing/py3-sphinxcontrib-issuetracker/APKBUILD b/testing/py3-sphinxcontrib-issuetracker/APKBUILD index d6d65b1ec7..999be30351 100644 --- a/testing/py3-sphinxcontrib-issuetracker/APKBUILD +++ b/testing/py3-sphinxcontrib-issuetracker/APKBUILD @@ -5,40 +5,23 @@ _pkgname=sphinxcontrib-issuetracker pkgver=0.11 pkgrel=0 pkgdesc="Sphinx issuetracker extension" -url="https://pypi.python.org/pypi/sphinxcontrib-issuetracker" +url="https://github.com/ignatenkobrain/sphinxcontrib-issuetracker" arch="noarch" -license="BSD" +license="BSD-2-Clause" depends="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-issuetracker" # for backwards compatibility provides="py-sphinxcontrib-issuetracker=$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="69c2f0e5770c5d7bad73f60f8d764e28 sphinxcontrib-issuetracker-0.11.tar.gz" -sha256sums="843753d8b5e989116378ab45ecccb368fb78dc56eaa1554ed25e4fbf22745f4e sphinxcontrib-issuetracker-0.11.tar.gz" sha512sums="fb4a977bea22451a3d90b16821fc2a38ed53b17913666ca250e9aab8bb1726bbdb52fb2b6dbb2ae512a0ca6cc3d33dcddeba758c02c77b099180443d67e147c9 sphinxcontrib-issuetracker-0.11.tar.gz" |