commit:     f2755216143691b4d02a1b6a6d29d00bf99b347f
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 19 14:23:08 2023 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 14:23:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2755216

sys-kernel/linux-docs: add 6.1.46, fixes compilation issue

Closes: https://bugs.gentoo.org/912572

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 sys-kernel/linux-docs/Manifest                 |  1 +
 sys-kernel/linux-docs/linux-docs-6.1.46.ebuild | 44 ++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/sys-kernel/linux-docs/Manifest b/sys-kernel/linux-docs/Manifest
index 20f4f7ddbdea..4a2f893ca8c0 100644
--- a/sys-kernel/linux-docs/Manifest
+++ b/sys-kernel/linux-docs/Manifest
@@ -1 +1,2 @@
 DIST linux-6.1.29.tar.xz 134881816 BLAKE2B 
b6cf62bc9f1a9120f04857911e2a8fcf3fc5416f55b7d7bc61ded730941220f6f3202d1a86e14dc9f38f6dd40ef7614d52126d9089ccd0cc1eda144df6b102ba
 SHA512 
be078b38ea343b8bade634aa3c75a0f8aaf70964c5ead73d658a0f1a07ca541de5e7b68fca2ede0638773d345a0c7d89c4d74709bb1101e844f3babc1c14b83f
+DIST linux-6.1.46.tar.xz 134962288 BLAKE2B 
07a069c04919899ce2b0859d0a528ee13b154ec8c9e868a2a0e64f6bdcc0ce30ea4fd002f1b58e62eebfaf8216e528e26b79c7a99c67f208e4d36eca590836bf
 SHA512 
677d524974f76aeaaddab158e13df7c820e92f6e3c74683f5cd3dc9923859982079cd1da3fb41d3e87f96d72fb0abbc92d662122898e0a79adc7c8eebf005bd5

diff --git a/sys-kernel/linux-docs/linux-docs-6.1.46.ebuild 
b/sys-kernel/linux-docs/linux-docs-6.1.46.ebuild
new file mode 100644
index 000000000000..be3a13265328
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-6.1.46.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9,10,11} )
+inherit linux-info python-any-r1 toolchain-funcs
+
+MY_P=linux-${PV}
+
+S=${WORKDIR}/${MY_P}
+
+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";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+
+IUSE="graphviz"
+
+DEPEND=""
+RDEPEND="graphviz? ( >=media-gfx/graphviz-5.0.0 )"
+BDEPEND="${PYTHON_DEPS}
+       >=dev-python/sphinx-7
+       dev-python/sphinx-rtd-theme
+       media-libs/fontconfig"
+
+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
+}

Reply via email to