summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-26 16:49:55 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-26 16:49:55 +0100
commit2c9e11852b5d0f64fc827a28529c5e7062876046 (patch)
tree2c27cfd68666c78eddfbc5313847b3f5149a1665 /dev-python/sphinx-autodoc-typehints
parentdev-util/gitlab-runner: add 16.8.0 (diff)
downloadgentoo-2c9e11852b5d0f64fc827a28529c5e7062876046.tar.gz
gentoo-2c9e11852b5d0f64fc827a28529c5e7062876046.tar.bz2
gentoo-2c9e11852b5d0f64fc827a28529c5e7062876046.zip
dev-python/sphinx-autodoc-typehints: Bump to 1.25.3
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/Manifest1
-rw-r--r--dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.25.3.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest
index 9dd3e18cdb9c..96f1fac04a9e 100644
--- a/dev-python/sphinx-autodoc-typehints/Manifest
+++ b/dev-python/sphinx-autodoc-typehints/Manifest
@@ -1 +1,2 @@
DIST sphinx_autodoc_typehints-1.25.2.tar.gz 37173 BLAKE2B cec43a8008e84cbc0cc8f1950d8c8b3aceec139f2c9b8de310620fbd7deab021ebc51caa0ec80421d821287c8f9c304102141eda9e1123496d710ce3d87590a7 SHA512 42d14b17e05c46d65fb363f6b640515e1847d1d1b13b9d4707c0e64002e01d974a4c8d06d90f938a149704641926b08755a8c9c1f84883b5841192c7330660a3
+DIST sphinx_autodoc_typehints-1.25.3.tar.gz 37709 BLAKE2B 338a0479af929977af7d3d3b9797e2806f8606c85cf1db182f87cf6d25adafeaf8c4941bc1770f9c55a54227e1132fd424ed80f5efc654f34c7e4b61724ef553 SHA512 e00ed10267605d8d96b159788297ec565f9dc46b2a446136067e1c5d0fed0d276245c052e3121e79fdf3a0aff81e91769728bb829ce07b252d7284af3378fe69
diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.25.3.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.25.3.ebuild
new file mode 100644
index 000000000000..17aaf83155a2
--- /dev/null
+++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.25.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} )
+
+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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+SLOT="0"
+
+RDEPEND="
+ >=dev-python/sphinx-7.1.2[${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
+
+EPYTEST_DESELECT=(
+ # this package is addicted to Internet
+ tests/test_sphinx_autodoc_typehints.py::test_format_annotation
+)