aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-cairosvg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-cairosvg')
-rw-r--r--testing/py-cairosvg/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-cairosvg/APKBUILD b/testing/py-cairosvg/APKBUILD
new file mode 100644
index 0000000000..7e6f180636
--- /dev/null
+++ b/testing/py-cairosvg/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-cairosvg
+pkgver=0.5
+pkgrel=0
+pkgdesc="cairo-based SVG renderer for python"
+url="http://cairosvg.org"
+arch="noarch"
+license="LGPL"
+depends="python py-cairocffi"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/C/CairoSVG/CairoSVG-$pkgver.tar.gz"
+
+_builddir="$srcdir"/CairoSVG-$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="6c092cce2b2ade47054aea6657173cbf CairoSVG-0.5.tar.gz"
+sha256sums="9aa311fb832c37bf376a4bbcf0b97beddc4527e4fbd918cdd35d42bc3200e170 CairoSVG-0.5.tar.gz"
+sha512sums="039db314effeeeb2bfae1ad47f8505742fcc160804e8f029a4f3568fbc3e9b802e785ae2cf4ec63d6dee6d4730676fa48c1d8915423ec60e5855540eaac17572 CairoSVG-0.5.tar.gz"