diff options
| author | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-02 11:24:22 -0500 |
|---|---|---|
| committer | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-02 11:24:22 -0500 |
| commit | fa2a9ceb34861c64aee4400a4686233134d8e652 (patch) | |
| tree | 8eae804ea9a6ecae6af75b29d59c2376dc9153ed /sys-kernel/linux-docs/linux-docs-6.18.33.ebuild | |
| parent | 637414c2448c2e6b0a24db5fafe01716205be445 (diff) | |
| download | baldeagleos-repo-fa2a9ceb34861c64aee4400a4686233134d8e652.tar.gz baldeagleos-repo-fa2a9ceb34861c64aee4400a4686233134d8e652.tar.xz baldeagleos-repo-fa2a9ceb34861c64aee4400a4686233134d8e652.zip | |
Adding metadata
Diffstat (limited to 'sys-kernel/linux-docs/linux-docs-6.18.33.ebuild')
| -rw-r--r-- | sys-kernel/linux-docs/linux-docs-6.18.33.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sys-kernel/linux-docs/linux-docs-6.18.33.ebuild b/sys-kernel/linux-docs/linux-docs-6.18.33.ebuild new file mode 100644 index 000000000000..53e99480bf83 --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-6.18.33.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2026 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 +} |
