commit:     1127f19d7641715363127ef85590679b887382f3
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 23 18:16:49 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 18:18:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1127f19d

dev-python/flask-wtf: remove redundant declarations, cleanup test

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/flask-wtf/flask-wtf-0.15.1.ebuild | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-python/flask-wtf/flask-wtf-0.15.1.ebuild 
b/dev-python/flask-wtf/flask-wtf-0.15.1.ebuild
index 64af34e29e5..28eb66691c8 100644
--- a/dev-python/flask-wtf/flask-wtf-0.15.1.ebuild
+++ b/dev-python/flask-wtf/flask-wtf-0.15.1.ebuild
@@ -17,8 +17,6 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
        >=dev-python/Babel-1[${PYTHON_USEDEP}]
@@ -33,8 +31,9 @@ RDEPEND="
 distutils_enable_sphinx docs
 distutils_enable_tests pytest
 
-python_prepare_all() {
+EPYTEST_DESELECT=(
        # tries to access things over the network
-       rm tests/test_recaptcha.py || die
-       distutils-r1_python_prepare_all
-}
+       tests/test_recaptcha.py
+       # unpackaged Flask-Uploads
+       tests/test_file.py
+)

Reply via email to