- 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
This commit is contained in:
parent
d919a4253c
commit
3dac9b9552
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 16 12:13:19 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- 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 <tchvatal@suse.com>
|
Mon Mar 2 08:27:33 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -55,8 +55,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyxdg-%{version}
|
%setup -q -n pyxdg-%{version}
|
||||||
%patch0 -p1
|
%autopatch -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_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
|
# https://gitlab.freedesktop.org/xdg/pyxdg/issues/15
|
||||||
# test_get_type{,2} both fail but come from s-m-i package for data
|
# test_get_type{,2} both fail but come from s-m-i package for data
|
||||||
# https://gitlab.freedesktop.org/xdg/pyxdg/merge_requests/4
|
# 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
|
%{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}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user