diff options
Diffstat (limited to 'sys-kernel')
| -rw-r--r-- | sys-kernel/linux-docs/Manifest | 1 | ||||
| -rw-r--r-- | sys-kernel/linux-docs/linux-docs-6.18.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-kernel/linux-docs/Manifest b/sys-kernel/linux-docs/Manifest index af40b0322586..51a7f4049843 100644 --- a/sys-kernel/linux-docs/Manifest +++ b/sys-kernel/linux-docs/Manifest @@ -1 +1,2 @@ DIST linux-6.16.4.tar.xz 152687456 BLAKE2B 251feef2f995c155850eac2fce5b89f37f39e9f13b6a4e6873370fdc69654692c6bf6c92f04ca7c0b5fd6088d74442afb68db71d2cc18691e23c61b0be714f34 SHA512 94a47c753d412f2f22b42d8dcff37741aab3e03f4c8736c2a42a9437fc365af02548c80d009ff2b852ddff14a986ac6093c0dfe301df4f17e727137d28d86e04 +DIST linux-6.18.tar.xz 154309096 BLAKE2B b94b7b9bf18aca0c3e50baf79b009a1448fc6cd9c3ee019f641cc247dcf53a4abef4274ee0608ad8cd4943af69854363a95d26e117ff23620bb07dccb158859f SHA512 88599ffdec96d150c1feb9b261ba93bb0301a9d0e1ad6bef7aeab1f5372cbfc57d8b43c7e902bd8f76921d1dbd8189663c142ea869e51d0e2b483b150ee00fe0 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 +} |
