1 |
commit: dff1bf4a87061d0a6e6d97aec748defc765dc8ef |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 8 19:57:30 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 9 06:34:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff1bf4a |
7 |
|
8 |
dev-python/agate: remove IUSE=xml |
9 |
|
10 |
- remove IUSE="xml" as it was used as gateway for test dependencies. |
11 |
- use new EPYTEST_DESELECT |
12 |
|
13 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
14 |
|
15 |
.../{agate-1.6.3.ebuild => agate-1.6.3-r1.ebuild} | 23 +++++++--------------- |
16 |
1 file changed, 7 insertions(+), 16 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/agate/agate-1.6.3.ebuild b/dev-python/agate/agate-1.6.3-r1.ebuild |
19 |
similarity index 60% |
20 |
rename from dev-python/agate/agate-1.6.3.ebuild |
21 |
rename to dev-python/agate/agate-1.6.3-r1.ebuild |
22 |
index 92bdd1023bf..a5508109955 100644 |
23 |
--- a/dev-python/agate/agate-1.6.3.ebuild |
24 |
+++ b/dev-python/agate/agate-1.6.3-r1.ebuild |
25 |
@@ -13,11 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
26 |
LICENSE="MIT" |
27 |
SLOT="0" |
28 |
KEYWORDS="~amd64" |
29 |
-IUSE="+xml" |
30 |
|
31 |
-# Other packages have BDEPEND="test? ( dev-python/agate[xml] )" |
32 |
-LEATHER_VERSION_DEP=">=dev-python/leather-0.3.3-r2" |
33 |
-TEST_AGAINST_RDEPEND="xml? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" |
34 |
RDEPEND=" |
35 |
>=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
36 |
>=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] |
37 |
@@ -26,21 +22,16 @@ RDEPEND=" |
38 |
>=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] |
39 |
>=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] |
40 |
>=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] |
41 |
- ${LEATHER_VERSION_DEP}[${PYTHON_USEDEP}] |
42 |
- |
43 |
- ${TEST_AGAINST_RDEPEND} |
44 |
+ >=dev-python/leather-0.3.3-r2[${PYTHON_USEDEP}] |
45 |
" |
46 |
-BDEPEND="test? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" |
47 |
+BDEPEND="test? ( dev-python/lxml[${PYTHON_USEDEP}] )" |
48 |
|
49 |
distutils_enable_tests pytest |
50 |
distutils_enable_sphinx docs \ |
51 |
dev-python/sphinx_rtd_theme |
52 |
|
53 |
-python_test() { |
54 |
- local deselect=( |
55 |
- # require specific locales |
56 |
- tests/test_data_types.py::TestDate::test_cast_format_locale |
57 |
- tests/test_data_types.py::TestDateTime::test_cast_format_locale |
58 |
- ) |
59 |
- epytest ${deselect[@]/#/--deselect } |
60 |
-} |
61 |
+EPYTEST_DESELECT=( |
62 |
+ # require specific locales |
63 |
+ tests/test_data_types.py::TestDate::test_cast_format_locale |
64 |
+ tests/test_data_types.py::TestDateTime::test_cast_format_locale |
65 |
+) |