aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-flask-script/APKBUILD
blob: 60433a9108b45a4da1820cd968708500791cd24c (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: Eivind Uggedal <eivind@uggedal.com>
pkgname=py-flask-script
_pkgname=Flask-Script
pkgver=2.0.5
pkgrel=0
pkgdesc="Flask scripting support"
url="https://pypi.python.org/pypi/Flask-Script"
arch="noarch"
license="BSD"
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="e5c73d3b7937f5b88942f342f9617029  Flask-Script-2.0.5.tar.gz"
sha256sums="cef76eac751396355429a14c38967bb14d4973c53e07dec94af5cc8fb017107f  Flask-Script-2.0.5.tar.gz"
sha512sums="257b724c05dde79c99b028c7fa1980b700f273010de82fa9f1bb090b23519297d8bad87e436fa88a63feabfcd8908041d4a5ad9a673e08f4ed15e97310f16fbb  Flask-Script-2.0.5.tar.gz"