aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2021-05-26 15:59:26 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2021-05-26 15:59:26 +0500
commit8e085e8e1a75a723714f6aab481d316aac90a885 (patch)
treec71ca1cbf5527a260409fb66450483fbb4d83d35 /www-client/woob
parentdev-python/manhole: skip failing test (diff)
downloadguru-8e085e8e1a75a723714f6aab481d316aac90a885.tar.gz
guru-8e085e8e1a75a723714f6aab481d316aac90a885.tar.bz2
guru-8e085e8e1a75a723714f6aab481d316aac90a885.zip
www-client/woob: skip failing test
Closes: https://bugs.gentoo.org/792213 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'www-client/woob')
-rw-r--r--www-client/woob/woob-3.0-r1.ebuild11
-rw-r--r--www-client/woob/woob-9999.ebuild11
2 files changed, 12 insertions, 10 deletions
diff --git a/www-client/woob/woob-3.0-r1.ebuild b/www-client/woob/woob-3.0-r1.ebuild
index b0535df1..51f6d070 100644
--- a/www-client/woob/woob-3.0-r1.ebuild
+++ b/www-client/woob/woob-3.0-r1.ebuild
@@ -42,19 +42,20 @@ RDEPEND="
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
+BDEPEND="test? ( ${RDEPEND} )"
distutils_enable_tests nose
distutils_enable_sphinx docs/source
-src_prepare() {
- default
-
+python_prepare_all() {
sed -i \
-e '/woob.browser.browsers,/d' \
-e '/woob.browser.pages,/d' \
- setup.cfg || die "Failed removing network-dependent tests"
+ -e '/woob.tools.application.formatters.table,/d' \
+ setup.cfg || die
+
+ distutils-r1_python_prepare_all
}
python_install_all() {
diff --git a/www-client/woob/woob-9999.ebuild b/www-client/woob/woob-9999.ebuild
index b0535df1..51f6d070 100644
--- a/www-client/woob/woob-9999.ebuild
+++ b/www-client/woob/woob-9999.ebuild
@@ -42,19 +42,20 @@ RDEPEND="
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
+BDEPEND="test? ( ${RDEPEND} )"
distutils_enable_tests nose
distutils_enable_sphinx docs/source
-src_prepare() {
- default
-
+python_prepare_all() {
sed -i \
-e '/woob.browser.browsers,/d' \
-e '/woob.browser.pages,/d' \
- setup.cfg || die "Failed removing network-dependent tests"
+ -e '/woob.tools.application.formatters.table,/d' \
+ setup.cfg || die
+
+ distutils-r1_python_prepare_all
}
python_install_all() {