public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-autodoc-typehints/
Date: Thu, 20 May 2021 15:02:34 +0000 (UTC)	[thread overview]
Message-ID: <1621522951.a5ccd8b420cb9f7ed7b30eac6b7eec10760072b9.andrewammerlaan@gentoo> (raw)

commit:     a5ccd8b420cb9f7ed7b30eac6b7eec10760072b9
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu May 20 14:51:33 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu May 20 15:02:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ccd8b4

dev-python/sphinx-autodoc-typehints: import from ::guru

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/sphinx-autodoc-typehints/Manifest       |  1 +
 dev-python/sphinx-autodoc-typehints/metadata.xml   | 17 +++++++++
 .../sphinx-autodoc-typehints-1.12.0.ebuild         | 43 ++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest
new file mode 100644
index 00000000000..c3b115698f0
--- /dev/null
+++ b/dev-python/sphinx-autodoc-typehints/Manifest
@@ -0,0 +1 @@
+DIST sphinx-autodoc-typehints-1.12.0.tar.gz 19494 BLAKE2B beacc4f8ab453612dfd5264f1c65fd6bdd957269a28ee5b71b762d0baf5a3d4be58398b32d4263f996648281c1139f47a7564e8fc6444a94095f6a970b4cc27a SHA512 92fa340495a48111fa3d600d8c46d83214505ac2a5c71cb1303e846ac439f1e0ff14f8ce8dfd5ffdb6a62a9fa15dde8a5227f946840d9377ad5f7fde25894b75

diff --git a/dev-python/sphinx-autodoc-typehints/metadata.xml b/dev-python/sphinx-autodoc-typehints/metadata.xml
new file mode 100644
index 00000000000..a8e231b705d
--- /dev/null
+++ b/dev-python/sphinx-autodoc-typehints/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>andrewammerlaan@gentoo.org</email>
+    <name>Andrew Ammerlaan</name>
+  </maintainer>
+  <longdescription lang="en">
+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>
+  <stabilize-allarches/>
+</pkgmetadata>

diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.12.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.12.0.ebuild
new file mode 100644
index 00000000000..1999e89a227
--- /dev/null
+++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.12.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Type hints support for the Sphinx autodoc extension "
+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"
+SLOT="0"
+
+BDEPEND="
+	dev-python/setuptools_scm[${PYTHON_USEDEP}]
+	test? (
+		dev-python/sphobjinv[${PYTHON_USEDEP}]
+		dev-python/typing-extensions[${PYTHON_USEDEP}]
+	)
+"
+
+# https://github.com/agronholm/sphinx-autodoc-typehints/issues/176
+RDEPEND="<dev-python/sphinx-4[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	# why on earth would this have to connect to the internet
+	sed -i \
+		-e 's:test_parse_annotation:_&:' \
+		-e 's:test_format_annotation:_&:' \
+		-e 's:test_format_annotation_both_libs:_&:' \
+		tests/test_sphinx_autodoc_typehints.py || die
+
+	distutils-r1_python_prepare_all
+}


             reply	other threads:[~2021-05-20 15:02 UTC|newest]

