sys-devel/automake: Provide pkg_setup to call python_setup only when FEATURES=test...
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 1 Mar 2018 01:31:30 +0000 (02:31 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 1 Mar 2018 01:31:30 +0000 (02:31 +0100)
commitd8f87d7389569af3520b9ca2dfc68e7a82059ccf
tree9eaa916b074c8a9e481a55a326852ab3e97f6dbe
parentcd0e6915f3f7a02915bc7029026bfe2f53dc7f68
sys-devel/automake: Provide pkg_setup to call python_setup only when FEATURES=test is set

Previous attempt cfaa5ec192519a74951fd57f05c483984e408e4b was reverted in commit
cd0e6915f3f7a02915bc7029026bfe2f53dc7f68 to avoid unnecessary mass rebuild for
"--changed-deps=y" users which was possible because dependencies were fine.

Package was only failing at build time in pkg_setup when Python 2.7 wasn't
available because eclass exports pkg_setup.

Bug: https://bugs.gentoo.org/648940
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sys-devel/automake/automake-1.10.3-r3.ebuild
sys-devel/automake/automake-1.11.6-r3.ebuild
sys-devel/automake/automake-1.12.6-r2.ebuild
sys-devel/automake/automake-1.13.4-r2.ebuild
sys-devel/automake/automake-1.14.1-r2.ebuild
sys-devel/automake/automake-1.15.1-r2.ebuild
sys-devel/automake/automake-1.16-r1.ebuild
sys-devel/automake/automake-1.9.6-r5.ebuild
sys-devel/automake/automake-9999.ebuild