forked from pool/python-lexicon
Accepting request 940360 from home:bnavigator:python-rpm-macros
- Don't test on python310 because of pytest-relaxed not supporting Pytest 6 -- gh#bitprophet/pytest-relaxed#12 OBS-URL: https://build.opensuse.org/request/show/940360 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lexicon?expand=0&rev=9
This commit is contained in:
parent
c69250596c
commit
c62f8077be
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 13 23:14:40 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Don't test on python310 because of pytest-relaxed not supporting
|
||||||
|
Pytest 6 -- gh#bitprophet/pytest-relaxed#12
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 03:43:56 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
Fri Sep 17 03:43:56 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ Requires: python-six
|
|||||||
Conflicts: python-dns-lexicon
|
Conflicts: python-dns-lexicon
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION tests
|
# SECTION tests
|
||||||
BuildRequires: %{python_module pytest-relaxed}
|
BuildRequires: %{python_module pytest-relaxed if (%python-base without python310-base)}
|
||||||
# /SECTION tests
|
# /SECTION tests
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -56,11 +56,13 @@ Lexicon is a collection of dict subclasses:
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
alias pytest-3.10='echo "Not testing: no pytest<6 on python 3.10"'
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/lexicon
|
||||||
|
%{python_sitelib}/lexicon-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user