summaryrefslogtreecommitdiffstats
path: root/testing/py-flask-headers
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-14 08:47:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-17 15:01:26 +0000
commit31340a182aa80806ae21bf7bc78ae687944276ab (patch)
tree9a5510349d02d15592f90fb9ed61dcca4ed3ce7f /testing/py-flask-headers
parentd34e452bdd8bdfc61de27094fc168db71d93db4a (diff)
downloadaports-31340a182aa80806ae21bf7bc78ae687944276ab.tar.bz2
aports-31340a182aa80806ae21bf7bc78ae687944276ab.tar.xz
testing/py-flask-headers: new aport
Flask headers extension https://pypi.python.org/pypi/Flask-Headers
Diffstat (limited to 'testing/py-flask-headers')
-rw-r--r--testing/py-flask-headers/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-headers/APKBUILD b/testing/py-flask-headers/APKBUILD
new file mode 100644
index 000000000..a91925963
--- /dev/null
+++ b/testing/py-flask-headers/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flask-headers
+_pkgname=Flask-Headers
+pkgver=1.0
+pkgrel=0
+pkgdesc="Flask headers extension"
+url="https://pypi.python.org/pypi/Flask-Admin"
+arch="noarch"
+license="BSD"
+depends="python py-flask"
+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="23b9900d896f8de205fa43f91e86a7b0 Flask-Headers-1.0.tar.gz"
+sha256sums="195d2acf0caf595ade2c38fe613d4d8c30521074888f83c9580dfff6bbef8fc9 Flask-Headers-1.0.tar.gz"
+sha512sums="aae3088745970575464dc93bb0198a461ac218f4b9d2396a9ff7b950610f191453341f6d434ba7636d44f54a6d8fd0b3e000dba36c272d80c3d85242e029a48b Flask-Headers-1.0.tar.gz"