mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-05-31 15:07:28 -07:00
Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
34 lines
707 B
Bash
34 lines
707 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_P="Flask-HTMLmin-${PV}"
|
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Minimize your flask rendered html"
|
|
HOMEPAGE="https://github.com/hamidfzm/Flask-HTMLmin"
|
|
SRC_URI="
|
|
https://github.com/hamidfzm/Flask-HTMLmin/archive/v${PV}.tar.gz
|
|
-> ${MY_P}.gh.tar.gz"
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
RDEPEND="
|
|
app-text/cssmin[${PYTHON_USEDEP}]
|
|
app-text/htmlmin[${PYTHON_USEDEP}]
|
|
dev-python/flask[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
src_prepare() {
|
|
sed -e '/pytest-runner/d' -i setup.py || die
|
|
distutils-r1_src_prepare
|
|
}
|