commit:     c15823cae00f79c7d3758b0342c421457c32628b
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Wed Feb 21 00:29:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 02:53:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c15823ca

dev-util/ebuildtester: correct sphinx dependency

* Sphinx is only needed for building docs, previously the docs weren't
  even built so actually build it conditionally.
* DEPEND -> BDEPEND.

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35453
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/ebuildtester/ebuildtester-42-r3.ebuild | 34 +++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/dev-util/ebuildtester/ebuildtester-42-r3.ebuild 
b/dev-util/ebuildtester/ebuildtester-42-r3.ebuild
new file mode 100644
index 000000000000..f15cf5a0fb54
--- /dev/null
+++ b/dev-util/ebuildtester/ebuildtester-42-r3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit bash-completion-r1 distutils-r1 pypi
+
+DESCRIPTION="A dockerized approach to test a Gentoo package within a clean 
stage3 container"
+HOMEPAGE="https://ebuildtester.readthedocs.io/";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       app-containers/docker
+       app-containers/docker-cli
+       sys-fs/fuse
+"
+
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+distutils_enable_tests unittest
+
+src_install() {
+       distutils-r1_src_install
+       newbashcomp "${PN}.bash-completion" "${PN}"
+}

Reply via email to