diff options
Diffstat (limited to 'dev-python/xdoctest')
-rw-r--r-- | dev-python/xdoctest/Manifest | 4 | ||||
-rw-r--r-- | dev-python/xdoctest/metadata.xml | 4 | ||||
-rw-r--r-- | dev-python/xdoctest/xdoctest-0.15.2.ebuild | 35 |
3 files changed, 42 insertions, 1 deletions
diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest index cd1668d6fe45..9f111bac1002 100644 --- a/dev-python/xdoctest/Manifest +++ b/dev-python/xdoctest/Manifest @@ -1,3 +1,5 @@ DIST xdoctest-0.15.0.tar.gz 629125 BLAKE2B f5144365c4d1d58c107ac0603a1d99cd5bc622d3772fc7f2c907193ea863d9ff99bd183cc7fac12e2f85b7647ba25d5ae6878c06d3df9a5cdda9a1f143b43110 SHA512 114add93a75807d787c674b0649f92ff011987705f640912f876c4a4c3103cef90b0fae1959d5a85ef399b80695e9cbfcae6e809950ff5651fa211f54326682d +DIST xdoctest-0.15.2.tar.gz 883332 BLAKE2B e90364d6096357ff1b5006b289a56a1afd0f3d0e952202d17a1b99c16f867e23ce0214a4f646154d9f6aada9f94ddda47a9c1f669a833bffaa63d99c10837766 SHA512 ca3bfc241e2d137988ee6dda2e9229f74add662fc2fe295c4c006a3d63ac6284f3f623451006acc4a8273729ccc589e1c5bab9d7fc65135582d7fc9fcffea464 EBUILD xdoctest-0.15.0.ebuild 1047 BLAKE2B e49775712ebc0f0d3a539c679eab947a63b04f137b8c1415d1b71aaf8da248a2f8357b2f676ea3bc68dc94241ac2ad4cb6cdbf3c195c6d8264d77621399f7ebf SHA512 08ea02966f507f0775532828cf41c36678fd315990027a0b2b3e63e362571783a036de3c04c13444e007961b3e3adeaa10c7570d92d90e37b63177e887fe3c4e -MISC metadata.xml 324 BLAKE2B fd830431a39700b7b25d72a8ca23707e9d8a75723809fa60d2d38854e6bfb4a4100cb68503cc8189833c53ead1d7a2b1d874d2915aeb2820357d481612eaecc8 SHA512 392ed2441c68b3e157f7b9d6f815c018f3ebbfeb1563f1672be6a7e2bfa687e06063727e1005f5a0caa9e7fed229cd344d66be172022b236ae020d2d7455b5f3 +EBUILD xdoctest-0.15.2.ebuild 867 BLAKE2B e8221acff3d5084508f6e3cc642e967f559446f8134d50a8a08501a161c5a35cdf13a472ce5b14d9586f714b43909b2c4fae650df6cfa8e5ed1b7291394186d3 SHA512 79353b29c397c3d785d4f3fc78d268da331071ba5f66fc90f187a8325315bffe52c4afa104f766ac9cfe5fb4a0effcbe55ac3983990a85bed8faa12eebd45657 +MISC metadata.xml 425 BLAKE2B ef6df66f437f7b59189999a895fde27e87580c6eff536aa9b80855b7db9e83c2a0edbaa4784f9438846800b89eac58857c4c303752d1110f86d43194fdee21f9 SHA512 81c57c3abf70d2fc182b5d935ae35187e2f5a9a99b3a5958c282f478fceb0283ee2c09ebe2561da8753dca35c73f54ec3fa17d29ecefd7c50f3c8b7bf42f9657 diff --git a/dev-python/xdoctest/metadata.xml b/dev-python/xdoctest/metadata.xml index c4ab9400881e..a6e5a1e302cb 100644 --- a/dev-python/xdoctest/metadata.xml +++ b/dev-python/xdoctest/metadata.xml @@ -5,6 +5,10 @@ <email>sci@gentoo.org</email> <name>Gentoo Science Project</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <upstream> <remote-id type="pypi">xdoctest</remote-id> </upstream> diff --git a/dev-python/xdoctest/xdoctest-0.15.2.ebuild b/dev-python/xdoctest/xdoctest-0.15.2.ebuild new file mode 100644 index 000000000000..74735ab8e849 --- /dev/null +++ b/dev-python/xdoctest/xdoctest-0.15.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A rewrite of Python's builtin doctest module but without all the weirdness" +HOMEPAGE="https://github.com/Erotemic/xdoctest" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${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}] + <dev-python/nbformat-5.1[${PYTHON_USEDEP}] + ) + )" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme + +python_test() { + local -x PYTHONPATH=. + pytest -vv || die "Test fail with ${EPYTHON}" +} |