From 3dac9b9552d1d32f6157f4a761ebadff002da873df0f446d9d72f48524afe141 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 16 Jul 2020 12:13:56 +0000 Subject: [PATCH] - Skip over RulesTest.test_rule_from_node test (https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/20) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=23 --- python-pyxdg.changes | 6 ++++++ python-pyxdg.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-pyxdg.changes b/python-pyxdg.changes index 6654689..d28ffb6 100644 --- a/python-pyxdg.changes +++ b/python-pyxdg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 16 12:13:19 UTC 2020 - Matej Cepl + +- Skip over RulesTest.test_rule_from_node test + (https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/20) + ------------------------------------------------------------------- Mon Mar 2 08:27:33 UTC 2020 - Tomáš Chvátal diff --git a/python-pyxdg.spec b/python-pyxdg.spec index 7685467..1dfd292 100644 --- a/python-pyxdg.spec +++ b/python-pyxdg.spec @@ -55,8 +55,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support %prep %setup -q -n pyxdg-%{version} -%patch0 -p1 -%patch1 -p1 +%autopatch -p1 %build %python_build @@ -69,8 +68,9 @@ PyXDG is a python library to access freedesktop.org standards. Currently support # https://gitlab.freedesktop.org/xdg/pyxdg/issues/15 # test_get_type{,2} both fail but come from s-m-i package for data # https://gitlab.freedesktop.org/xdg/pyxdg/merge_requests/4 +# RulesTest.test_rule_from_node failure is https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/20 %{python_expand sed -i "s/Exec=python.*$/Exec=$python/" test/resources.py -PYTHONPATH=%{buildroot}%{$python_sitelib} pytest-%{$python_bin_suffix} test/test-*.py -v -k 'not test_get_type' +PYTHONPATH=%{buildroot}%{$python_sitelib} pytest-%{$python_bin_suffix} test/test-*.py -v -k 'not (test_get_type or test_rule_from_node)' } %files %{python_files}