commit:     abbb188e6b3fba8b25bd58986e66c57eeafda0ba
Author:     Martin Homuth <mh <AT> emlix <DOT> com>
AuthorDate: Fri Oct  4 05:50:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  4 07:27:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abbb188e

dev-build/kas: fix test fetch, #940685

Closes: https://bugs.gentoo.org/940685
Signed-off-by: Martin Homuth <mh <AT> emlix.com>
Closes: https://github.com/gentoo/gentoo/pull/38868
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-build/kas/Manifest          |  2 --
 dev-build/kas/kas-4.5-r1.ebuild | 20 +++++---------------
 2 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/dev-build/kas/Manifest b/dev-build/kas/Manifest
index 22f2c6fff9ea..4689cbbf32f0 100644
--- a/dev-build/kas/Manifest
+++ b/dev-build/kas/Manifest
@@ -1,3 +1 @@
-DIST evolve.hgbundle 4691381 BLAKE2B 
26f6ea88a5ac7abc8c5d27fe29c7fc523c7fb705b67c14f0bd8271ded2959493cae914d00987ce19fda0b4069ba44bcb9ad13ad387db0fb11b50e33e58c1b3c5
 SHA512 
631c55d90753c0628642d1f6830db23f4bf429abb9e425d6246a8be850e993dbd4a2a9ea1ef8cbf242aad99d94a8c99c11b655a8e5ccd37257f3c1cc68103484
 DIST kas-4.5.gh.tar.gz 102079 BLAKE2B 
d856385fc60bcbeaad8a5847ead88eac9a84a8ef8b0d4cd1247a58096f89a9f8d8348ff0842980285e3fb6f6cb9e5175e5f6bd80155bc57fe00d45b270607e6a
 SHA512 
5625f1a8759f1cd0e3ae3ce0aaf51159dfe48f047b4217f74508ef10e0b27e24faaa8b6cf38d4eaec58c5a3faefc8df1d2a429e5f39808dfb47cbba7e78f6b30
-DIST kas-4.5.gitbundle 972705 BLAKE2B 
6b182237f92b97dcd831a39af2b3eec7a5eea42bb8221cd029f4fa1b59da896a987be04aac76bfd5bf756740e15fd587aabf3c718401bea3b4e565ff040f95d0
 SHA512 
f4bf95fbc05c70314c2b875972cf4048ac639e13f35688870ea2dab5d89dd21ca2cd66c1230b414de4a272b47baf90248f3136a876c294f215f74540ef84b3e1

diff --git a/dev-build/kas/kas-4.5-r1.ebuild b/dev-build/kas/kas-4.5-r1.ebuild
index 3f127d53d98b..8891bfda5007 100644
--- a/dev-build/kas/kas-4.5-r1.ebuild
+++ b/dev-build/kas/kas-4.5-r1.ebuild
@@ -19,10 +19,6 @@ HOMEPAGE="
 SRC_URI="
        https://github.com/siemens/kas/archive/refs/tags/${PV}.tar.gz
                -> ${MY_P}.gh.tar.gz
-       test? (
-               
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}.gitbundle
-               
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/evolve.hgbundle
-       )
 "
 
 LICENSE="MIT"
@@ -46,15 +42,9 @@ BDEPEND="
        )
 "
 
-distutils_enable_tests pytest
-
-src_test() {
-       export KAS_REPO_REF_DIR=${T}
-
-       # tests try to clone https://github.com/siemens/kas
-       git clone -q -b master "${DISTDIR}/${MY_P}.gitbundle" 
"${T}/github.com.siemens.kas.git" || die
-       # tests try to clone https://repo.mercurial-scm.org/evolve
-       hg clone -q "${DISTDIR}/evolve.hgbundle" 
"${T}/repo.mercurial-scm.org.evolve" || die
+# unable to pre-download test repositories as the required
+# environment variable KAS_REPO_REF_DIR is deleted during
+# testing
+PROPERTIES="test_network"
 
-       distutils-r1_src_test
-}
+distutils_enable_tests pytest

Reply via email to