aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphinxcontrib-nwdiag/APKBUILD
blob: 5d84c71d763ddd5eac810ae117d2f7b54b8e839f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-nwdiag
_pkgname=sphinxcontrib-nwdiag
pkgver=0.9.5
pkgrel=3
pkgdesc="Sphinx nwdiag extension"
url="https://pypi.python.org/pypi/sphinxcontrib-nwdiag"
arch="noarch"
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

replaces="py-sphinxcontrib-nwdiag" # for backwards compatibility
provides="py-sphinxcontrib-nwdiag=$pkgver-r$pkgrel" # for backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="2c570d4614aa362c43b2f0bcb901f6bca18f91451f50c901805f85f61184e1b531ea5ee2a82b5bca24e34f0a71470b9bdb9057dcaa82cc1c11eb41306561c5c1  sphinxcontrib-nwdiag-0.9.5.tar.gz"