aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flask-enterprise/APKBUILD
blob: 7744876f176d5d23acaa62d0f5ce629d414be535 (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-enterprise
_pkgname=Flask-Enterprise
pkgver=1.0
pkgrel=0
pkgdesc="Flask enterprise capabilities"
url="https://pypi.python.org/pypi/Flask-Enterprise"
arch="noarch"
license=" CDDL"
depends="python py-flask"
depends_dev=""
makedepends="python-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"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="1d2636ddf33a77321a34ef2f29e5a995  Flask-Enterprise-1.0.tar.gz"
sha256sums="58ba67ce015497ca7a361c681a4659aae3bfd440541461feca1e7c3719d1599f  Flask-Enterprise-1.0.tar.gz"
sha512sums="58800af378dc33e7ca312b21a9a26ee1f2979eeb7f33698d0459486506001dc7527dd70f38fc0e3f3121c9b2fb3c586f0cb72125141f556a8b9e15c6108eb8be  Flask-Enterprise-1.0.tar.gz"