diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-10 07:56:25 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-30 10:59:07 +0000 |
commit | 00c9e3dc0f7e7040b70880cf32f6a02d24db192e (patch) | |
tree | fe41f5e428cc08cfa36631cb4a296ed3f2ff11ce /testing/py-sphinxcontrib-blockdiag/APKBUILD | |
parent | 782d4a1d1dee1ad6484a7aad2b1651106f746e02 (diff) | |
download | aports-00c9e3dc0f7e7040b70880cf32f6a02d24db192e.tar.bz2 aports-00c9e3dc0f7e7040b70880cf32f6a02d24db192e.tar.xz |
testing/py-sphinxcontrib-blockdiag: new aport
Sphinx "blockdiag" extension
https://pypi.python.org/pypi/sphinxcontrib-blockdiag
Diffstat (limited to 'testing/py-sphinxcontrib-blockdiag/APKBUILD')
-rw-r--r-- | testing/py-sphinxcontrib-blockdiag/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-sphinxcontrib-blockdiag/APKBUILD b/testing/py-sphinxcontrib-blockdiag/APKBUILD new file mode 100644 index 000000000..c0316c196 --- /dev/null +++ b/testing/py-sphinxcontrib-blockdiag/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-sphinxcontrib-blockdiag +_pkgname=sphinxcontrib-blockdiag +pkgver=1.2.0 +pkgrel=0 +pkgdesc="Sphinx "blockdiag" extension" +url="https://pypi.python.org/pypi/sphinxcontrib-blockdiag" +arch="noarch" +license="BSD" +depends="python py-sphinx py-blockdiag" +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="956689f558c37d341f0457ae830d4503 sphinxcontrib-blockdiag-1.2.0.tar.gz" +sha256sums="fc5e2971202aa5b798da0fcc0297e43398bdbdda7d719cab85a450c0bcc6cfff sphinxcontrib-blockdiag-1.2.0.tar.gz" +sha512sums="fd0c5df78b58dfa099d60e89195af4e495f67aed2b021f79de350946925dca18873b4bac71dda5d2af80346b5bbfd1de7c7a51c291031b1528087976e7fcfc10 sphinxcontrib-blockdiag-1.2.0.tar.gz" |