mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
33 lines
975 B
Plaintext
33 lines
975 B
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-flask-htmlmin
|
|
_pkgorig=Flask-HTMLmin
|
|
pkgver=2.2.0
|
|
pkgrel=0
|
|
pkgdesc="Minify flask text/html mime type responses"
|
|
url="https://github.com/hamidfzm/Flask-HTMLmin"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 cssmin htmlmin py3-flask"
|
|
makedepends="py3-setuptools py3-pytest py3-pytest-runner"
|
|
# temporarily moved to makedepends for riscv64
|
|
#checkdepends="py3-pytest py3-pytest-runner"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/hamidfzm/Flask-HTMLmin/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
24287ef93e99a16e7dde35ba6b7b8fefa06f11ce30fb47969313c3e0e1135ac8a2685aac06bc430d3253162f4f2bc7e8eed90ddda2092bbad092d4e0d09cb4fc py3-flask-htmlmin-2.2.0.tar.gz
|
|
"
|