diff --git a/python-py-moneyed.changes b/python-py-moneyed.changes index f565f10..7e4776a 100644 --- a/python-py-moneyed.changes +++ b/python-py-moneyed.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 11 12:44:54 UTC 2022 - Matej Cepl + +- Skip test_all_babel_currencies (gh#py-moneyed/py-moneyed#178). + ------------------------------------------------------------------- Tue Feb 1 04:40:00 UTC 2022 - Steve Kowalik diff --git a/python-py-moneyed.spec b/python-py-moneyed.spec index ef50a45..e518feb 100644 --- a/python-py-moneyed.spec +++ b/python-py-moneyed.spec @@ -24,16 +24,20 @@ Summary: Python currency and money classes License: BSD-3-Clause 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 +BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Babel >= 2.8.0 -Requires: python-typing-extensions >= 3.7 +Requires: python-typing-extensions >= 3.7.4.3 BuildArch: noarch # 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 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 %python_subpackages @@ -41,7 +45,7 @@ BuildRequires: %{python_module typing-extensions >= 3.7} Provides Currency and Money classes for use in your Python code. %prep -%setup -q -n py-moneyed-%{version} +%autosetup -p1 -n py-moneyed-%{version} %build %python_build @@ -51,11 +55,13 @@ Provides Currency and Money classes for use in your Python code. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# gh#py-moneyed/py-moneyed#178 +%pytest -k 'not test_all_babel_currencies' %files %{python_files} %doc CHANGES.rst README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/moneyed +%{python_sitelib}/py_moneyed-%{version}*-info %changelog