diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/xdoctest | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/xdoctest')
| -rw-r--r-- | dev-python/xdoctest/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/xdoctest/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/xdoctest/xdoctest-1.3.2.ebuild | 48 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest new file mode 100644 index 000000000000..8ae12dec5817 --- /dev/null +++ b/dev-python/xdoctest/Manifest @@ -0,0 +1 @@ +DIST xdoctest-1.3.2.gh.tar.gz 235647 BLAKE2B f663ce1ca24417fbd90f5c24b251c851ddc743a5837fb0d1c545a7dd0b575cbb4df1cd8243666df4a99809647efdb1d541e8a06a37e1f1ea9b9c521707ea7878 SHA512 539f67863bccd48397411a564e1cf6304a107790e551927523b803bf1d332a38a0ec5bc2101b66efb36d848027e17fcfbddbdd625d791ea180f1d2166cec7f94 diff --git a/dev-python/xdoctest/metadata.xml b/dev-python/xdoctest/metadata.xml new file mode 100644 index 000000000000..70034358efd3 --- /dev/null +++ b/dev-python/xdoctest/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/xdoctest/xdoctest-1.3.2.ebuild b/dev-python/xdoctest/xdoctest-1.3.2.ebuild new file mode 100644 index 000000000000..6d89c1933559 --- /dev/null +++ b/dev-python/xdoctest/xdoctest-1.3.2.ebuild @@ -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_{13..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 +} |
