dev-python/rosdistro: disable tests requiring network access
authorAlexis Ballier <aballier@gentoo.org>
Wed, 11 Dec 2019 15:14:47 +0000 (16:14 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 11 Dec 2019 15:26:26 +0000 (16:26 +0100)
Closes: https://bugs.gentoo.org/643458
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-python/rosdistro/rosdistro-0.8.0.ebuild
dev-python/rosdistro/rosdistro-9999.ebuild

index 5b587a80181e66bc72b57976be23801d959e6749..cf60a935e58c940caec15a0c7f0af4d01fa18d48 100644 (file)
@@ -43,6 +43,12 @@ DEPEND="${RDEPEND}
 "
 PATCHES=( "${FILESDIR}/yaml.patch" )
 
+src_prepare() {
+       # Requires network access
+       rm -f test/test_manifest_providers.py
+       default
+}
+
 python_test() {
        nosetests --with-xunit test || die
 }
index 1cf2e00b257c00875b36bb9341833217d6185c46..cf60a935e58c940caec15a0c7f0af4d01fa18d48 100644 (file)
@@ -41,6 +41,13 @@ DEPEND="${RDEPEND}
                dev-python/mock[${PYTHON_USEDEP}]
        )
 "
+PATCHES=( "${FILESDIR}/yaml.patch" )
+
+src_prepare() {
+       # Requires network access
+       rm -f test/test_manifest_providers.py
+       default
+}
 
 python_test() {
        nosetests --with-xunit test || die