commit:     d6bed639df55143cf2e2978fbf8a1f8b77bff856
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 01:48:45 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=d6bed639

app-text/calibre: [QA] drop (very) stale GCC version checks

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/calibre/calibre-5.16.1-r1.ebuild | 8 --------
 app-text/calibre/calibre-5.39.1.ebuild    | 8 --------
 app-text/calibre/calibre-5.40.0.ebuild    | 8 --------
 app-text/calibre/calibre-5.41.0.ebuild    | 8 --------
 app-text/calibre/calibre-5.42.0-r1.ebuild | 8 --------
 5 files changed, 40 deletions(-)

diff --git a/app-text/calibre/calibre-5.16.1-r1.ebuild 
b/app-text/calibre/calibre-5.16.1-r1.ebuild
index 3e20077ff835..2978c52f78a2 100644
--- a/app-text/calibre/calibre-5.16.1-r1.ebuild
+++ b/app-text/calibre/calibre-5.16.1-r1.ebuild
@@ -109,14 +109,6 @@ DEPEND="${COMMON_DEPEND}
        >=virtual/podofo-build-0.9.6_pre20171027
        virtual/pkgconfig"
 
-pkg_pretend() {
-       if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ 
$(gcc-major-version) -lt 6 ]]; then
-               eerror "Calibre cannot be built with this version of gcc."
-               eerror "You need at least gcc-6.0"
-               die "Your C compiler is too old for this package."
-       fi
-}
-
 src_prepare() {
        # no_updates: do not annoy user with "new version is availible all the 
time
        # disable_plugins: walking sec-hole, wait for upstream to use GHNS 
interface

diff --git a/app-text/calibre/calibre-5.39.1.ebuild 
b/app-text/calibre/calibre-5.39.1.ebuild
index a5e1b79e63a2..9f952093e1f7 100644
--- a/app-text/calibre/calibre-5.39.1.ebuild
+++ b/app-text/calibre/calibre-5.39.1.ebuild
@@ -134,14 +134,6 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch"
 )
 
-pkg_pretend() {
-       if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ 
$(gcc-major-version) -lt 6 ]]; then
-               eerror "Calibre cannot be built with this version of gcc."
-               eerror "You need at least gcc-6.0"
-               die "Your C compiler is too old for this package."
-       fi
-}
-
 src_prepare() {
        default
 

diff --git a/app-text/calibre/calibre-5.40.0.ebuild 
b/app-text/calibre/calibre-5.40.0.ebuild
index a5e1b79e63a2..9f952093e1f7 100644
--- a/app-text/calibre/calibre-5.40.0.ebuild
+++ b/app-text/calibre/calibre-5.40.0.ebuild
@@ -134,14 +134,6 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch"
 )
 
-pkg_pretend() {
-       if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ 
$(gcc-major-version) -lt 6 ]]; then
-               eerror "Calibre cannot be built with this version of gcc."
-               eerror "You need at least gcc-6.0"
-               die "Your C compiler is too old for this package."
-       fi
-}
-
 src_prepare() {
        default
 

diff --git a/app-text/calibre/calibre-5.41.0.ebuild 
b/app-text/calibre/calibre-5.41.0.ebuild
index a5e1b79e63a2..9f952093e1f7 100644
--- a/app-text/calibre/calibre-5.41.0.ebuild
+++ b/app-text/calibre/calibre-5.41.0.ebuild
@@ -134,14 +134,6 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch"
 )
 
-pkg_pretend() {
-       if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ 
$(gcc-major-version) -lt 6 ]]; then
-               eerror "Calibre cannot be built with this version of gcc."
-               eerror "You need at least gcc-6.0"
-               die "Your C compiler is too old for this package."
-       fi
-}
-
 src_prepare() {
        default
 

diff --git a/app-text/calibre/calibre-5.42.0-r1.ebuild 
b/app-text/calibre/calibre-5.42.0-r1.ebuild
index 15b27c5c2a8a..0299cf66b503 100644
--- a/app-text/calibre/calibre-5.42.0-r1.ebuild
+++ b/app-text/calibre/calibre-5.42.0-r1.ebuild
@@ -135,14 +135,6 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.31.0-qt-image-test.patch"
 )
 
-pkg_pretend() {
-       if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ 
$(gcc-major-version) -lt 6 ]]; then
-               eerror "Calibre cannot be built with this version of gcc."
-               eerror "You need at least gcc-6.0"
-               die "Your C compiler is too old for this package."
-       fi
-}
-
 src_prepare() {
        default
 

Reply via email to