aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-admin/APKBUILD
blob: 0bd931c882ccc43386754b9c4c3d0ad866067b70 (plain) (blame)
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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-admin
pkgver=1.5.7
pkgrel=0
pkgdesc="Flask admin interface"
url="https://pypi.python.org/pypi/Flask-Admin"
arch="noarch"
license="BSD-3-Clause"
depends="
	python3
	py3-flask
	py3-wtforms
"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/F/Flask-Admin/Flask-Admin-$pkgver.tar.gz"
builddir="$srcdir"/Flask-Admin-$pkgver

replaces="py-flask-admin" # Backwards compatibility
provides="py-flask-admin=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="dbe695fa0e0115e7647b68c79c13105a2777841b576b757c95146abadc2a761aa8a45aa3c3e8fb23b706aae162e13e946bbbe873666d0dd16a2c9df0d7398944  Flask-Admin-1.5.7.tar.gz"