commit: 890d5bb64c53fe7ab0139acbf3a49761886c2026
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 9 02:56:52 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 9 03:22:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890d5bb6
dev-python/xdoctest: Bump to 1.3.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/xdoctest/Manifest | 1 +
dev-python/xdoctest/xdoctest-1.3.0.ebuild | 48 +++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest
index 6b7994c184d0..edad6c312902 100644
--- a/dev-python/xdoctest/Manifest
+++ b/dev-python/xdoctest/Manifest
@@ -1 +1,2 @@
DIST xdoctest-1.2.0.gh.tar.gz 231269 BLAKE2B
5593bfa8a2d4ff6ff13db592e83325c6bd30e6614db969aec7b4072ec788a203024a0e4066b69a34782cc99252d0601a0a3db0c2b70cf5b7f58e9f6dad2de89d
SHA512
a33509e494919bbcb630307b0a71f784d7e2be1d1c6422e49c2286218f21202088faa4baabc5e33a836225ca1fd0c12937de15a9a5b90ac4a80f35c8218b0071
+DIST xdoctest-1.3.0.gh.tar.gz 233012 BLAKE2B
87a10ae11f94e013191535c45b5e92fb44ed2e3051c4b2d38a7f8eabcf521cd0c5e22a8d40eaa42788e1ecc3b4bc90734f9b29ca1f5df8ef833ca1b3fd39df5e
SHA512
5a245415f318f09c403fa18d2538240e21c9820e7c7db8830acc3ef32a1f886f7aaffe918d6188ca30e8e0a542f077e62dc786bcadc00a07a1271b603b8aa5f2
diff --git a/dev-python/xdoctest/xdoctest-1.3.0.ebuild
b/dev-python/xdoctest/xdoctest-1.3.0.ebuild
new file mode 100644
index 000000000000..a7fcaad0c101
--- /dev/null
+++ b/dev-python/xdoctest/xdoctest-1.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="A rewrite of Python's builtin doctest module but without all the
weirdness"
+HOMEPAGE="
+ https://github.com/Erotemic/xdoctest/
+ https://pypi.org/project/xdoctest/
+"
+SRC_URI="
+ https://github.com/Erotemic/xdoctest/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ dev-python/pytest[${PYTHON_USEDEP}]
+"
+# dev-python/nbformat-5.1.{0..2} did not install package data
+BDEPEND="
+ test? (
+ >=dev-python/nbformat-5.1.2-r1[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=( "${PN}" )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # broken by PYTEST_PLUGINS
+
tests/test_plugin.py::TestXDoctestActivation::test_xdoctest_explicit_suppression
+ tests/test_pytest_cli.py::test_simple_pytest_import_error_cli
+ )
+
+ epytest --pyargs tests xdoctest
+}