diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-14 12:33:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-17 15:01:30 +0000 |
commit | f01145c5c866dd429700d66cf14e02de669298ca (patch) | |
tree | f5a0ebb457d0cbd3a45ffdae3257a305ea5c1889 /testing/py-flask-passlib/APKBUILD | |
parent | d9993e402f2b0f6c687c97af537b850f2406bd7a (diff) | |
download | aports-f01145c5c866dd429700d66cf14e02de669298ca.tar.bz2 aports-f01145c5c866dd429700d66cf14e02de669298ca.tar.xz |
testing/py-flask-passlib: new aport
Flask Passlib extension
https://pypi.python.org/pypi/Flask-Passlib
Diffstat (limited to 'testing/py-flask-passlib/APKBUILD')
-rw-r--r-- | testing/py-flask-passlib/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-passlib/APKBUILD b/testing/py-flask-passlib/APKBUILD new file mode 100644 index 0000000000..6cd3a52b3d --- /dev/null +++ b/testing/py-flask-passlib/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-flask-passlib +_pkgname=Flask-Passlib +pkgver=0.1 +pkgrel=0 +pkgdesc="Flask Passlib extension" +url="https://pypi.python.org/pypi/Flask-Passlib" +arch="noarch" +license="BSD" +depends="python py-flask py-passlib" +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="ad4ce45d308ef5a7842d27c373741587 Flask-Passlib-0.1.tar.gz" +sha256sums="b6dbc1a44959019abd84785bc6ad9cd103acca296d89ce4a4f0c2c619bcc91b2 Flask-Passlib-0.1.tar.gz" +sha512sums="09e6bffcc8140956ef7e4d8c05c0020e9fd5dbe8c598a3c70b2b4cced5c9a2e17719b0f03f6826a4d7fb3eeb8d02a9bd68bd5bf7868a73718aaf4b2f02571fa5 Flask-Passlib-0.1.tar.gz" |