Thread overview: 134+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20 15:02 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-25 18:23 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-autodoc-typehints/ Sergei Trofimovich
2021-07-08  7:09 Sergei Trofimovich
2021-07-08  7:11 Sergei Trofimovich
2021-07-12  0:58 Sam James
2021-07-26  2:27 Sam James
2021-07-28  1:08 Sam James
2021-09-10  1:27 Sam James
2021-09-20  6:25 Agostino Sarubbo
2021-11-15 16:29 Agostino Sarubbo
2021-11-18 10:50 Sam James
2021-11-19  7:59 Arthur Zamarin
2021-11-19 11:39 Arthur Zamarin
2022-01-02 10:59 Michał Górny
2022-01-04 21:29 Arthur Zamarin
2022-01-06 19:05 Arthur Zamarin
2022-01-07 16:49 Arthur Zamarin
2022-01-10 20:00 Michał Górny
2022-01-11  9:59 Michał Górny
2022-01-18 22:44 Michał Górny
2022-01-20 16:42 Sam James
2022-01-20 23:26 Michał Górny
2022-01-25 20:47 Arthur Zamarin
2022-01-25 20:53 Arthur Zamarin
2022-01-26 13:19 Yixun Lan
2022-01-26 19:27 Arthur Zamarin
2022-01-26 19:36 Arthur Zamarin
2022-01-26 19:38 Arthur Zamarin
2022-01-26 20:06 Arthur Zamarin
2022-01-26 20:07 Arthur Zamarin
2022-02-07  9:35 Sam James
2022-02-07 20:14 Arthur Zamarin
2022-02-07 22:29 Sam James
2022-02-11 21:18 Michał Górny
2022-02-13  8:41 Jakov Smolić
2022-02-13  8:41 Jakov Smolić
2022-02-13 15:23 Sam James
2022-02-15 16:19 Sam James
2022-02-16 20:00 Arthur Zamarin
2022-02-16 20:13 Arthur Zamarin
2022-02-16 20:21 Arthur Zamarin
2022-03-15 13:07 Jakov Smolić
2022-03-15 14:26 Michał Górny
2022-04-12 17:34 Michał Górny
2022-04-15  7:16 Arthur Zamarin
2022-04-19 17:21 Michał Górny
2022-05-11 12:56 Jakov Smolić
2022-05-22  1:51 Sam James
2022-05-22  5:16 Michał Górny
2022-06-04  7:00 Michał Górny
2022-06-05  5:52 Michał Górny
2022-06-11  5:35 Arthur Zamarin
2022-07-10 16:56 Sam James
2022-07-10 18:50 Michał Górny
2022-07-29 10:12 Arthur Zamarin
2022-08-01 11:07 Michał Górny
2022-08-08 19:18 Arthur Zamarin
2022-08-30 16:42 Jakov Smolić
2022-08-30 17:06 Arthur Zamarin
2022-09-27  2:04 Michał Górny
2022-09-27 18:25 Arthur Zamarin
2022-11-03 19:52 Arthur Zamarin
2022-11-03 19:56 Arthur Zamarin
2022-11-08 13:19 Andrew Ammerlaan
2022-11-16 13:55 Andrew Ammerlaan
2022-12-16 19:44 Arthur Zamarin
2022-12-17  6:43 Michał Górny
2023-01-06  5:35 Michał Górny
2023-01-07  4:54 Michał Górny
2023-01-14  4:57 Michał Górny
2023-01-16  6:11 Michał Górny
2023-01-17  5:08 Michał Górny
2023-01-18  7:34 Michał Górny
2023-01-19  6:08 Michał Górny
2023-01-19  6:08 Michał Górny
2023-01-20  4:50 Michał Górny
2023-01-20 21:38 Michał Górny
2023-01-20 21:38 Michał Górny
2023-01-24 18:14 Michał Górny
2023-01-31  7:09 Michał Górny
2023-02-13  3:22 Matt Turner
2023-02-16 20:58 Arthur Zamarin
2023-04-09 20:40 Andrew Ammerlaan
2023-04-14  3:59 Michał Górny
2023-05-20  7:02 Michał Górny
2023-06-16  4:05 Michał Górny
2023-06-17  5:59 Michał Górny
2023-06-27  3:54 Michał Górny
2023-07-21 19:05 Arthur Zamarin
2023-08-20  8:03 Michał Górny
2023-08-20  8:29 Sam James
2023-08-20  9:17 Michał Górny
2023-08-20  9:17 Michał Górny
2023-10-31 19:12 Michał Górny
2023-11-10  4:09 Michał Górny
2023-11-10 21:11 Michał Górny
2023-11-11  8:42 Michał Górny
2023-11-29 10:33 Michał Górny
2023-11-29 10:35 Michał Górny
2024-01-26 16:27 Michał Górny
2024-02-08  4:22 Michał Górny
2024-02-11  6:01 Sam James
2024-02-11 13:14 Michał Górny
2024-02-24  9:49 Michał Górny
2024-02-24  9:50 Michał Górny
2024-04-18  5:34 Michał Górny
2024-05-04  7:20 Arthur Zamarin
2024-05-04  7:43 Michał Górny
2024-06-14 11:42 Petr Vaněk
2024-06-20  4:45 Michał Górny
2024-06-22  5:33 Michał Górny
2024-06-23  2:53 Michał Górny
2024-07-13  9:36 Arthur Zamarin
2024-07-13  9:48 Michał Górny
2024-07-18  1:56 Michał Górny
2024-08-03  6:24 Michał Górny
2024-08-03  6:37 Michał Górny
2024-08-30  1:56 Michał Górny
2024-09-08  2:52 Michał Górny
2024-09-13  3:12 Michał Górny
2024-09-18 14:03 Michał Górny
2024-09-19  4:27 Michał Górny
2024-09-19  4:27 Michał Górny
2024-09-28 11:32 Arthur Zamarin
2024-09-28 12:04 Michał Górny
2024-10-05  7:10 Michał Górny
2024-10-05  7:12 Michał Górny
2024-10-09  6:31 Michał Górny
2024-10-26 12:48 Arthur Zamarin
2024-10-26 13:07 Michał Górny
2025-01-03  5:47 Michał Górny
2025-01-17  4:33 Michał Górny
2025-02-01  9:52 Arthur Zamarin
2025-02-01 10:13 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1621522951.a5ccd8b420cb9f7ed7b30eac6b7eec10760072b9.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox