diff --git a/dev-python/sphinx-autodoc-typehints/metadata.xml b/dev-python/sphinx-autodoc-typehints/metadata.xml index 628ab20176..34a6533425 100644 --- a/dev-python/sphinx-autodoc-typehints/metadata.xml +++ b/dev-python/sphinx-autodoc-typehints/metadata.xml @@ -2,8 +2,15 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +This extension allows you to use Python 3 annotations for documenting acceptable argument types and return value types of functions. This allows you to use type hints in a very natural fashion + + + agronholm/sphinx-autodoc-typehints + sphinx-autodoc-typehints + diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild index 20e209565e..8b4b1fc11e 100644 --- a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild @@ -3,16 +3,19 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 DESCRIPTION="Type hints support for the Sphinx autodoc extension " -HOMEPAGE="https://github.com/agronholm/sphinx-autodoc-typehints" +HOMEPAGE=" + https://github.com/agronholm/sphinx-autodoc-typehints + https://pypi.org/project/sphinx-autodoc-typehints +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" -KEYWORDS="~amd64 ~x86 " +KEYWORDS="~amd64 ~x86" SLOT="0" BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" @@ -33,7 +36,7 @@ python_prepare_all() { -e 's:test_format_annotation_both_libs:_&:' \ -e 's:test_format_annotation_both_libs:_&:' \ -e 's:test_format_annotation_both_libs:_&:' \ - tests/test_sphinx_autodoc_typehints.py || die + tests/test_sphinx_autodoc_typehints.py || die distutils-r1_python_prepare_all }