From: Georgy Yakovlev Date: Thu, 23 Jan 2020 00:33:02 +0000 (-0800) Subject: sys-fs/zfs: fix python detection without setuptools X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=27c2432216b04ae81508c4f88e46b1694d9e4c95;p=gentoo.git sys-fs/zfs: fix python detection without setuptools Closes: https://bugs.gentoo.org/706108 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev --- diff --git a/sys-fs/zfs/zfs-0.8.2-r2.ebuild b/sys-fs/zfs/zfs-0.8.2-r2.ebuild index fea065189c3f..341a978b2793 100644 --- a/sys-fs/zfs/zfs-0.8.2-r2.ebuild +++ b/sys-fs/zfs/zfs-0.8.2-r2.ebuild @@ -124,6 +124,7 @@ src_prepare() { src_configure() { use custom-cflags || strip-flags + python_setup local myconf=( --bindir="${EPREFIX}/bin" @@ -137,6 +138,7 @@ src_configure() { --with-linux="${KV_DIR}" --with-linux-obj="${KV_OUT_DIR}" --with-udevdir="$(get_udevdir)" + --with-python="${EPYTHON}" --with-systemdunitdir="$(systemd_get_systemunitdir)" --with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset" $(use_enable debug) @@ -180,7 +182,6 @@ src_install() { fi # enforce best available python implementation - python_setup python_fix_shebang "${ED}/bin" }