Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/
Date: Tue, 17 May 2022 05:34:54
Message-Id: 1652765631.b4ab47a864c32b557ff605b950a168d02d54a773.sam@gentoo
1 commit: b4ab47a864c32b557ff605b950a168d02d54a773
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 17 01:48:39 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 17 05:33:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ab47a8
7
8 app-office/gnucash: [QA] drop (very) stale GCC version checks
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-office/gnucash/gnucash-4.4.ebuild | 18 +-----------------
13 app-office/gnucash/gnucash-4.5.ebuild | 18 +-----------------
14 app-office/gnucash/gnucash-4.8.ebuild | 16 ----------------
15 3 files changed, 2 insertions(+), 50 deletions(-)
16
17 diff --git a/app-office/gnucash/gnucash-4.4.ebuild b/app-office/gnucash/gnucash-4.4.ebuild
18 index 09ce9038f1bf..8f020d3cb3eb 100644
19 --- a/app-office/gnucash/gnucash-4.4.ebuild
20 +++ b/app-office/gnucash/gnucash-4.4.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 +# Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 @@ -82,10 +82,6 @@ BDEPEND="
28 dev-lang/swig
29 dev-util/cmake
30 virtual/pkgconfig
31 - || (
32 - >=sys-devel/gcc-8:*
33 - >=sys-devel/clang-6:*
34 - )
35 "
36
37 PDEPEND="doc? (
38 @@ -102,18 +98,6 @@ PATCHES=(
39
40 S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
41
42 -pkg_pretend() {
43 - if tc-is-gcc; then
44 - if [[ $(gcc-major-version) -lt 8 ]]; then
45 - die "GnuCash needs at least GCC version 8."
46 - fi
47 - elif tc-is-clang; then
48 - if [[ $(clang-major-version) -lt 6 ]]; then
49 - die "GnuCash needs at least clang version 6."
50 - fi
51 - fi
52 -}
53 -
54 pkg_setup() {
55 use python && python-single-r1_pkg_setup
56 xdg_environment_reset
57
58 diff --git a/app-office/gnucash/gnucash-4.5.ebuild b/app-office/gnucash/gnucash-4.5.ebuild
59 index 7c45aa93aa2c..11cdf2fabdfe 100644
60 --- a/app-office/gnucash/gnucash-4.5.ebuild
61 +++ b/app-office/gnucash/gnucash-4.5.ebuild
62 @@ -1,4 +1,4 @@
63 -# Copyright 1999-2021 Gentoo Authors
64 +# Copyright 1999-2022 Gentoo Authors
65 # Distributed under the terms of the GNU General Public License v2
66
67 EAPI=7
68 @@ -86,10 +86,6 @@ BDEPEND="
69 dev-lang/swig
70 dev-util/cmake
71 virtual/pkgconfig
72 - || (
73 - >=sys-devel/gcc-8:*
74 - >=sys-devel/clang-6:*
75 - )
76 "
77
78 PDEPEND="doc? (
79 @@ -104,18 +100,6 @@ PATCHES=(
80
81 S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
82
83 -pkg_pretend() {
84 - if tc-is-gcc; then
85 - if [[ $(gcc-major-version) -lt 8 ]]; then
86 - die "GnuCash needs at least GCC version 8."
87 - fi
88 - elif tc-is-clang; then
89 - if [[ $(clang-major-version) -lt 6 ]]; then
90 - die "GnuCash needs at least clang version 6."
91 - fi
92 - fi
93 -}
94 -
95 pkg_setup() {
96 use python && python-single-r1_pkg_setup
97 xdg_environment_reset
98
99 diff --git a/app-office/gnucash/gnucash-4.8.ebuild b/app-office/gnucash/gnucash-4.8.ebuild
100 index 9bfefda763d3..621b83ea81b0 100644
101 --- a/app-office/gnucash/gnucash-4.8.ebuild
102 +++ b/app-office/gnucash/gnucash-4.8.ebuild
103 @@ -86,10 +86,6 @@ BDEPEND="
104 dev-lang/swig
105 dev-util/cmake
106 virtual/pkgconfig
107 - || (
108 - >=sys-devel/gcc-8:*
109 - >=sys-devel/clang-6:*
110 - )
111 "
112
113 PDEPEND="doc? (
114 @@ -104,18 +100,6 @@ PATCHES=(
115
116 S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
117
118 -pkg_pretend() {
119 - if tc-is-gcc; then
120 - if [[ $(gcc-major-version) -lt 8 ]]; then
121 - die "GnuCash needs at least GCC version 8."
122 - fi
123 - elif tc-is-clang; then
124 - if [[ $(clang-major-version) -lt 6 ]]; then
125 - die "GnuCash needs at least clang version 6."
126 - fi
127 - fi
128 -}
129 -
130 pkg_setup() {
131 use python && python-single-r1_pkg_setup
132 xdg_environment_reset