blob: 26664f9431d798e7bb789646d2be2a4ef106a1a4 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-sphinxcontrib-nwdiag
_pkgname=sphinxcontrib-nwdiag
pkgver=0.9.1
pkgrel=0
pkgdesc="Sphinx "nwdiag" extension"
url="https://pypi.python.org/pypi/sphinxcontrib-nwdiag"
arch="noarch"
license="BSD"
depends="python2 py-sphinx py-nwdiag"
depends_dev=""
makedepends="python2-dev py-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
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="f144fbd4965109930d8708be6cfc59ba sphinxcontrib-nwdiag-0.9.1.tar.gz"
sha256sums="c1517258f8cf9469220493c05de9fac7ac08d363dff72a90f3f906c33315a549 sphinxcontrib-nwdiag-0.9.1.tar.gz"
sha512sums="d1d08c379c9fbfeddc697f38b5f7bf33a23cf9a01219e37254f562794d40da19e8151e798495cf486dce53c342a517302184c472b6a069cae0ec4f1e76bdeacc sphinxcontrib-nwdiag-0.9.1.tar.gz"
|