aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"