diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-05-22 10:45:21 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-05-22 10:45:21 +0000 |
commit | 3f171d488757dfb1238e6d56286fa4dbd827efb5 (patch) | |
tree | 6f9a637911dda02274dcb77b0e3803c47f060b9f /main/py-flask | |
parent | 0d6ed3fdf9a034b4540b6e3e4bbe049d2a65f878 (diff) | |
download | aports-3f171d488757dfb1238e6d56286fa4dbd827efb5.tar.bz2 aports-3f171d488757dfb1238e6d56286fa4dbd827efb5.tar.xz |
main/py-flask: moved from testing
Diffstat (limited to 'main/py-flask')
-rw-r--r-- | main/py-flask/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-flask/APKBUILD b/main/py-flask/APKBUILD new file mode 100644 index 0000000000..68e46cf9dd --- /dev/null +++ b/main/py-flask/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: Eivind Uggedal <eivind@uggedal.com> +pkgname=py-flask +_pkgname=Flask +pkgver=0.10.1 +pkgrel=1 +pkgdesc="A web development microframework" +url="http://flask.pocoo.org/" +arch="noarch" +license="MIT" +depends="python py-werkzeug py-jinja2 py-itsdangerous" +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"/Flask-$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="378670fe456957eb3c27ddaef60b2b24 Flask-0.10.1.tar.gz" +sha256sums="4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373 Flask-0.10.1.tar.gz" +sha512sums="0008d62d03a46b071c7d0510513d011a9bfd2b77df7f677371a446ca9805d16b1ee5e17dd8dd7cde6443a629370234e44735e20381de20a7da385969797f053f Flask-0.10.1.tar.gz" |