aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-06 17:11:48 +0300
committerprspkt <prspkt@protonmail.com>2019-06-07 00:09:02 +0300
commit9a8755704952504149112846f160a9866ed4f1a4 (patch)
treeb1f6f2d50757c338fe65a3233c941166742cb96d
parente0d7646c74a160df977d9695a23b11cd3d8db34e (diff)
downloadaports-9a8755704952504149112846f160a9866ed4f1a4.tar.bz2
aports-9a8755704952504149112846f160a9866ed4f1a4.tar.xz
testing/py3-sphinxcontrib-nwdiag: clarify license, modernize
-rw-r--r--testing/py3-sphinxcontrib-nwdiag/APKBUILD21
1 files changed, 3 insertions, 18 deletions
diff --git a/testing/py3-sphinxcontrib-nwdiag/APKBUILD b/testing/py3-sphinxcontrib-nwdiag/APKBUILD
index 4154c5fd69..454db27191 100644
--- a/testing/py3-sphinxcontrib-nwdiag/APKBUILD
+++ b/testing/py3-sphinxcontrib-nwdiag/APKBUILD
@@ -4,40 +4,25 @@ pkgname=py3-sphinxcontrib-nwdiag
_pkgname=sphinxcontrib-nwdiag
pkgver=0.9.5
pkgrel=2
-pkgdesc="Sphinx "nwdiag" extension"
+pkgdesc="Sphinx nwdiag extension"
url="https://pypi.python.org/pypi/sphinxcontrib-nwdiag"
arch="noarch"
-license="BSD"
+license="BSD-2-Clause"
depends="py3-nwdiag py3-sphinx"
makedepends="py3-setuptools"
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
-}
-
replaces="py-sphinxcontrib-nwdiag" # for backwards compatibility
provides="py-sphinxcontrib-nwdiag=$pkgver-r$pkgrel" # for backwards compatibility
build() {
- cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="7b5d2db632f446b56601eed8f2bd2025 sphinxcontrib-nwdiag-0.9.5.tar.gz"
-sha256sums="5b0ce78c1f7ccbbf33ca624574b117fa5334c8c17f98306a1e1b30e79db93491 sphinxcontrib-nwdiag-0.9.5.tar.gz"
sha512sums="2c570d4614aa362c43b2f0bcb901f6bca18f91451f50c901805f85f61184e1b531ea5ee2a82b5bca24e34f0a71470b9bdb9057dcaa82cc1c11eb41306561c5c1 sphinxcontrib-nwdiag-0.9.5.tar.gz"