commit: ee63a227611380fee98a22671d031cb9b4f545f9 Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Sun Oct 26 12:52:12 2025 +0000 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> CommitDate: Sun Oct 26 21:36:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee63a227
sys-fs/zfs: avoid python phase installing DOCS * As a bonus run einstalldocs for the USE="modules" path has well. Closes: https://bugs.gentoo.org/965156 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44342 Closes: https://github.com/gentoo/gentoo/pull/44342 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> sys-fs/zfs/zfs-2.4.0_rc2-r1.ebuild | 9 +++++---- sys-fs/zfs/zfs-2.4.0_rc3.ebuild | 10 ++++++---- sys-fs/zfs/zfs-9999.ebuild | 9 +++++---- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/sys-fs/zfs/zfs-2.4.0_rc2-r1.ebuild b/sys-fs/zfs/zfs-2.4.0_rc2-r1.ebuild index b26f61e2ef22..fcf52d0e8935 100644 --- a/sys-fs/zfs/zfs-2.4.0_rc2-r1.ebuild +++ b/sys-fs/zfs/zfs-2.4.0_rc2-r1.ebuild @@ -129,10 +129,6 @@ PATCHES=( "${FILESDIR}"/${PN}-2.1.11-gentoo.patch ) -DOCS=( - AUTHORS COPYRIGHT META README.md -) - pkg_pretend() { use rootfs || return 0 @@ -307,12 +303,17 @@ src_compile() { } src_install() { + DOCS=( AUTHORS COPYRIGHT META README.md ) if use modules; then emake "${MODULES_MAKEARGS[@]}" DESTDIR="${ED}" install modules_post_process + einstalldocs else default fi + # distutils-r1_src_install tries to run einstalldocs as well + # bug #965156 + unset DOCS gen_usr_ldscript -a nvpair uutil zfsbootenv zfs zfs_core zpool diff --git a/sys-fs/zfs/zfs-2.4.0_rc3.ebuild b/sys-fs/zfs/zfs-2.4.0_rc3.ebuild index b50356f4d6f9..e19842dc0537 100644 --- a/sys-fs/zfs/zfs-2.4.0_rc3.ebuild +++ b/sys-fs/zfs/zfs-2.4.0_rc3.ebuild @@ -129,10 +129,6 @@ PATCHES=( "${FILESDIR}"/${PN}-2.1.11-gentoo.patch ) -DOCS=( - AUTHORS COPYRIGHT META README.md -) - pkg_pretend() { use rootfs || return 0 @@ -307,12 +303,18 @@ src_compile() { } src_install() { + DOCS=( AUTHORS COPYRIGHT META README.md ) + if use modules; then emake "${MODULES_MAKEARGS[@]}" DESTDIR="${ED}" install modules_post_process + einstalldocs else default fi + # distutils-r1_src_install tries to run einstalldocs as well + # bug #965156 + unset DOCS gen_usr_ldscript -a nvpair uutil zfsbootenv zfs zfs_core zpool diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild index b26f61e2ef22..fcf52d0e8935 100644 --- a/sys-fs/zfs/zfs-9999.ebuild +++ b/sys-fs/zfs/zfs-9999.ebuild @@ -129,10 +129,6 @@ PATCHES=( "${FILESDIR}"/${PN}-2.1.11-gentoo.patch ) -DOCS=( - AUTHORS COPYRIGHT META README.md -) - pkg_pretend() { use rootfs || return 0 @@ -307,12 +303,17 @@ src_compile() { } src_install() { + DOCS=( AUTHORS COPYRIGHT META README.md ) if use modules; then emake "${MODULES_MAKEARGS[@]}" DESTDIR="${ED}" install modules_post_process + einstalldocs else default fi + # distutils-r1_src_install tries to run einstalldocs as well + # bug #965156 + unset DOCS gen_usr_ldscript -a nvpair uutil zfsbootenv zfs zfs_core zpool
