From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EE41E1382C5 for ; Thu, 1 Mar 2018 01:32:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 255EFE092F; Thu, 1 Mar 2018 01:32:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB107E092F for ; Thu, 1 Mar 2018 01:32:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 738B5335C3E for ; Thu, 1 Mar 2018 01:32:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9F891ED for ; Thu, 1 Mar 2018 01:32:17 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1519867890.d8f87d7389569af3520b9ca2dfc68e7a82059ccf.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/automake/ X-VCS-Repository: repo/gentoo X-VCS-Files: 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 X-VCS-Directories: sys-devel/automake/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: d8f87d7389569af3520b9ca2dfc68e7a82059ccf X-VCS-Branch: master Date: Thu, 1 Mar 2018 01:32:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f64da754-f743-403e-aa82-6b51c8036eb1 X-Archives-Hash: 34ca493cd9124226f49c5d639f8b7188 commit: d8f87d7389569af3520b9ca2dfc68e7a82059ccf Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Mar 1 01:31:30 2018 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Mar 1 01:31:30 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f87d73 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 | 10 ++++------ sys-devel/automake/automake-1.11.6-r3.ebuild | 6 ++++-- sys-devel/automake/automake-1.12.6-r2.ebuild | 10 ++++------ sys-devel/automake/automake-1.13.4-r2.ebuild | 10 ++++------ sys-devel/automake/automake-1.14.1-r2.ebuild | 10 ++++------ sys-devel/automake/automake-1.15.1-r2.ebuild | 10 ++++------ sys-devel/automake/automake-1.16-r1.ebuild | 10 ++++------ sys-devel/automake/automake-1.9.6-r5.ebuild | 10 ++++------ sys-devel/automake/automake-9999.ebuild | 10 ++++------ 9 files changed, 36 insertions(+), 50 deletions(-) diff --git a/sys-devel/automake/automake-1.10.3-r3.ebuild b/sys-devel/automake/automake-1.10.3-r3.ebuild index 7ce1045c910..0978a2b8176 100644 --- a/sys-devel/automake/automake-1.10.3-r3.ebuild +++ b/sys-devel/automake/automake-1.10.3-r3.ebuild @@ -30,6 +30,10 @@ PATCHES=( "${FILESDIR}"/${PN}-1.13-perl-escape-curly-bracket-r1.patch ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -69,12 +73,6 @@ slot_info_pages() { popd >/dev/null || die } -src_test() { - python_setup - - default -} - src_install() { default slot_info_pages diff --git a/sys-devel/automake/automake-1.11.6-r3.ebuild b/sys-devel/automake/automake-1.11.6-r3.ebuild index b8ddb4f1371..d5b3804a55e 100644 --- a/sys-devel/automake/automake-1.11.6-r3.ebuild +++ b/sys-devel/automake/automake-1.11.6-r3.ebuild @@ -30,6 +30,10 @@ PATCHES=( "${FILESDIR}"/${PN}-1.13-perl-escape-curly-bracket-r1.patch ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -84,8 +88,6 @@ slot_info_pages() { src_test() { unset HELP2MAN # 583108 - python_setup - default } diff --git a/sys-devel/automake/automake-1.12.6-r2.ebuild b/sys-devel/automake/automake-1.12.6-r2.ebuild index b926404ca18..b2256bd2d77 100644 --- a/sys-devel/automake/automake-1.12.6-r2.ebuild +++ b/sys-devel/automake/automake-1.12.6-r2.ebuild @@ -29,6 +29,10 @@ PATCHES=( "${FILESDIR}"/${PN}-1.14-install-sh-avoid-low-risk-race-in-tmp.patch ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -68,12 +72,6 @@ slot_info_pages() { popd >/dev/null || die } -src_test() { - python_setup - - default -} - src_install() { default diff --git a/sys-devel/automake/automake-1.13.4-r2.ebuild b/sys-devel/automake/automake-1.13.4-r2.ebuild index e805dccdb6e..6f00929967d 100644 --- a/sys-devel/automake/automake-1.13.4-r2.ebuild +++ b/sys-devel/automake/automake-1.13.4-r2.ebuild @@ -30,6 +30,10 @@ PATCHES=( "${FILESDIR}"/${PN}-1.14-install-sh-avoid-low-risk-race-in-tmp.patch ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -40,12 +44,6 @@ src_configure() { econf --docdir="\$(datarootdir)/doc/${PF}" } -src_test() { - python_setup - - default -} - # slot the info pages. do this w/out munging the source so we don't have # to depend on texinfo to regen things. #464146 (among others) slot_info_pages() { diff --git a/sys-devel/automake/automake-1.14.1-r2.ebuild b/sys-devel/automake/automake-1.14.1-r2.ebuild index 1747213bd30..5e47c05140a 100644 --- a/sys-devel/automake/automake-1.14.1-r2.ebuild +++ b/sys-devel/automake/automake-1.14.1-r2.ebuild @@ -43,6 +43,10 @@ PATCHES=( S="${WORKDIR}/${MY_P}" +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -58,12 +62,6 @@ src_configure() { econf --docdir="\$(datarootdir)/doc/${PF}" } -src_test() { - python_setup - - default -} - # slot the info pages. do this w/out munging the source so we don't have # to depend on texinfo to regen things. #464146 (among others) slot_info_pages() { diff --git a/sys-devel/automake/automake-1.15.1-r2.ebuild b/sys-devel/automake/automake-1.15.1-r2.ebuild index 3add6f0127e..fe0a51c196a 100644 --- a/sys-devel/automake/automake-1.15.1-r2.ebuild +++ b/sys-devel/automake/automake-1.15.1-r2.ebuild @@ -44,6 +44,10 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-1.15-install-sh-avoid-low-risk-race-in-tmp.patch ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -87,12 +91,6 @@ slot_info_pages() { popd >/dev/null || die } -src_test() { - python_setup - - default -} - src_install() { default diff --git a/sys-devel/automake/automake-1.16-r1.ebuild b/sys-devel/automake/automake-1.16-r1.ebuild index 65ef083500f..616c4ff8646 100644 --- a/sys-devel/automake/automake-1.16-r1.ebuild +++ b/sys-devel/automake/automake-1.16-r1.ebuild @@ -47,6 +47,10 @@ PATCHES=( "${FILESDIR}"/${PN}-1.16-fix-AM_PATH_PYTHON.patch ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -90,12 +94,6 @@ slot_info_pages() { popd >/dev/null || die } -src_test() { - python_setup - - default -} - src_install() { default diff --git a/sys-devel/automake/automake-1.9.6-r5.ebuild b/sys-devel/automake/automake-1.9.6-r5.ebuild index 830139964d5..533931fcf36 100644 --- a/sys-devel/automake/automake-1.9.6-r5.ebuild +++ b/sys-devel/automake/automake-1.9.6-r5.ebuild @@ -36,6 +36,10 @@ PATCHES=( "${FILESDIR}"/${PN}-1.8-perl-5.11.patch ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -70,12 +74,6 @@ slot_info_pages() { popd >/dev/null || die } -src_test() { - python_setup - - default -} - src_install() { default slot_info_pages diff --git a/sys-devel/automake/automake-9999.ebuild b/sys-devel/automake/automake-9999.ebuild index 3add6f0127e..fe0a51c196a 100644 --- a/sys-devel/automake/automake-9999.ebuild +++ b/sys-devel/automake/automake-9999.ebuild @@ -44,6 +44,10 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-1.15-install-sh-avoid-low-risk-race-in-tmp.patch ) +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default export WANT_AUTOCONF=2.5 @@ -87,12 +91,6 @@ slot_info_pages() { popd >/dev/null || die } -src_test() { - python_setup - - default -} - src_install() { default