dev-python/sphinx-autodoc-typehints: longdescription, pypi

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-03-27 18:38:53 +01:00
parent 7077cb155a
commit c18bc4dee7
2 changed files with 18 additions and 8 deletions

View File

@@ -2,8 +2,15 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@riseup.net</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<maintainer type="person">
<email>andrewammerlaan@riseup.net</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>

View File

@@ -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
}