diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-14 09:52:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-17 15:01:28 +0000 |
commit | bd62a186c7cb6f6a126a839cdb945511f919d8a1 (patch) | |
tree | 8f57df95c0c1b7fd4975c37a3c663fa8e293430a /testing/py-flask-errormail | |
parent | 8eb707df04d36436823ec57d93709730f48f821c (diff) | |
download | aports-bd62a186c7cb6f6a126a839cdb945511f919d8a1.tar.bz2 aports-bd62a186c7cb6f6a126a839cdb945511f919d8a1.tar.xz |
testing/py-flask-errormail: new aport
Flask sending error mail extension
https://pypi.python.org/pypi/Flask-ErrorMail
Diffstat (limited to 'testing/py-flask-errormail')
-rw-r--r-- | testing/py-flask-errormail/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flask-errormail/APKBUILD b/testing/py-flask-errormail/APKBUILD new file mode 100644 index 0000000000..4bcd54fe2d --- /dev/null +++ b/testing/py-flask-errormail/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-flask-errormail +_pkgname=Flask-ErrorMail +pkgver=0.2.2 +pkgrel=0 +pkgdesc="Flask sending error mail extension" +url="https://pypi.python.org/pypi/Flask-ErrorMail" +arch="noarch" +license="MIT" +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="4deaf797b70de3f45ce5a06270952b8a Flask-ErrorMail-0.2.2.tar.gz" +sha256sums="e4886e5e1ef630c5b6b958856dff6f80545f5acaa2530586a00466d8a6fab41c Flask-ErrorMail-0.2.2.tar.gz" +sha512sums="fc9fdb749cdbd7ba32ca8454709f10d6f30c98d64a0e1ff179e5f00dc0564e8506d004a95c2603e95cc39e0dc9ce666dc63c5e6b36bcb6c00f3033599f750226 Flask-ErrorMail-0.2.2.tar.gz" |