aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-flask-htmlbuilder/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/py-flask-htmlbuilder/APKBUILD')
-rw-r--r--unmaintained/py-flask-htmlbuilder/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/py-flask-htmlbuilder/APKBUILD b/unmaintained/py-flask-htmlbuilder/APKBUILD
new file mode 100644
index 0000000000..e45b8a1bef
--- /dev/null
+++ b/unmaintained/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"