diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-14 10:52:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-17 15:01:29 +0000 |
commit | 317651b74081bbcb0557982ab641938b24054d72 (patch) | |
tree | 5b4bd41e03e0a75a6e9f81ccce1c6d454bdc9d28 /testing | |
parent | cd5f770adbd7ba3d69dd9640fc8084837c44ef29 (diff) | |
download | aports-317651b74081bbcb0557982ab641938b24054d72.tar.bz2 aports-317651b74081bbcb0557982ab641938b24054d72.tar.xz |
testing/py-flask-menubuilder: new aport
Flask MenuBuilder extension
https://pypi.python.org/pypi/Flask-MenuBuilder
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-flask-menubuilder/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-menubuilder/APKBUILD b/testing/py-flask-menubuilder/APKBUILD new file mode 100644 index 0000000000..651dd2c3e8 --- /dev/null +++ b/testing/py-flask-menubuilder/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-flask-menubuilder +_pkgname=Flask-MenuBuilder +pkgver=0.9.2 +pkgrel=0 +pkgdesc="Flask MenuBuilder extension" +url="https://pypi.python.org/pypi/Flask-MenuBuilder" +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="b950f33b38d503379ae866647cd83aa9 Flask-MenuBuilder-0.9.2.tar.gz" +sha256sums="d64a54c26b005896f7bba155c2ae2f13a238b4369a4d724d962b9ccedfd279c5 Flask-MenuBuilder-0.9.2.tar.gz" +sha512sums="689f24aed3254be60a1e450d3815916a71fad87165c246484dffad6af2d45a4f479f9d85bc45861aaddd1c9b2fdebc4f83b2a3e8157dc69893cdfe507335ddb5 Flask-MenuBuilder-0.9.2.tar.gz" |