summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-docs/linux-docs-6.18.ebuild
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2025-12-02 18:10:30 -0500
committerMike Pagano <mpagano@gentoo.org>2025-12-02 18:10:30 -0500
commit08e2e092d6e45878ffb02da827ce4f1604f7a137 (patch)
tree081cf4393102212223f4862265059bac15e84f36 /sys-kernel/linux-docs/linux-docs-6.18.ebuild
parent56307c6ac38ea7e894d157bafc8fbce82353a97b (diff)
downloadgentoo-08e2e092d6e45878ffb02da827ce4f1604f7a137.tar.gz
gentoo-08e2e092d6e45878ffb02da827ce4f1604f7a137.tar.bz2
gentoo-08e2e092d6e45878ffb02da827ce4f1604f7a137.zip
sys-kernel/linux-docs: add 6.18
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'sys-kernel/linux-docs/linux-docs-6.18.ebuild')
-rw-r--r--sys-kernel/linux-docs/linux-docs-6.18.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/sys-kernel/linux-docs/linux-docs-6.18.ebuild b/sys-kernel/linux-docs/linux-docs-6.18.ebuild
new file mode 100644
index 000000000000..2378dcfce4e7
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-6.18.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{11,12,13,14} )
+inherit linux-info python-any-r1 toolchain-funcs
+
+MY_P=linux-${PV}
+
+DESCRIPTION="Developer documentation generated from the Linux kernel"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI="https://www.kernel.org/pub/linux/kernel/v6.x/${MY_P}.tar.xz"
+
+S=${WORKDIR}/${MY_P}
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="graphviz"
+
+RDEPEND="graphviz? ( >=media-gfx/graphviz-5.0.0 )"
+
+BDEPEND="${PYTHON_DEPS}
+ >=dev-python/sphinx-7.2.3
+ dev-python/sphinx-rtd-theme
+ media-libs/fontconfig
+ dev-python/docutils
+ $(python_gen_any_dep '
+ >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
+ ')"
+
+src_prepare() {
+ default
+ # Fix the Python shebangs.
+ python_fix_shebang "${S}/Documentation/sphinx/"
+}
+
+src_compile() {
+ local ARCH="$(tc-arch-kernel)"
+ unset KBUILD_OUTPUT
+ HTML_DOCS=( Documentation/output/. )
+ emake htmldocs
+}
+
+src_install() {
+ einstalldocs
+}