commit: c18bc4dee7789469854696c46c16636c42327954 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Fri Mar 27 17:38:53 2020 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Fri Mar 27 17:38:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c18bc4de
dev-python/sphinx-autodoc-typehints: longdescription, pypi Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/sphinx-autodoc-typehints/metadata.xml | 15 +++++++++++---- .../sphinx-autodoc-typehints-1.10.3.ebuild | 11 +++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/dev-python/sphinx-autodoc-typehints/metadata.xml b/dev-python/sphinx-autodoc-typehints/metadata.xml index 628ab20..34a6533 100644 --- a/dev-python/sphinx-autodoc-typehints/metadata.xml +++ b/dev-python/sphinx-autodoc-typehints/metadata.xml @@ -2,8 +2,15 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Andrew Ammerlaan</name> - </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <longdescription> +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 + </longdescription> + <upstream> + <remote-id type="github">agronholm/sphinx-autodoc-typehints</remote-id> + <remote-id type="pypi">sphinx-autodoc-typehints</remote-id> + </upstream> </pkgmetadata> 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 20e2095..8b4b1fc 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 }
