summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-08-23 21:16:49 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-08-24 21:18:02 +0300
commit1127f19d7641715363127ef85590679b887382f3 (patch)
treeaef2e919a118175b56978ef995619f6b4b3d8750 /dev-python/flask-wtf
parentdev-python/flask-restful: enable py3.10 (diff)
downloadgentoo-1127f19d7641715363127ef85590679b887382f3.tar.gz
gentoo-1127f19d7641715363127ef85590679b887382f3.tar.bz2
gentoo-1127f19d7641715363127ef85590679b887382f3.zip
dev-python/flask-wtf: remove redundant declarations, cleanup test
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/flask-wtf')
-rw-r--r--dev-python/flask-wtf/flask-wtf-0.15.1.ebuild11
1 files 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 64af34e29e53..28eb66691c8c 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
+)