summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-31 18:37:41 +0100
committerMichał Górny <mgorny@gentoo.org>2023-10-31 20:12:25 +0100
commitb64902d3ff6c9b00e74dc4307daab3ac091b9893 (patch)
treed363881da8ee9682c5d379b739090e42b83eabb8 /dev-python/sphinx-autodoc-typehints
parentdev-python/Faker: Bump to 19.12.1 (diff)
downloadgentoo-b64902d3ff6c9b00e74dc4307daab3ac091b9893.tar.gz
gentoo-b64902d3ff6c9b00e74dc4307daab3ac091b9893.tar.bz2
gentoo-b64902d3ff6c9b00e74dc4307daab3ac091b9893.zip
dev-python/sphinx-autodoc-typehints: Bump to 1.24.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/Manifest1
-rw-r--r--dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.24.1.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 58886cf2f375..84b06f09ace3 100644
--- a/dev-python/sphinx-autodoc-typehints/Manifest
+++ b/dev-python/sphinx-autodoc-typehints/Manifest
@@ -1 +1,2 @@
DIST sphinx_autodoc_typehints-1.24.0.tar.gz 36127 BLAKE2B 46f9eb12b7327dceaf623bcf76a0a58a7805e1e917f4617e0dada7a1f8511af9045acc4f318e0956e1fe43daec9e154f1cc0ba932dd01cc4b45ed968221046bb SHA512 f56aa2f937e1cc0063b1776d4b46e51f9ec390fc07c603ac502e19f7b859815802145f61a1bebd2c7b57ae394549119040a88829ba477cc1e1c2da1ef5782f34
+DIST sphinx_autodoc_typehints-1.24.1.tar.gz 36436 BLAKE2B be1de2ea15dd39f4adb30028849645b69a7f21aec7997a3fd633a5ba606a78e8f095b6a05bc66242003670adf5846c7b444ffd5eead39e0a7836f097ed0a3302 SHA512 d79f540939a8e669d0aaf238a213aade330ed46112231adae3ca822afdf5d12178247afc4a2a46938dc49aa73e556d0303db28e2ff48ebf6e26ddf71a7759c4e
diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.24.1.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.24.1.ebuild
new file mode 100644
index 000000000000..bfedfcb23611
--- /dev/null
+++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.24.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 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
+)