commit: 3818e5b88335efd19375516ef8e9d9c6f2d6a2b6 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Fri Mar 2 07:46:34 2018 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Fri Mar 2 07:46:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3818e5b8
sys-process/htop: Fixed build with python2_7 Closes: https://bugs.gentoo.org/649250 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-process/htop/htop-2.1.0-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-process/htop/htop-2.1.0-r1.ebuild b/sys-process/htop/htop-2.1.0-r1.ebuild index a6d93f24ee2..14a9ecd0dfb 100644 --- a/sys-process/htop/htop-2.1.0-r1.ebuild +++ b/sys-process/htop/htop-2.1.0-r1.ebuild @@ -28,7 +28,6 @@ DOCS=( ChangeLog README ) CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" PATCHES=( - "${FILESDIR}/${PN}-2.1.0-MakeHeader-python3.patch" #646880 # Fixes from upstream (can usually be removed with next version bump) "${FILESDIR}/${P}-sysmacros.patch" @@ -54,6 +53,8 @@ src_prepare() { rm missing || die default + use python_single_target_python2_7 || \ + eapply "${FILESDIR}/${PN}-2.1.0-MakeHeader-python3.patch" #646880 eautoreconf python_fix_shebang scripts/MakeHeader.py }
