diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-29 09:37:58 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-29 10:00:16 +0100 |
commit | 953232dad5ffaa3061ee4889e69478556e5cafa5 (patch) | |
tree | 2f50e349530806150420156a0af85344c36457ad /dev-python/xdoctest | |
parent | dev-python/boto3: Bump to 1.16.62 (diff) | |
download | gentoo-953232dad5ffaa3061ee4889e69478556e5cafa5.tar.gz gentoo-953232dad5ffaa3061ee4889e69478556e5cafa5.tar.bz2 gentoo-953232dad5ffaa3061ee4889e69478556e5cafa5.zip |
dev-python/xdoctest: Bump to 0.15.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/xdoctest')
-rw-r--r-- | dev-python/xdoctest/Manifest | 1 | ||||
-rw-r--r-- | dev-python/xdoctest/xdoctest-0.15.3.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest index d822b7408af5..b661756a7c85 100644 --- a/dev-python/xdoctest/Manifest +++ b/dev-python/xdoctest/Manifest @@ -1,2 +1,3 @@ DIST xdoctest-0.15.0.tar.gz 629125 BLAKE2B f5144365c4d1d58c107ac0603a1d99cd5bc622d3772fc7f2c907193ea863d9ff99bd183cc7fac12e2f85b7647ba25d5ae6878c06d3df9a5cdda9a1f143b43110 SHA512 114add93a75807d787c674b0649f92ff011987705f640912f876c4a4c3103cef90b0fae1959d5a85ef399b80695e9cbfcae6e809950ff5651fa211f54326682d DIST xdoctest-0.15.2.tar.gz 883332 BLAKE2B e90364d6096357ff1b5006b289a56a1afd0f3d0e952202d17a1b99c16f867e23ce0214a4f646154d9f6aada9f94ddda47a9c1f669a833bffaa63d99c10837766 SHA512 ca3bfc241e2d137988ee6dda2e9229f74add662fc2fe295c4c006a3d63ac6284f3f623451006acc4a8273729ccc589e1c5bab9d7fc65135582d7fc9fcffea464 +DIST xdoctest-0.15.3.gh.tar.gz 179880 BLAKE2B d35ccfaf4662c91d7b9a7191dc090721b963728312283af44c29614fe8af3d77434b192521bd29f760c7b53dd4e3dc708ccc7dc7c9ba294990a08441cbbda989 SHA512 b5e393246ef3c52481d48bbc9f91ddb0ffce24fd06c914d188f82ba9b7267727d9415fdd9a90f215c82e8bd76a4db2ab23aa99f473fe4901cc443d2196c9d3c9 diff --git a/dev-python/xdoctest/xdoctest-0.15.3.ebuild b/dev-python/xdoctest/xdoctest-0.15.3.ebuild new file mode 100644 index 000000000000..3859ad1c316e --- /dev/null +++ b/dev-python/xdoctest/xdoctest-0.15.3.ebuild @@ -0,0 +1,36 @@ +# 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" +SRC_URI=" + https://github.com/Erotemic/xdoctest/archive/${PV}.tar.gz + -> ${P}.gh.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}" +} |