sys-fs/zfs: update live ebuild
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 7 Feb 2020 04:52:12 +0000 (20:52 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 7 Feb 2020 05:12:17 +0000 (21:12 -0800)
require linux-mod only for live ebuilds, it's required for moduledb call
to work but pulls kernel virtual

Bug: https://bugs.gentoo.org/693678
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
sys-fs/zfs/zfs-9999.ebuild

index 1c02c029858541eac5007d6a55e2dd616cfa332c..f40bd0bca2a73e76f31fd3499473d82c7c43642f 100644 (file)
@@ -4,15 +4,15 @@
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python3_{6,7} )
 
-inherit bash-completion-r1 flag-o-matic linux-info linux-mod distutils-r1 systemd toolchain-funcs udev usr-ldscript
+inherit bash-completion-r1 flag-o-matic linux-info distutils-r1 systemd toolchain-funcs udev usr-ldscript
 
 DESCRIPTION="Userland utilities for ZFS Linux kernel module"
 HOMEPAGE="https://zfsonlinux.org/"
 
 if [[ ${PV} == "9999" ]] ; then
-       inherit autotools git-r3
+       inherit autotools git-r3 linux-mod
        EGIT_REPO_URI="https://github.com/zfsonlinux/zfs.git"
 else
        SRC_URI="https://github.com/zfsonlinux/${PN}/releases/download/${P}/${P}.tar.gz"