dev-python/xdoctest: Bump to 1.3.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-09-09 04:56:52 +02:00
parent 677a096524
commit 890d5bb64c
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 49 additions and 0 deletions

View File

@ -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

View File

@ -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
}