commit: 9b93f09b20a459bd3a23ebc36410dfe29da3928e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 24 06:49:06 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 24 07:07:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b93f09b
dev-python/flask-security: Remove pytest-runner dep
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/flask-security/flask-security-3.0.0.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-python/flask-security/flask-security-3.0.0.ebuild
b/dev-python/flask-security/flask-security-3.0.0.ebuild
index 349a0a18f98..5544516760b 100644
--- a/dev-python/flask-security/flask-security-3.0.0.ebuild
+++ b/dev-python/flask-security/flask-security-3.0.0.ebuild
@@ -31,8 +31,6 @@ RDEPEND=">=dev-python/flask-0.11[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
- dev-python/pytest-runner[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
@@ -43,6 +41,11 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ sed -i -e '/pytest-runner/d' setup.py || die
+ distutils-r1_src_prepare
+}
+
python_test() {
nosetests -v || die "Testing failed with ${EPYTHON}"
}