commit:     3ff6a1b00bcc553fc11caf8696791284ed9e1616
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 27 20:02:29 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 27 20:02:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ff6a1b0

dev-build/automake-vanilla: strip Python use from versions w/ restricted tests

Bug: https://bugs.gentoo.org/923596
Bug: https://bugs.gentoo.org/939752
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-build/automake-vanilla/automake-vanilla-1.15.1.ebuild | 11 +----------
 dev-build/automake-vanilla/automake-vanilla-1.16.5.ebuild | 11 -----------
 dev-build/automake-vanilla/automake-vanilla-1.17.ebuild   | 11 -----------
 3 files changed, 1 insertion(+), 32 deletions(-)

diff --git a/dev-build/automake-vanilla/automake-vanilla-1.15.1.ebuild 
b/dev-build/automake-vanilla/automake-vanilla-1.15.1.ebuild
index 7dcd7a9f5344..c5dab15086c1 100644
--- a/dev-build/automake-vanilla/automake-vanilla-1.15.1.ebuild
+++ b/dev-build/automake-vanilla/automake-vanilla-1.15.1.ebuild
@@ -6,9 +6,7 @@ EAPI=8
 # Please do not apply any patches which affect the generated output from
 # `automake`, as this package is used to submit patches upstream.
 
-PYTHON_COMPAT=( python3_{11..14} )
-
-inherit flag-o-matic python-any-r1 toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 if [[ ${PV} == 9999 ]] ; then
        EGIT_REPO_URI="https://git.savannah.gnu.org/r/${MY_PN}.git";
@@ -45,16 +43,10 @@ BDEPEND="
        dev-build/autoconf-vanilla:2.69
        sys-apps/help2man
        test? (
-               ${PYTHON_DEPS}
                dev-util/dejagnu
        )
 "
 
-pkg_setup() {
-       # Avoid python-any-r1_pkg_setup
-       :
-}
-
 src_prepare() {
        default
 
@@ -74,7 +66,6 @@ src_configure() {
        # Old lex tests fail w/ modern C
        export CC="$(tc-getCC) $(test-flags-CC -fpermissive)"
 
-       use test && python_setup
        # Also used in install.
        MY_INFODIR="${EPREFIX}/usr/share/${P}/info"
        econf \

diff --git a/dev-build/automake-vanilla/automake-vanilla-1.16.5.ebuild 
b/dev-build/automake-vanilla/automake-vanilla-1.16.5.ebuild
index 276412e8b90c..c4627a32d70f 100644
--- a/dev-build/automake-vanilla/automake-vanilla-1.16.5.ebuild
+++ b/dev-build/automake-vanilla/automake-vanilla-1.16.5.ebuild
@@ -6,10 +6,6 @@ EAPI=8
 # Please do not apply any patches which affect the generated output from
 # `automake`, as this package is used to submit patches upstream.
 
-PYTHON_COMPAT=( python3_{11..14} )
-
-inherit python-any-r1
-
 if [[ ${PV} == 9999 ]] ; then
        EGIT_REPO_URI="https://git.savannah.gnu.org/r/${MY_PN}.git";
        inherit git-r3
@@ -47,7 +43,6 @@ BDEPEND="
        app-alternatives/gzip
        sys-apps/help2man
        test? (
-               ${PYTHON_DEPS}
                dev-util/dejagnu
                sys-devel/bison
                sys-devel/flex
@@ -63,11 +58,6 @@ PATCHES=(
        "${WORKDIR}"/${PN/-vanilla}-1.16.5-tests-c99.patch
 )
 
-pkg_setup() {
-       # Avoid python-any-r1_pkg_setup
-       :
-}
-
 src_prepare() {
        default
 
@@ -84,7 +74,6 @@ src_prepare() {
 }
 
 src_configure() {
-       use test && python_setup
        # Also used in install.
        MY_INFODIR="${EPREFIX}/usr/share/${P}/info"
        econf \

diff --git a/dev-build/automake-vanilla/automake-vanilla-1.17.ebuild 
b/dev-build/automake-vanilla/automake-vanilla-1.17.ebuild
index 62b78a01f445..efc46a2bb267 100644
--- a/dev-build/automake-vanilla/automake-vanilla-1.17.ebuild
+++ b/dev-build/automake-vanilla/automake-vanilla-1.17.ebuild
@@ -6,10 +6,6 @@ EAPI=8
 # Please do not apply any patches which affect the generated output from
 # `automake`, as this package is used to submit patches upstream.
 
-PYTHON_COMPAT=( python3_{11..14} )
-
-inherit python-any-r1
-
 MY_PN=${PN/-vanilla}
 MY_P=${MY_PN}-${PV}
 
@@ -43,18 +39,12 @@ BDEPEND="
        app-alternatives/gzip
        sys-apps/help2man
        test? (
-               ${PYTHON_DEPS}
                dev-util/dejagnu
                sys-devel/bison
                sys-devel/flex
        )
 "
 
-pkg_setup() {
-       # Avoid python-any-r1_pkg_setup
-       :
-}
-
 src_prepare() {
        default
 
@@ -71,7 +61,6 @@ src_prepare() {
 }
 
 src_configure() {
-       use test && python_setup
        # Also used in install.
        MY_INFODIR="${EPREFIX}/usr/share/${P}/info"
        econf \

Reply via email to