diff --git a/flufl.i18n-2.0.2.tar.gz b/flufl.i18n-2.0.2.tar.gz deleted file mode 100644 index 79193c7..0000000 --- a/flufl.i18n-2.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:500976b41cc21a6a927dabce189865e14e4593c9982ab193b50a749b8a6e4fb3 -size 19106 diff --git a/flufl.i18n-3.2.tar.gz b/flufl.i18n-3.2.tar.gz new file mode 100644 index 0000000..065a5be --- /dev/null +++ b/flufl.i18n-3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c35c8f8eab66adb7fd64a1420860105066d2b36cb655b33ffb14afe8e223ed62 +size 24209 diff --git a/python-flufl.i18n-fix-setup.patch b/python-flufl.i18n-fix-setup.patch new file mode 100644 index 0000000..2fcb62d --- /dev/null +++ b/python-flufl.i18n-fix-setup.patch @@ -0,0 +1,10 @@ +Index: flufl.i18n-3.2/setup.cfg +=================================================================== +--- flufl.i18n-3.2.orig/setup.cfg 2021-05-29 20:08:18.854980000 +0200 ++++ flufl.i18n-3.2/setup.cfg 2021-11-17 10:36:00.095701103 +0100 +@@ -1,5 +1,4 @@ + [tool:pytest] +-addopts = --cov=flufl + testpaths = test docs + + [flake8] diff --git a/python-flufl.i18n.changes b/python-flufl.i18n.changes index 52a682e..7235bb4 100644 --- a/python-flufl.i18n.changes +++ b/python-flufl.i18n.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Nov 17 09:36:44 UTC 2021 - Andreas Schneider + +- Update to version 3.2 + * Add a py.typed file to satisfy type checkers. + * Improve some QA by re-adding diff-cover, Gitlab SAST during + CI, and testing on Python 3.10 beta (except for Windows) + * Fix pytest 6.0.0 compatibility + * Drop support for Python 3.4 and 3.5. Add support for Python 3.9. + * Translator.catalog property is now exposed. + * New abstract classes for defining the types in this library: + * TranslationContextManager, RuntimeTranslator, TranslationStrategy + * When expand() gets an exception, the original exception is re-raised. + * Add type annotations and API reference documentation. +- Added python-flufl.i18n-fix-setup.patch + ------------------------------------------------------------------- Mon Dec 2 12:02:29 UTC 2019 - pgajdos@suse.com diff --git a/python-flufl.i18n.spec b/python-flufl.i18n.spec index aaa898b..af4cabb 100644 --- a/python-flufl.i18n.spec +++ b/python-flufl.i18n.spec @@ -1,7 +1,7 @@ # # spec file for package python-flufl.i18n # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,30 +17,35 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%define pythons python3 Name: python-flufl.i18n -Version: 2.0.2 +Version: 3.2 Release: 0 -Summary: A high level API for Python internationalization +Summary: High level API for internationalizing Python libraries and applications License: Apache-2.0 URL: https://flufli18n.readthedocs.io Source: https://files.pythonhosted.org/packages/source/f/flufl.i18n/flufl.i18n-%{version}.tar.gz +Patch0: python-flufl.i18n-fix-setup.patch BuildRequires: %{python_module setuptools} -BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-atpublic -BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module atpublic} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six} +BuildRequires: %{python_module sybil} +BuildRequires: %{python_module typing_extensions} # /SECTION +BuildRequires: fdupes +Requires: python-atpublic +Suggests: python-typing_extensions +BuildArch: noarch %python_subpackages %description -A high level API for Python internationalization. +High level API for internationalizing Python libraries and applications. %prep -%setup -q -n flufl.i18n-%{version} +%autosetup -n flufl.i18n-%{version} -p1 %build %python_build