aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-flask-assets/APKBUILD
blob: e6f5cf33af29a86add06677f282a7b0652ba2117 (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-assets
_pkgname=Flask-Assets
pkgver=0.10
pkgrel=0
pkgdesc="Flask asset management"
url="https://pypi.python.org/pypi/Flask-Assets"
arch="noarch"
license="BSD"
depends="python2 py-flask py-webassets"
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="897ae9d0e818ea9f6468ffed46afc173  Flask-Assets-0.10.tar.gz"
sha256sums="d44fbef89d9d2fdc66e216b63c460cdd719b529cf4cdf3e0ef416815879ad1ec  Flask-Assets-0.10.tar.gz"
sha512sums="f62c169683e825088b785689635e5ad5ce22b448936c81f7c1074278a70c0a7e40597722db99208867cf4490f6dffc9e3b0605dbb7a3257da41b1c5ae07bd3ae  Flask-Assets-0.10.tar.gz"