mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/xdoctest: Bump to 1.3.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST xdoctest-1.3.0.gh.tar.gz 233012 BLAKE2B 87a10ae11f94e013191535c45b5e92fb44ed2e3051c4b2d38a7f8eabcf521cd0c5e22a8d40eaa42788e1ecc3b4bc90734f9b29ca1f5df8ef833ca1b3fd39df5e SHA512 5a245415f318f09c403fa18d2538240e21c9820e7c7db8830acc3ef32a1f886f7aaffe918d6188ca30e8e0a542f077e62dc786bcadc00a07a1271b603b8aa5f2
|
||||
DIST xdoctest-1.3.1.gh.tar.gz 234629 BLAKE2B f6ea5fd44498c216657f0006eb1003e0d7a36ddf405427e164e1a46b7ce3492f9e2198863e56ad9279424bdc1f627d8ab7b6b3c180260254cc5052994907e3e5 SHA512 ddc710efee7a5711d38c75223cc25ac7f6dc45218f844e5c686f7e4b148a1d29aec4d0463d3c8630699b091f498127d76dcfb0b7c9aba9568d618e2b9ba3a822
|
||||
DIST xdoctest-1.3.2.gh.tar.gz 235647 BLAKE2B f663ce1ca24417fbd90f5c24b251c851ddc743a5837fb0d1c545a7dd0b575cbb4df1cd8243666df4a99809647efdb1d541e8a06a37e1f1ea9b9c521707ea7878 SHA512 539f67863bccd48397411a564e1cf6304a107790e551927523b803bf1d332a38a0ec5bc2101b66efb36d848027e17fcfbddbdd625d791ea180f1d2166cec7f94
|
||||
|
||||
48
dev-python/xdoctest/xdoctest-1.3.2.ebuild
Normal file
48
dev-python/xdoctest/xdoctest-1.3.2.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2026 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
|
||||
}
|
||||
Reference in New Issue
Block a user