summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-24 07:38:03 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-24 09:06:48 +0200
commit6868a6a4a00b90bc026c6f53ccbfc4c3e1105a4a (patch)
tree8d1c52c77abab257396f1fca6809f5d1d3bb916c /dev-python/flask-htmlmin
parentdev-python/flask-gravatar: Port to py3.9 (diff)
downloadgentoo-6868a6a4a00b90bc026c6f53ccbfc4c3e1105a4a.tar.gz
gentoo-6868a6a4a00b90bc026c6f53ccbfc4c3e1105a4a.tar.bz2
gentoo-6868a6a4a00b90bc026c6f53ccbfc4c3e1105a4a.zip
dev-python/flask-htmlmin: Remove dep on pytest-runner
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-htmlmin')
-rw-r--r--dev-python/flask-htmlmin/flask-htmlmin-1.5.2.ebuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/dev-python/flask-htmlmin/flask-htmlmin-1.5.2.ebuild b/dev-python/flask-htmlmin/flask-htmlmin-1.5.2.ebuild
index 489947e8b23b..7c60730ff5b9 100644
--- a/dev-python/flask-htmlmin/flask-htmlmin-1.5.2.ebuild
+++ b/dev-python/flask-htmlmin/flask-htmlmin-1.5.2.ebuild
@@ -12,24 +12,18 @@ inherit distutils-r1
DESCRIPTION="Minimize your flask rendered html"
HOMEPAGE="https://github.com/hamidfzm/Flask-HTMLmin"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
-
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
RDEPEND="
- app-text/htmlmin
- dev-python/flask
-"
-
-DEPEND="${RDEPEND}
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
+ app-text/htmlmin[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
"
-S="${WORKDIR}/${MY_P}"
-
-# Needs some kind of magic to actually test.
-RESTRICT="test"
+src_prepare() {
+ sed -i -e '/pytest-runner/d' setup.py || die
+ distutils-r1_src_prepare
+}