From 3e48077deb3bcdc826ea6b4936a9523d41bc5d83 Mon Sep 17 00:00:00 2001 From: Mike Pagano Date: Wed, 29 May 2024 09:29:38 -0400 Subject: [PATCH] sys-kernel/linux-docs: add 6.9.2 Signed-off-by: Mike Pagano --- sys-kernel/linux-docs/Manifest | 1 + sys-kernel/linux-docs/linux-docs-6.9.2.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 sys-kernel/linux-docs/linux-docs-6.9.2.ebuild diff --git a/sys-kernel/linux-docs/Manifest b/sys-kernel/linux-docs/Manifest index 995cfa55de355..20475938fa90e 100644 --- a/sys-kernel/linux-docs/Manifest +++ b/sys-kernel/linux-docs/Manifest @@ -1 +1,2 @@ DIST linux-6.8.9.tar.xz 142582332 BLAKE2B 0305b6636a4e382855a2804cedc3984f1e891b26b24412e3533b1f29a07459d39be5121d4618da20098623290e922d502b7ac1b774f39e732f23a778a4b5b5be SHA512 67056eae13be9130e11ea7e4d394d1f0b6b1dccc4f080f72c136870d4486fdebc2c315d149ca4f1e57af4c79dedf849e31c439426166544691508edafca3d350 +DIST linux-6.9.2.tar.xz 144109112 BLAKE2B ae19877e19239c2b521cdf04d182c0ee849228c9ecb4c9dddb626d85ed51faaa5215cc70b5c1ad203c346df85197cd5512894a27eba1c1fd6add9cd2fbaa2a3e SHA512 a168f5b3e7ee7451d5bb1c7f6c090d6002330a4529ef74b2e47f6902ba3d6feaa8dc89f7b5a072d52f6933fd08354a0ff1e12f22240ce53c758c144d4ad132cd diff --git a/sys-kernel/linux-docs/linux-docs-6.9.2.ebuild b/sys-kernel/linux-docs/linux-docs-6.9.2.ebuild new file mode 100644 index 0000000000000..ff2813f4dd855 --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-6.9.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10,11,12} ) +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 ~ia64 ~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 + $(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 +}