aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-weasyprint
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2013-08-31 21:36:50 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2013-08-31 21:36:50 +0000
commitf251a5b33a0f5899ab7c81530e9533c9dbbb0029 (patch)
tree9943c05684ee4338968896b2f4b8ff1e83b87c12 /testing/py-flask-weasyprint
parent2d723b1c88d26b29096bc07f64a0cf4cf511b391 (diff)
downloadaports-f251a5b33a0f5899ab7c81530e9533c9dbbb0029.tar.bz2
aports-f251a5b33a0f5899ab7c81530e9533c9dbbb0029.tar.xz
testing/py-flask-weasyprint: new aport
Diffstat (limited to 'testing/py-flask-weasyprint')
-rw-r--r--testing/py-flask-weasyprint/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-flask-weasyprint/APKBUILD b/testing/py-flask-weasyprint/APKBUILD
new file mode 100644
index 0000000000..25082a25f5
--- /dev/null
+++ b/testing/py-flask-weasyprint/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-flask-weasyprint
+pkgver=0.4
+pkgrel=0
+pkgdesc="flask binding to py-weasyprint"
+url="http://pythonhosted.org/flask-weasyprint"
+arch="noarch"
+license="BSD"
+depends="python py-weasyprint py-flask py-setuptools"
+depends_dev=""
+makedepends="python-dev"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/F/Flask-WeasyPrint/Flask-WeasyPrint-$pkgver.tar.gz"
+
+_builddir="$srcdir"/Flask-WeasyPrint-$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="6d24da2c30f7d3feebc43f5081670884 Flask-WeasyPrint-0.4.tar.gz"
+sha256sums="ae586c52d1b465eb196fd187d52c7a09ebb6519f9db749d7082c12d1844b78dc Flask-WeasyPrint-0.4.tar.gz"
+sha512sums="941997a553f9154fcea3d4e35e2cd3ab7d5e8b19dad91ed7fb7bbad1e413d9060b272a9e452ddb42a4d698fbcc43673323ede27dc998d8a4067b52ae0a74fca7 Flask-WeasyPrint-0.4.tar.gz"