From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 11C36138353 for ; Fri, 27 Mar 2020 17:53:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 677A3E1093; Fri, 27 Mar 2020 17:53:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 356D1E1088 for ; Fri, 27 Mar 2020 17:53:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F25BC34F925 for ; Fri, 27 Mar 2020 17:53:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 40A2E1AA for ; Fri, 27 Mar 2020 17:53:00 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1585330733.c18bc4dee7789469854696c46c16636c42327954.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/sphinx-autodoc-typehints/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/sphinx-autodoc-typehints/metadata.xml dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.10.3.ebuild X-VCS-Directories: dev-python/sphinx-autodoc-typehints/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: c18bc4dee7789469854696c46c16636c42327954 X-VCS-Branch: dev Date: Fri, 27 Mar 2020 17:53:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b56a5135-0ebb-49c3-8401-f0d2f7a840e0 X-Archives-Hash: 281939af877d55c345f6dccd049a452c commit: c18bc4dee7789469854696c46c16636c42327954 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Mar 27 17:38:53 2020 +0000 Commit: Alessandro Barbieri gmail 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 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 @@ - - 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 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 }