From b5c95831feac402c273178430b936276a253fe8e Mon Sep 17 00:00:00 2001 From: prspkt Date: Fri, 7 Jun 2019 21:23:07 +0300 Subject: testing/py3-sphinxcontrib-phpdomain: clarify license, modernize --- testing/py3-sphinxcontrib-phpdomain/APKBUILD | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/testing/py3-sphinxcontrib-phpdomain/APKBUILD b/testing/py3-sphinxcontrib-phpdomain/APKBUILD index ffbbaa32ab..1f879f8da2 100644 --- a/testing/py3-sphinxcontrib-phpdomain/APKBUILD +++ b/testing/py3-sphinxcontrib-phpdomain/APKBUILD @@ -7,38 +7,21 @@ pkgrel=0 pkgdesc="Sphinx phpdomain extension" url="https://pypi.python.org/pypi/sphinxcontrib-phpdomain" 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-phpdomain" # for backwards compatibility provides=py-sphinxcontrib-phpdomain=$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="03ce0f0569db0217f7471c2f7e952841 sphinxcontrib-phpdomain-0.1.4.tar.gz" -sha256sums="497523d6bd707438a5d219f9adbe008df860c75ec299e314a71dbe3caf2c428b sphinxcontrib-phpdomain-0.1.4.tar.gz" sha512sums="38db162f7ae3b223ce355cef90a6e239af995045a769929a144c3158c14d2c3ea8330165efe9bc6325581330ec71f08d40078c2e55d9a6812fa82820d3f24ced sphinxcontrib-phpdomain-0.1.4.tar.gz" -- cgit v1.2.3