aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-flask-errormail/APKBUILD
blob: 24cbe619646e0d4eaff57bea679d7038b0249cf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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="python2 py-flask"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.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"
	python2 setup.py build || return 1
}

package() {
	cd "$_builddir"
	python2 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"