aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-29 15:10:56 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-09-30 10:59:07 +0000
commiteb7a55fd53ac85f82237a5294c91586ed4652251 (patch)
tree6a4b436b834627af7ffc22766422f34f4da29c63
parent39efd73f33a6defd689c29d887e7bf7768eb0eb2 (diff)
downloadaports-eb7a55fd53ac85f82237a5294c91586ed4652251.tar.bz2
aports-eb7a55fd53ac85f82237a5294c91586ed4652251.tar.xz
testing/py-sphinxcontrib-nwdiag: new aport
Sphinx "nwdiag" extension https://pypi.python.org/pypi/sphinxcontrib-nwdiag
-rw-r--r--testing/py-sphinxcontrib-nwdiag/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-sphinxcontrib-nwdiag/APKBUILD b/testing/py-sphinxcontrib-nwdiag/APKBUILD
new file mode 100644
index 0000000000..95dc4beb22
--- /dev/null
+++ b/testing/py-sphinxcontrib-nwdiag/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-sphinxcontrib-nwdiag
+_pkgname=sphinxcontrib-nwdiag
+pkgver=0.6.1
+pkgrel=0
+pkgdesc="Sphinx "nwdiag" extension"
+url="https://pypi.python.org/pypi/sphinxcontrib-nwdiag"
+arch="noarch"
+license="BSD"
+depends="python py-sphinx py-nwdiag"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.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="7b56bfdac3c80858fd3d1c4b727ae4a4 sphinxcontrib-nwdiag-0.6.1.tar.gz"
+sha256sums="b091399052d72c2bd748c1715bf540276b8a32d01e2919abb04a1a89ded71a96 sphinxcontrib-nwdiag-0.6.1.tar.gz"
+sha512sums="2e3e57941e49f8621a585fa6f18c853a866bf5052081f8003a3396d7e34b2fa28cbc996f7819a2ca572b92a0803df8c8f11c735630b00c3af0de965dc632bb5e sphinxcontrib-nwdiag-0.6.1.tar.gz"