aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-htmlbuilder
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-14 13:09:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-17 15:01:31 +0000
commitdec34beae20bbc96137c53492ef9dcfd89ddf337 (patch)
tree9e92114bb9f6e30577ff18e79d7f93311f6171e8 /testing/py-flask-htmlbuilder
parent3c88d48fedeb734bba83e4b97938d582f9dfbd73 (diff)
downloadaports-dec34beae20bbc96137c53492ef9dcfd89ddf337.tar.bz2
aports-dec34beae20bbc96137c53492ef9dcfd89ddf337.tar.xz
testing/py-flask-htmlbuilder: new aport
Flask HTML generation extension https://pypi.python.org/pypi/Flask-HTMLBuilder
Diffstat (limited to 'testing/py-flask-htmlbuilder')
-rw-r--r--testing/py-flask-htmlbuilder/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-htmlbuilder/APKBUILD b/testing/py-flask-htmlbuilder/APKBUILD
new file mode 100644
index 0000000000..e45b8a1bef
--- /dev/null
+++ b/testing/py-flask-htmlbuilder/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flask-htmlbuilder
+_pkgname=flask-htmlbuilder
+pkgver=0.4
+pkgrel=0
+pkgdesc="Flask HTML generation extension"
+url="https://pypi.python.org/pypi/Flask-HTMLBuilder"
+arch="noarch"
+license="MIT"
+depends="python py-flask"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="$_pkgname-$pkgver.tar.gz::https://github.com/majorz/flask-htmlbuilder/archive/$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="87ab4ae5af06781842790d570abf2463 flask-htmlbuilder-0.4.tar.gz"
+sha256sums="e153bfd7e02c79a8b26ff92ecde8bc5d1c535aecce8d38c6c82ae09f0c5f06ec flask-htmlbuilder-0.4.tar.gz"
+sha512sums="021b8dac367b1484590ec5a2bfbc724938134beaa663087e9ddcce1bb3d678881415258161d6a56145e2443cdf344c2850113f0f38f8a7d8315eedb287014ca1 flask-htmlbuilder-0.4.tar.gz"