diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-07-06 02:26:28 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-07-06 02:26:51 +0200 |
commit | 07af4dbac1f28f222b9a7627f6486f78eccbc97e (patch) | |
tree | 696a15ec6148e069acad944db211c204412ff522 /sys-kernel/genkernel/genkernel-9999.ebuild | |
parent | app-admin/syslog-ng: fix libesmtp pkg-config patch (diff) | |
download | gentoo-07af4dbac1f28f222b9a7627f6486f78eccbc97e.tar.gz gentoo-07af4dbac1f28f222b9a7627f6486f78eccbc97e.tar.bz2 gentoo-07af4dbac1f28f222b9a7627f6486f78eccbc97e.zip |
sys-kernel/genkernel: update live ebuild
- Add libxcrypt
- Add Python deps for commit 8a7e6909326b5b70076bdedb38513d93cb0d3117.
Package-Manager: Portage-3.0.21, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-kernel/genkernel/genkernel-9999.ebuild')
-rw-r--r-- | sys-kernel/genkernel/genkernel-9999.ebuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild index 3319be9340cb..588c204f2820 100644 --- a/sys-kernel/genkernel/genkernel-9999.ebuild +++ b/sys-kernel/genkernel/genkernel-9999.ebuild @@ -6,7 +6,9 @@ EAPI="7" -inherit bash-completion-r1 +PYTHON_COMPAT=( python3_{7..10} ) + +inherit bash-completion-r1 python-single-r1 # Whenever you bump a GKPKG, check if you have to move # or add new patches! @@ -30,6 +32,7 @@ VERSION_KMOD="28" VERSION_LIBAIO="0.3.112" VERSION_LIBGCRYPT="1.9.2" VERSION_LIBGPGERROR="1.41" +VERSION_LIBXCRYPT="4.4.23" VERSION_LVM="2.02.187" VERSION_LZO="2.10" VERSION_MDADM="4.1" @@ -64,6 +67,7 @@ COMMON_URI=" https://releases.pagure.org/libaio/libaio-${VERSION_LIBAIO}.tar.gz mirror://gnupg/libgcrypt/libgcrypt-${VERSION_LIBGCRYPT}.tar.bz2 mirror://gnupg/libgpg-error/libgpg-error-${VERSION_LIBGPGERROR}.tar.bz2 + https://github.com/besser82/libxcrypt/archive/v${VERSION_LIBXCRYPT}.tar.gz -> libxcrypt-${VERSION_LIBXCRYPT}.tar.gz https://mirrors.kernel.org/sourceware/lvm2/LVM2.${VERSION_LVM}.tgz https://www.oberhumer.com/opensource/lzo/download/lzo-${VERSION_LZO}.tar.gz https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-${VERSION_MDADM}.tar.xz @@ -96,6 +100,7 @@ LICENSE="GPL-2" SLOT="0" RESTRICT="" IUSE="ibm +firmware" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" # Note: # We need sys-devel/* deps like autoconf or automake at _runtime_ @@ -103,7 +108,7 @@ IUSE="ibm +firmware" # mdadm... during initramfs generation which will require these # things. DEPEND="" -RDEPEND="${DEPEND} +RDEPEND="${PYTHON_DEPS} app-arch/cpio >=app-misc/pax-utils-1.2.2 app-portage/elt-patches @@ -168,6 +173,7 @@ src_prepare() { -e "s:VERSION_LIBAIO:${VERSION_LIBAIO}:"\ -e "s:VERSION_LIBGCRYPT:${VERSION_LIBGCRYPT}:"\ -e "s:VERSION_LIBGPGERROR:${VERSION_LIBGPGERROR}:"\ + -e "s:VERSION_LIBXCRYPT:${VERSION_LIBXCRYPT}:"\ -e "s:VERSION_LVM:${VERSION_LVM}:"\ -e "s:VERSION_LZO:${VERSION_LZO}:"\ -e "s:VERSION_MDADM:${VERSION_MDADM}:"\ @@ -211,6 +217,9 @@ src_install() { doins -r "${S}"/* fperms +x /usr/share/genkernel/gen_worker.sh + fperms +x /usr/share/genkernel/path_expander.py + + python_fix_shebang "${ED}"/usr/share/genkernel/path_expander.py newbashcomp "${FILESDIR}"/genkernel-4.bash "${PN}" insinto /etc |