mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
34 lines
853 B
Text
34 lines
853 B
Text
# 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=3
|
|
pkgdesc="Simple theme mechanism for Flask"
|
|
url="https://pypi.org/project/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
|
|
"
|