From eb7a55fd53ac85f82237a5294c91586ed4652251 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Sep 2013 15:10:56 +0000 Subject: testing/py-sphinxcontrib-nwdiag: new aport Sphinx "nwdiag" extension https://pypi.python.org/pypi/sphinxcontrib-nwdiag --- testing/py-sphinxcontrib-nwdiag/APKBUILD | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/py-sphinxcontrib-nwdiag/APKBUILD (limited to 'testing/py-sphinxcontrib-nwdiag') diff --git a/testing/py-sphinxcontrib-nwdiag/APKBUILD b/testing/py-sphinxcontrib-nwdiag/APKBUILD new file mode 100644 index 000000000..95dc4beb2 --- /dev/null +++ b/testing/py-sphinxcontrib-nwdiag/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +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" -- cgit v1.2.3