1 |
commit: 6fc398436c10a04b84f8e22d3edad36a35e78e76 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 06:56:57 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 06:58:56 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc39843 |
7 |
|
8 |
dev-python/xdoctest: Bump to 1.1.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/xdoctest/Manifest | 1 + |
13 |
dev-python/xdoctest/xdoctest-1.1.1.ebuild | 49 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest |
17 |
index 438c02b95a3b..63b76f6d1cb0 100644 |
18 |
--- a/dev-python/xdoctest/Manifest |
19 |
+++ b/dev-python/xdoctest/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xdoctest-1.1.0.gh.tar.gz 208884 BLAKE2B cdba39e0e7108ddf7b637391dc549853754864d407b11c9237e9bc9988686bba2787e37892451bbdd3df4f7a2f01b0c446a658180c6ab06081b494313bbfe066 SHA512 55d3e58969414098a60fc4f825a8323c4e0de88e7f387fd93e61bd7c54fcebd76a66eff8d07850383009fce0e5c301838a051c886a45e4f1159e6210493a057c |
22 |
+DIST xdoctest-1.1.1.gh.tar.gz 212973 BLAKE2B 2af66b23889ba1f0321af08fbb81cec87f6c582fe000eaa3372f166287bf69b40fd82eff1029aadb0d0d62760640881676f61571f0bed37309a98680450fbe77 SHA512 8b0f77df54be8e61bf1b98bbc6ef7ac76337e634ea590394e13481c61ea83b6b4b017588f8d6ab813f95d277f605ece2d82441d6cbd25bbf485dd5bc85677abd |
23 |
|
24 |
diff --git a/dev-python/xdoctest/xdoctest-1.1.1.ebuild b/dev-python/xdoctest/xdoctest-1.1.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..2c7df196799c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/xdoctest/xdoctest-1.1.1.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A rewrite of Python's builtin doctest module but without all the weirdness" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/Erotemic/xdoctest/ |
43 |
+ https://pypi.org/project/xdoctest/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/Erotemic/xdoctest/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+SLOT="0" |
51 |
+LICENSE="Apache-2.0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/six[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+# dev-python/nbformat-5.1.{0..2} did not install package data |
58 |
+BDEPEND=" |
59 |
+ test? ( |
60 |
+ >=dev-python/nbformat-5.1.2-r1[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+#distutils_enable_sphinx docs/source \ |
66 |
+# dev-python/autoapi \ |
67 |
+# dev-python/sphinx_rtd_theme |
68 |
+ |
69 |
+EPYTEST_DESELECT=( |
70 |
+ tests/test_pytest_cli.py::test_simple_pytest_import_error_cli |
71 |
+) |
72 |
+ |
73 |
+python_test() { |
74 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
75 |
+ local -x PYTEST_PLUGINS=xdoctest.plugin |
76 |
+ |
77 |
+ epytest --pyargs tests xdoctest |
78 |
+} |