commit:     f4be32b6152bb9a4d654e8e9c6d7535637e3dc26
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 13:16:04 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 13:16:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4be32b6

dev-libs/libgdata: tests: don't remove https testing if libsoup is new enough

The issue was identified to be with older libsoup, so only revert the TLS
patch if available libsoup is buggy for the test. Next libgdata release will
fix it properly (grabbing the upstream fix verbatim would mean unnecesary
eautoreconf)

Package-Manager: Portage-2.3.4, Repoman-2.3.1

 dev-libs/libgdata/libgdata-0.17.7.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libgdata/libgdata-0.17.7.ebuild 
b/dev-libs/libgdata/libgdata-0.17.7.ebuild
index ce01bdd4863..bf51fdf868f 100644
--- a/dev-libs/libgdata/libgdata-0.17.7.ebuild
+++ b/dev-libs/libgdata/libgdata-0.17.7.ebuild
@@ -41,8 +41,10 @@ DEPEND="${RDEPEND}
 "
 
 src_prepare() {
-       # https://bugzilla.gnome.org/show_bug.cgi?id=780081
-       eapply -R "${FILESDIR}/${PV}"-streams-https-tests.patch
+       # https://bugzilla.gnome.org/show_bug.cgi?id=780081 - remove with 0.17.8
+       if use test && ! has_version '>=net-libs/libsoup-2.55.90:2.4'; then
+               eapply -R "${FILESDIR}/${PV}"-streams-https-tests.patch
+       fi
        # x86 test fix from upstream git post-0.17.7
        eapply "${FILESDIR}/${PV}"-fix-x86-tests.patch
 

Reply via email to