diff options
author | 2025-01-17 04:50:42 +0100 | |
---|---|---|
committer | 2025-01-17 04:50:42 +0100 | |
commit | 79fdf68b3dead0e2d03d8ee790037028f03b4421 (patch) | |
tree | 842ff9e0e64137ca019dfc02b30e3ba9b6b876ef /dev-python/sphinx-autodoc-typehints | |
parent | dev-python/python-box: Bump to 7.3.2 (diff) | |
download | gentoo-79fdf68b3dead0e2d03d8ee790037028f03b4421.tar.gz gentoo-79fdf68b3dead0e2d03d8ee790037028f03b4421.tar.bz2 gentoo-79fdf68b3dead0e2d03d8ee790037028f03b4421.zip |
dev-python/sphinx-autodoc-typehints: Bump to 3.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sphinx-autodoc-typehints')
-rw-r--r-- | dev-python/sphinx-autodoc-typehints/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.0.1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 7de1fb308759..85d9df24886c 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1,2 +1,3 @@ DIST sphinx_autodoc_typehints-2.5.0.tar.gz 40822 BLAKE2B 0d09c878f0f8462879bec6fe786577a8587065a757218b775f6642aa5cf28cca82b85aeedb1c7dd3cf0788758d00b56c2a775f44bb550ff95aa947c88f1a642d SHA512 4308873ee2bd794c822e76ed712b0c0547815f5e3125e158e79f512fdd31dd482a60b172a39f6f53ae57d5c2bf156eb4c4ff2fe3c8f39446fc2acd69004f8bc0 DIST sphinx_autodoc_typehints-3.0.0.tar.gz 35943 BLAKE2B 591fa66e0ebf55cb89077c299b08dee4ba01ff85ab958cbe2c703873e4e7f6b924305a8ae1b4f58fb29fc34f35099014cb6254d8745fecd7f8e5c60ed96d0c81 SHA512 23e0017d68e12bedc56ff59b3620e981733816be5803bb86446821d0b5d66b5b472bee9fc242ad084913034fab1241200b8835a8f82fc89a1ae85b9e22e2f03c +DIST sphinx_autodoc_typehints-3.0.1.tar.gz 36282 BLAKE2B 44fbb2de34cd788e400d0556599cac9501d65cbccc1338be3b927d9c35e2141042885376da6df488cfae05af0667210b6d74c240710af5c848eff0a03c83eeca SHA512 f15a14c010328d46ab50c8f28c84d332502b577b95d739439a8b583e95303105fa403058443f4120c043a3d3635d4cff8274adc9472e1876aa9f476e78b4abcd diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.0.1.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.0.1.ebuild new file mode 100644 index 000000000000..2377b9336314 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/sphinx-8.1.3[${PYTHON_USEDEP}] +" +# skipping optional test dep on dev-python/nptyping as that package +# is horribly broken and on its way out +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # this package is addicted to Internet + tests/test_sphinx_autodoc_typehints.py::test_format_annotation + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |