dev-python/flask-htmlmin: Bump to 2.1.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-02-12 10:19:12 +01:00
parent cfec899d7b
commit bb76948b17
2 changed files with 34 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST Flask-HTMLmin-2.0.2.gh.tar.gz 12178 BLAKE2B 38d21e06058728be9f6a23c8b18dd0f209833723d63bdf07262f37ff0fd6ac0de810bc164bfb6e91ed446e6402f93f204468f9c2307cf45c3a1609361be33992 SHA512 ea863644baecdf54d6b0a920ad0cbd84880e6c029a7d5313f0964f03233a74b7d11b3e15431ecf02fc6c33b38241e472968ed1bcad5b8163d14001678a4833e2
DIST Flask-HTMLmin-2.1.0.gh.tar.gz 16395 BLAKE2B 259d3af497343d35fabb60e4aa1a832782de47fa78f2e8c6bdaa47a7e78efa8dfa756e87d0d03b5972f3e051a29dfff53b370cb1f3ee1f8a9e401d06c40894fd SHA512 3d3ea40bc5d802f41b0d3a99fcca59407b3948d9b4fe2300bc597bbfbaa851435276a7dcee4b6cc08cc52b0674a53fd655b7bb1c6504bd53ea9963600626a59a

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="Flask-HTMLmin"
MY_P=${MY_PN}-${PV}
PYTHON_COMPAT=( python3_{7..9} )
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/htmlmin[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/pytest-runner/d' setup.py || die
distutils-r1_src_prepare
}