summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-23 23:00:52 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-23 23:00:52 +0200
commite11618a12216858567ad603997cbcdfd00c832be (patch)
tree3a6e27319aaec6b2b947943435b1ef7d17707cb1 /dev-python/flask-gravatar/flask-gravatar-0.5.0.ebuild
parentpackage.mask: Last rite sci-chemistry/relax and deps (diff)
downloadgentoo-e11618a12216858567ad603997cbcdfd00c832be.tar.gz
gentoo-e11618a12216858567ad603997cbcdfd00c832be.tar.bz2
gentoo-e11618a12216858567ad603997cbcdfd00c832be.zip
dev-python/flask-gravatar: Remove dep on pytest-runner
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-gravatar/flask-gravatar-0.5.0.ebuild')
-rw-r--r--dev-python/flask-gravatar/flask-gravatar-0.5.0.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/dev-python/flask-gravatar/flask-gravatar-0.5.0.ebuild b/dev-python/flask-gravatar/flask-gravatar-0.5.0.ebuild
index 42f669f664f..01350e36cdc 100644
--- a/dev-python/flask-gravatar/flask-gravatar-0.5.0.ebuild
+++ b/dev-python/flask-gravatar/flask-gravatar-0.5.0.ebuild
@@ -12,17 +12,15 @@ inherit distutils-r1
DESCRIPTION="Small extension for Flask to make usage of Gravatar service easy"
HOMEPAGE="https://github.com/zzzsochi/Flask-Gravatar/"
SRC_URI="mirror://pypi/F/${MY_PN}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
LICENSE="BSD"
-
SLOT="0"
-
KEYWORDS="amd64 x86"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-S=${WORKDIR}/${MY_P}
+src_prepare() {
+ sed -i -e '/pytest-runner/d' setup.py || die
+ distutils-r1_src_prepare
+}