summaryrefslogtreecommitdiff
path: root/testing/py3-flask-themer/APKBUILD
blob: b8498a4bf691e411d8b553203f95d8409368cd29 (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
# Contributor: Éloi Rivard <eloi.rivard@aquilenet.fr>
# Maintainer: Éloi Rivard <eloi.rivard@aquilenet.fr>
pkgname=py3-flask-themer
_pyname=flask-themer
pkgver=1.4.3
pkgrel=2
pkgdesc="Simple theme mechanism for Flask"
url="http://packages.python.org/pypi/flask-themer"
arch="noarch"
license="MIT"
depends="py3-flask"
checkdepends="
	py3-pytest
	py3-pytest-cov
"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/TkTech/flask-themer/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/flask-themer-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="." pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
21287b19e907423e656d16fcdebdca00589d8915714d88fcd054408db2ae820a1e8d25cffc819f5b710ec6ad6265598ef831b22dbd6d81ac2a5111742214101e  py3-flask-themer-1.4.3.tar.gz
"