14
0

- Skip test_all_babel_currencies (gh#py-moneyed/py-moneyed#178).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-moneyed?expand=0&rev=4
This commit is contained in:
2022-07-11 12:45:53 +00:00
committed by Git OBS Bridge
parent c0315503a0
commit fe50fed2bf
2 changed files with 17 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 11 12:44:54 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Skip test_all_babel_currencies (gh#py-moneyed/py-moneyed#178).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 1 04:40:00 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com> Tue Feb 1 04:40:00 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -24,16 +24,20 @@ Summary: Python currency and money classes
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/limist/py-moneyed URL: https://github.com/limist/py-moneyed
Source: https://github.com/py-moneyed/py-moneyed/archive/refs/tags/v%{version}.tar.gz#/py-moneyed-%{version}.tar.gz Source: https://github.com/py-moneyed/py-moneyed/archive/refs/tags/v%{version}.tar.gz#/py-moneyed-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Babel >= 2.8.0 Requires: python-Babel >= 2.8.0
Requires: python-typing-extensions >= 3.7 Requires: python-typing-extensions >= 3.7.4.3
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest >= 2.3.0} BuildRequires: %{python_module mypy >= 0.812}
BuildRequires: %{python_module Babel >= 2.8.0} BuildRequires: %{python_module Babel >= 2.8.0}
BuildRequires: %{python_module typing-extensions >= 3.7} BuildRequires: %{python_module pytest >= 2.3.0}
BuildRequires: %{python_module pytest >= 2.3.0}
BuildRequires: %{python_module tox >= 1.6.0}
BuildRequires: %{python_module typing-extensions >= 3.7.4.3}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -41,7 +45,7 @@ BuildRequires: %{python_module typing-extensions >= 3.7}
Provides Currency and Money classes for use in your Python code. Provides Currency and Money classes for use in your Python code.
%prep %prep
%setup -q -n py-moneyed-%{version} %autosetup -p1 -n py-moneyed-%{version}
%build %build
%python_build %python_build
@@ -51,11 +55,13 @@ Provides Currency and Money classes for use in your Python code.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest # gh#py-moneyed/py-moneyed#178
%pytest -k 'not test_all_babel_currencies'
%files %{python_files} %files %{python_files}
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/moneyed
%{python_sitelib}/py_moneyed-%{version}*-info
%changelog %changelog