aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-httpdomain
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-06 02:46:39 +0300
committerprspkt <prspkt@protonmail.com>2019-06-06 02:46:39 +0300
commit170ab3ab4d571c76d2b655bfe08b2a44551507d7 (patch)
tree4cdbc1b5e8afa954913f26017316d52e79bd495c /testing/py3-sphinxcontrib-httpdomain
parentbc2bd4a88d2b0f857deba2f61b7b125adf8566d9 (diff)
downloadaports-170ab3ab4d571c76d2b655bfe08b2a44551507d7.tar.bz2
aports-170ab3ab4d571c76d2b655bfe08b2a44551507d7.tar.xz
testing/py3-sphinxcontrib-httpdomain: clarify license, modernize
Diffstat (limited to 'testing/py3-sphinxcontrib-httpdomain')
-rw-r--r--testing/py3-sphinxcontrib-httpdomain/APKBUILD26
1 files changed, 4 insertions, 22 deletions
diff --git a/testing/py3-sphinxcontrib-httpdomain/APKBUILD b/testing/py3-sphinxcontrib-httpdomain/APKBUILD
index 9db9070c75..98f581506a 100644
--- a/testing/py3-sphinxcontrib-httpdomain/APKBUILD
+++ b/testing/py3-sphinxcontrib-httpdomain/APKBUILD
@@ -7,39 +7,21 @@ pkgrel=0
pkgdesc="Sphinx httpdomain extension"
url="https://pypi.python.org/pypi/sphinxcontrib-httpdomain"
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
+builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-sphinxcontrib-httpdomain" # for backwards compatibility
provides="py-sphinxcontrib-httpdomain=$pkgver-r$pkgrel" # for backwards compatibility
-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
-}
-
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="ad7ea42bd4c7c0ee57b1cb25bbf24aab sphinxcontrib-httpdomain-1.3.0.tar.gz"
-sha256sums="ba8fbe82eddc96cfa9d7b975b0422801a14ace9d7e051b8b2c725b92ea6137b5 sphinxcontrib-httpdomain-1.3.0.tar.gz"
sha512sums="2f6df6375337d651f4ed26c2aaf20929a4b31fae881ebc68fcab5cd085f52661c00a943872a9e7199d5af893b3f77434346fd493925cd148681da048aead20af sphinxcontrib-httpdomain-1.3.0.tar.gz"