aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-blockdiag/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-10 07:33:57 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-09-30 10:59:06 +0000
commit5746432279c2069d9cf3c9fcfb19806e49f09040 (patch)
tree21e308fcb41de750ca9a35c6e6e6babe26b65052 /testing/py-blockdiag/APKBUILD
parentd804b86f3a83d1d53077c5f2ab0ff41ccbc55865 (diff)
downloadaports-5746432279c2069d9cf3c9fcfb19806e49f09040.tar.bz2
aports-5746432279c2069d9cf3c9fcfb19806e49f09040.tar.xz
testing/py-blockdiag: new aport
blockdiag generate block-diagram image file http://blockdiag.com
Diffstat (limited to 'testing/py-blockdiag/APKBUILD')
-rw-r--r--testing/py-blockdiag/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-blockdiag/APKBUILD b/testing/py-blockdiag/APKBUILD
new file mode 100644
index 0000000000..8e91155056
--- /dev/null
+++ b/testing/py-blockdiag/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-blockdiag
+_pkgname=blockdiag
+pkgver=1.2.4
+pkgrel=0
+pkgdesc="blockdiag generate block-diagram"
+url="http://blockdiag.com"
+arch="noarch"
+license="ASL 2.0"
+depends="python py-imaging py-funcparserlib py-setuptools py-webcolors"
+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="244334f60cc10b0cb73b5df5279bcdd1 blockdiag-1.2.4.tar.gz"
+sha256sums="5c153f879762066196d2ebfbba0efcdfb30abf8132299ddd81c6dc6bc4eaf5d9 blockdiag-1.2.4.tar.gz"
+sha512sums="14c10bfc392645ca37dafd32380f7537fbeb47769684cba2d26eb961077c992f7284b0465adfb4136d9ecb5de7e0a90e2973652ff3c7ab3c983072ed86e27949 blockdiag-1.2.4.tar.gz"