commit:     fad3f005239e65805a298349182a2a51dd57decb
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Jun  6 10:30:40 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 08:49:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad3f005

dev-python/elasticsearch-py: disable tests on on-glibc

* Workaround but not a fix for 906716, ideally it would be easier to use
  system jdk of a sufficient version.

Bug: https://bugs.gentoo.org/906716
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild | 7 ++++++-
 dev-python/elasticsearch-py/elasticsearch-py-8.7.0.ebuild | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild 
b/dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild
index ff55489a0cd6..91735a291c43 100644
--- a/dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild
+++ b/dev-python/elasticsearch-py/elasticsearch-py-8.6.2.ebuild
@@ -17,7 +17,11 @@ HOMEPAGE="
 SRC_URI="
        
https://github.com/elastic/elasticsearch-py/archive/refs/tags/v${PV}.tar.gz -> 
${P}.gh.tar.gz
        test? (
-                 amd64? ( 
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${PV}-linux-x86_64.tar.gz
 )
+               amd64? (
+                       elibc_glibc? (
+                               
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${PV}-linux-x86_64.tar.gz
+                       )
+               )
        )
 "
 
@@ -27,6 +31,7 @@ KEYWORDS="amd64 ~x86"
 
 RESTRICT="
        !amd64? ( test )
+       !elibc_glibc? ( test )
        !test? ( test )
 "
 

diff --git a/dev-python/elasticsearch-py/elasticsearch-py-8.7.0.ebuild 
b/dev-python/elasticsearch-py/elasticsearch-py-8.7.0.ebuild
index 007cbecd25a8..86c708e61480 100644
--- a/dev-python/elasticsearch-py/elasticsearch-py-8.7.0.ebuild
+++ b/dev-python/elasticsearch-py/elasticsearch-py-8.7.0.ebuild
@@ -17,7 +17,11 @@ HOMEPAGE="
 SRC_URI="
        
https://github.com/elastic/elasticsearch-py/archive/refs/tags/v${PV}.tar.gz -> 
${P}.gh.tar.gz
        test? (
-                 amd64? ( 
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${PV}-linux-x86_64.tar.gz
 )
+               amd64? (
+                       elibc_glibc? (
+                               
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${PV}-linux-x86_64.tar.gz
+                       )
+               )
        )
 "
 
@@ -27,6 +31,7 @@ KEYWORDS="~amd64 ~x86"
 
 RESTRICT="
        !amd64? ( test )
+       !elibc_glibc? ( test )
        !test? ( test )
 "
 

Reply via email to