From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-apidoc/
Date: Wed, 20 Apr 2022 12:18:35 +0000 (UTC) [thread overview]
Message-ID: <1650457109.519b9f70b373f240fa8f0e461c0cda32ad86d671.mgorny@gentoo> (raw)
commit: 519b9f70b373f240fa8f0e461c0cda32ad86d671
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 12:04:57 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 12:18:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519b9f70
dev-python/sphinxcontrib-apidoc: PEP517, fix tests wrt namespaces
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../sphinxcontrib-apidoc-0.3.0-r1.ebuild | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild
new file mode 100644
index 000000000000..44aa452dc052
--- /dev/null
+++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Sphinx extension for running sphinx-apidoc on each build"
+HOMEPAGE="
+ https://pypi.org/project/sphinxcontrib-apidoc/
+ https://github.com/sphinx-contrib/apidoc/
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+ dev-python/pbr[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ ${BDEPEND}
+ dev-python/sphinx[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}
+
+python_test() {
+ distutils_write_namespace sphinxcontrib
+ cd "${T}" || die
+ epytest "${S}"/tests
+}
next reply other threads:[~2022-04-20 12:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-20 12:18 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-06 18:15 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-apidoc/ Michał Górny
2025-06-05 17:27 Michał Górny
2025-06-05 2:52 Sam James
2025-05-09 1:52 Michał Górny
2024-08-30 10:48 Petr Vaněk
2024-06-22 13:52 Petr Vaněk
2024-01-21 15:44 Sam James
2024-01-16 17:30 Michał Górny
2023-12-30 18:35 Michał Górny
2023-09-04 13:14 Michał Górny
2023-05-31 10:50 Michał Górny
2023-03-17 15:25 Michał Górny
2022-08-18 17:40 Steve Arnold
2022-05-22 14:51 Andrew Ammerlaan
2022-04-26 19:01 Michał Górny
2021-09-30 17:59 Arthur Zamarin
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=1650457109.519b9f70b373f240fa8f0e461c0cda32ad86d671.mgorny@gentoo \
--to=mgorny@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