Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-wtf/
Date: Tue, 24 Aug 2021 18:20:35
Message-Id: 1629829082.1127f19d7641715363127ef85590679b887382f3.arthurzam@gentoo
1 commit: 1127f19d7641715363127ef85590679b887382f3
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 23 18:16:49 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 24 18:18:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1127f19d
7
8 dev-python/flask-wtf: remove redundant declarations, cleanup test
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/flask-wtf/flask-wtf-0.15.1.ebuild | 11 +++++------
13 1 file changed, 5 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/flask-wtf/flask-wtf-0.15.1.ebuild b/dev-python/flask-wtf/flask-wtf-0.15.1.ebuild
16 index 64af34e29e5..28eb66691c8 100644
17 --- a/dev-python/flask-wtf/flask-wtf-0.15.1.ebuild
18 +++ b/dev-python/flask-wtf/flask-wtf-0.15.1.ebuild
19 @@ -17,8 +17,6 @@ S="${WORKDIR}/${MY_P}"
20 LICENSE="BSD"
21 SLOT="0"
22 KEYWORDS="amd64 x86"
23 -IUSE="doc test"
24 -RESTRICT="!test? ( test )"
25
26 RDEPEND="
27 >=dev-python/Babel-1[${PYTHON_USEDEP}]
28 @@ -33,8 +31,9 @@ RDEPEND="
29 distutils_enable_sphinx docs
30 distutils_enable_tests pytest
31
32 -python_prepare_all() {
33 +EPYTEST_DESELECT=(
34 # tries to access things over the network
35 - rm tests/test_recaptcha.py || die
36 - distutils-r1_python_prepare_all
37 -}
38 + tests/test_recaptcha.py
39 + # unpackaged Flask-Uploads
40 + tests/test_file.py
41 +)