Skip to content

Commit

Permalink
app-office/gnucash: [QA] drop (very) stale GCC version checks
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed May 17, 2022
1 parent 542edce commit b4ab47a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 50 deletions.
18 changes: 1 addition & 17 deletions app-office/gnucash/gnucash-4.4.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -82,10 +82,6 @@ BDEPEND="
dev-lang/swig
dev-util/cmake
virtual/pkgconfig
|| (
>=sys-devel/gcc-8:*
>=sys-devel/clang-6:*
)
"

PDEPEND="doc? (
Expand All @@ -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
Expand Down
18 changes: 1 addition & 17 deletions app-office/gnucash/gnucash-4.5.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -86,10 +86,6 @@ BDEPEND="
dev-lang/swig
dev-util/cmake
virtual/pkgconfig
|| (
>=sys-devel/gcc-8:*
>=sys-devel/clang-6:*
)
"

PDEPEND="doc? (
Expand All @@ -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
Expand Down
16 changes: 0 additions & 16 deletions app-office/gnucash/gnucash-4.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ BDEPEND="
dev-lang/swig
dev-util/cmake
virtual/pkgconfig
|| (
>=sys-devel/gcc-8:*
>=sys-devel/clang-6:*
)
"

PDEPEND="doc? (
Expand All @@ -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
Expand Down

0 comments on commit b4ab47a

Please sign in to comment.