commit: b4ab47a864c32b557ff605b950a168d02d54a773 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue May 17 01:48:39 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 17 05:33:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ab47a8
app-office/gnucash: [QA] drop (very) stale GCC version checks Signed-off-by: Sam James <sam <AT> gentoo.org> app-office/gnucash/gnucash-4.4.ebuild | 18 +----------------- app-office/gnucash/gnucash-4.5.ebuild | 18 +----------------- app-office/gnucash/gnucash-4.8.ebuild | 16 ---------------- 3 files changed, 2 insertions(+), 50 deletions(-) diff --git a/app-office/gnucash/gnucash-4.4.ebuild b/app-office/gnucash/gnucash-4.4.ebuild index 09ce9038f1bf..8f020d3cb3eb 100644 --- a/app-office/gnucash/gnucash-4.4.ebuild +++ b/app-office/gnucash/gnucash-4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -82,10 +82,6 @@ BDEPEND=" dev-lang/swig dev-util/cmake virtual/pkgconfig - || ( - >=sys-devel/gcc-8:* - >=sys-devel/clang-6:* - ) " PDEPEND="doc? ( @@ -102,18 +98,6 @@ PATCHES=( S="${WORKDIR}/${PN}-$(ver_cut 1-2)" -pkg_pretend() { - if tc-is-gcc; then - if [[ $(gcc-major-version) -lt 8 ]]; then - die "GnuCash needs at least GCC version 8." - fi - elif tc-is-clang; then - if [[ $(clang-major-version) -lt 6 ]]; then - die "GnuCash needs at least clang version 6." - fi - fi -} - pkg_setup() { use python && python-single-r1_pkg_setup xdg_environment_reset diff --git a/app-office/gnucash/gnucash-4.5.ebuild b/app-office/gnucash/gnucash-4.5.ebuild index 7c45aa93aa2c..11cdf2fabdfe 100644 --- a/app-office/gnucash/gnucash-4.5.ebuild +++ b/app-office/gnucash/gnucash-4.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -86,10 +86,6 @@ BDEPEND=" dev-lang/swig dev-util/cmake virtual/pkgconfig - || ( - >=sys-devel/gcc-8:* - >=sys-devel/clang-6:* - ) " PDEPEND="doc? ( @@ -104,18 +100,6 @@ PATCHES=( S="${WORKDIR}/${PN}-$(ver_cut 1-2)" -pkg_pretend() { - if tc-is-gcc; then - if [[ $(gcc-major-version) -lt 8 ]]; then - die "GnuCash needs at least GCC version 8." - fi - elif tc-is-clang; then - if [[ $(clang-major-version) -lt 6 ]]; then - die "GnuCash needs at least clang version 6." - fi - fi -} - pkg_setup() { use python && python-single-r1_pkg_setup xdg_environment_reset diff --git a/app-office/gnucash/gnucash-4.8.ebuild b/app-office/gnucash/gnucash-4.8.ebuild index 9bfefda763d3..621b83ea81b0 100644 --- a/app-office/gnucash/gnucash-4.8.ebuild +++ b/app-office/gnucash/gnucash-4.8.ebuild @@ -86,10 +86,6 @@ BDEPEND=" dev-lang/swig dev-util/cmake virtual/pkgconfig - || ( - >=sys-devel/gcc-8:* - >=sys-devel/clang-6:* - ) " PDEPEND="doc? ( @@ -104,18 +100,6 @@ PATCHES=( S="${WORKDIR}/${PN}-$(ver_cut 1-2)" -pkg_pretend() { - if tc-is-gcc; then - if [[ $(gcc-major-version) -lt 8 ]]; then - die "GnuCash needs at least GCC version 8." - fi - elif tc-is-clang; then - if [[ $(clang-major-version) -lt 6 ]]; then - die "GnuCash needs at least clang version 6." - fi - fi -} - pkg_setup() { use python && python-single-r1_pkg_setup xdg_environment_reset