diff --git a/inflect-6.0.4.tar.gz b/inflect-6.0.4.tar.gz deleted file mode 100644 index 65fa290..0000000 --- a/inflect-6.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1842649a17b6cad66812a5c9bdfacb6310e1e7b6dd8a31f026766df1b62612eb -size 71131 diff --git a/inflect-7.0.0.tar.gz b/inflect-7.0.0.tar.gz new file mode 100644 index 0000000..e290faf --- /dev/null +++ b/inflect-7.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63da9325ad29da81ec23e055b41225795ab793b4ecb483be5dc1fa363fd4717e +size 70963 diff --git a/python-inflect.changes b/python-inflect.changes index c1d289a..ec390cc 100644 --- a/python-inflect.changes +++ b/python-inflect.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Nov 7 14:57:37 UTC 2023 - Dirk Müller + +- update to 7.0.0: + * Refine type hint for ``singular_noun`` to indicate a literal + return type for ``False``. (#186) + * Removed methods renamed in 0.2.0. + * Project now supports Pydantic 2 while retaining support for + Pydantic 1. (#187) + * Added validation of user-defined words and amended the type + declarations to match, allowing for null values but not empty + strings. (#187) + * ``ordinal`` now handles float types correctly without first + coercing them to strings. (#178) + * Require Python 3.8 or later. + +------------------------------------------------------------------- +Tue Nov 7 14:56:14 UTC 2023 - Dirk Müller + +- update to 6.0.5: + * Pin to Pydantic 1 to avoid breaking in Pydantic 2. + ------------------------------------------------------------------- Wed May 10 06:42:21 UTC 2023 - Dirk Müller @@ -82,7 +104,7 @@ Tue Jun 11 08:38:40 UTC 2019 - Marketa Calabkova * Relicensed under the more permissive MIT License. * fix inconsistencies with the inflect method * Improved unicode handling. - * Fix capitalization issues in processes where more than one word + * Fix capitalization issues in processes where more than one word is involved. * fix extraneous close parentheses. * Dropped support for Python 3.3. diff --git a/python-inflect.spec b/python-inflect.spec index e019e44..c08ec8b 100644 --- a/python-inflect.spec +++ b/python-inflect.spec @@ -18,17 +18,18 @@ %{?sle15_python_module_pythons} Name: python-inflect -Version: 6.0.4 +Version: 7.0.0 Release: 0 Summary: Methods for working on numbers and nouns License: MIT Group: Development/Languages/Python URL: https://github.com/jaraco/inflect Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz -BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module pydantic >= 1.9.1} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module toml} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -57,7 +58,8 @@ Correctly generate plurals, singular nouns, ordinals, indefinite articles; conve %files %{python_files} %license LICENSE -%doc CHANGES.rst README.rst -%{python_sitelib}/* +%doc NEWS.rst README.rst +%{python_sitelib}/inflect +%{python_sitelib}/inflect-%{version}*-info %changelog