summaryrefslogtreecommitdiffstats
path: root/testing/py-flask-mitten
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-14 08:45:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-17 15:01:26 +0000
commitd34e452bdd8bdfc61de27094fc168db71d93db4a (patch)
tree516eab37ef1d19d04762d9484be96df7e7f1ed2f /testing/py-flask-mitten
parente3738d69726cb76e925fa8177bc9e1d1b121cb9e (diff)
downloadaports-d34e452bdd8bdfc61de27094fc168db71d93db4a.tar.bz2
aports-d34e452bdd8bdfc61de27094fc168db71d93db4a.tar.xz
testing/py-flask-mitten: new aport
Flask security functions https://pypi.python.org/pypi/Flask-Mitten
Diffstat (limited to 'testing/py-flask-mitten')
-rw-r--r--testing/py-flask-mitten/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-mitten/APKBUILD b/testing/py-flask-mitten/APKBUILD
new file mode 100644
index 000000000..aa046a11b
--- /dev/null
+++ b/testing/py-flask-mitten/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flask-mitten
+_pkgname=Flask-Mitten
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="Flask security functions"
+url="https://pypi.python.org/pypi/Flask-Mitten"
+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.zip"
+
+_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="1ac8311a863b560d441c8e423f05166f Flask-Mitten-0.2.1.zip"
+sha256sums="1fed723371796abb9c0678d1566fde643b3c180cc86ca598949566ab72c09892 Flask-Mitten-0.2.1.zip"
+sha512sums="160fea3ebd2bb84e9910fbfff50148c2890ea9ca904b887ec5bb8412614f46af47c0dc473f614c37df04172e1a72fe718aafa6debbc795b76c1ab6727721ced0 Flask-Mitten-0.2.1.zip"