forked from pool/python-inflect
Accepting request 1124031 from devel:languages:python
- 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. - update to 6.0.5: * Pin to Pydantic 1 to avoid breaking in Pydantic 2. * Fix capitalization issues in processes where more than one word OBS-URL: https://build.opensuse.org/request/show/1124031 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=8
This commit is contained in:
commit
c6de1d7660
BIN
inflect-6.0.4.tar.gz
(Stored with Git LFS)
BIN
inflect-6.0.4.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
inflect-7.0.0.tar.gz
Normal file
3
inflect-7.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:63da9325ad29da81ec23e055b41225795ab793b4ecb483be5dc1fa363fd4717e
|
||||||
|
size 70963
|
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 7 14:57:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
Wed May 10 06:42:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@ -82,7 +104,7 @@ Tue Jun 11 08:38:40 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
|||||||
* Relicensed under the more permissive MIT License.
|
* Relicensed under the more permissive MIT License.
|
||||||
* fix inconsistencies with the inflect method
|
* fix inconsistencies with the inflect method
|
||||||
* Improved unicode handling.
|
* 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.
|
is involved.
|
||||||
* fix extraneous close parentheses.
|
* fix extraneous close parentheses.
|
||||||
* Dropped support for Python 3.3.
|
* Dropped support for Python 3.3.
|
||||||
|
@ -18,17 +18,18 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-inflect
|
Name: python-inflect
|
||||||
Version: 6.0.4
|
Version: 7.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Methods for working on numbers and nouns
|
Summary: Methods for working on numbers and nouns
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/jaraco/inflect
|
URL: https://github.com/jaraco/inflect
|
||||||
Source0: https://files.pythonhosted.org/packages/source/i/inflect/inflect-%{version}.tar.gz
|
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 pip}
|
||||||
BuildRequires: %{python_module pydantic >= 1.9.1}
|
BuildRequires: %{python_module pydantic >= 1.9.1}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module toml}
|
BuildRequires: %{python_module toml}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -57,7 +58,8 @@ Correctly generate plurals, singular nouns, ordinals, indefinite articles; conve
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES.rst README.rst
|
%doc NEWS.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/inflect
|
||||||
|
%{python_sitelib}/inflect-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user