Compare commits

..

23 Commits

Author SHA256 Message Date
Ana Guerrero
6955129c2c Accepting request 1224221 from devel:languages:python
- update to 7.4.0:
  * Handle a single apostrophe more gracefully.
- drop typing_extensions-version.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1224221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=10
2024-11-15 14:38:19 +00:00
Ana Guerrero
ccccb265ef Accepting request 1199303 from devel:languages:python
- Clean up the SPEC file.
- Add typing_extensions-version.patch cleaning up problematic
  handling with Annotated type on different versions of Pythons.

- update to 7.3.1:
  * Set minimum version of more-itertools to 8.5 (#215)
- version 7.3.0:
  * Restricted typing_extensions to Python 3.8. (#211)
- version 7.2.1:
  * Refactored number_to_words toward reduced complexity.
- version 7.2.0:
  * Replace pydantic with typeguard (#195)
- version 7.1.0:
  * Now handle 'pair of x' in pl_sb_uninflected_complete (#188)

OBS-URL: https://build.opensuse.org/request/show/1199303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=9
2024-09-09 12:43:18 +00:00
190f490e2c - Clean up the SPEC file.
- Add typing_extensions-version.patch cleaning up problematic
  handling with Annotated type on different versions of Pythons.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=21
2024-09-07 00:09:21 +00:00
87e7d1e60c Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=20
2024-09-06 21:06:51 +00:00
91606b508b - update to 7.3.1:
* Set minimum version of more-itertools to 8.5 (#215)
- version 7.3.0:
  * Restricted typing_extensions to Python 3.8. (#211)
- version 7.2.1:
  * Refactored number_to_words toward reduced complexity.
- version 7.2.0:
  * Replace pydantic with typeguard (#195)
- version 7.1.0:
  * Now handle 'pair of x' in pl_sb_uninflected_complete (#188)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=19
2024-09-06 20:52:04 +00:00
Ana Guerrero
c6de1d7660 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
2023-11-08 21:16:50 +00:00
7d780004c5 - 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/package/show/devel:languages:python/python-inflect?expand=0&rev=17
2023-11-07 15:00:47 +00:00
Dominique Leuenberger
64cfc7f1aa Accepting request 1085979 from devel:languages:python
- update to 6.0.4:
  * Internal cleanup.
  * A/an support now more correctly honors leading
  * capitalized words and abbreviations.
  * Improve support for ordinals for floats.
  * Require pydantic 1.9.1 to avoid ``ValueError``.
  * Minor tweaks and packaging refresh.
  * ``compare`` methods now validate their inputs
    and will raise a more meaningful exception if an
    empty string or None is passed. This expectation is now
    documented.
  * Many public methods now perform validation on arguments.
  * An empty string is no longer allowed for words or text.
  * #15: Fixes to plural edge case handling.
  * Packaging refresh and docs update.
  * #153: Internal refactor to simplify and unify
    ``_plnoun`` and ``_sinoun``.
  * Fixed badges.
  * Rewrite to satisfy type checkers.
  * #147: Enhanced type annotations.
  * Add a ``py.typed`` file so mypy recognizes type
    annotations.
  * Misc fixes in #128, #134, #135, #137, #138, #139, #140, #142,
  * #143, #144.
  * Require Python 3.7 or later.
  * Add support for pluralizing open compound nouns.
  * Modernized the codebase. Added a lot of type
    annotations.
  * Add support for uncountable nouns.
  * Refreshed package metadata.

OBS-URL: https://build.opensuse.org/request/show/1085979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=7
2023-05-11 10:31:32 +00:00
73d190b153 - update to 6.0.4:
* Internal cleanup.
  * A/an support now more correctly honors leading
  * capitalized words and abbreviations.
  * Improve support for ordinals for floats.
  * Require pydantic 1.9.1 to avoid ``ValueError``.
  * Minor tweaks and packaging refresh.
  * ``compare`` methods now validate their inputs
    and will raise a more meaningful exception if an
    empty string or None is passed. This expectation is now
    documented.
  * Many public methods now perform validation on arguments.
  * An empty string is no longer allowed for words or text.
  * #15: Fixes to plural edge case handling.
  * Packaging refresh and docs update.
  * #153: Internal refactor to simplify and unify
    ``_plnoun`` and ``_sinoun``.
  * Fixed badges.
  * Rewrite to satisfy type checkers.
  * #147: Enhanced type annotations.
  * Add a ``py.typed`` file so mypy recognizes type
    annotations.
  * Misc fixes in #128, #134, #135, #137, #138, #139, #140, #142,
  * #143, #144.
  * Require Python 3.7 or later.
  * Add support for pluralizing open compound nouns.
  * Modernized the codebase. Added a lot of type
    annotations.
  * Add support for uncountable nouns.
  * Refreshed package metadata.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=15
2023-05-10 06:46:03 +00:00
Dominique Leuenberger
8f8ab3b13d Accepting request 1081883 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=6
2023-04-22 20:00:24 +00:00
0eeefc9b68 Accepting request 1081452 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=13
2023-04-21 14:29:52 +00:00
Dominique Leuenberger
cb52642b8d Accepting request 961820 from devel:languages:python
- use %python_expand for %fdupes

OBS-URL: https://build.opensuse.org/request/show/961820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=5
2022-03-17 16:01:18 +00:00
268c92acfb - use %python_expand for %fdupes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=11
2022-03-15 08:49:37 +00:00
Steve Kowalik
a856e5fe5a Accepting request 961805 from home:coolo:branches:devel:languages:python
- %fdupes isn't python, remove %python_exec

OBS-URL: https://build.opensuse.org/request/show/961805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=10
2022-03-15 08:06:41 +00:00
Dominique Leuenberger
7b5c0c5e34 Accepting request 865036 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/865036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=4
2021-01-22 20:49:52 +00:00
7e3c29911f Accepting request 865027 from home:jayvdb:noflake8
- Update URL to https://github.com/jaraco/inflect
- Update to v5.0.2

OBS-URL: https://build.opensuse.org/request/show/865027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=8
2021-01-20 16:07:19 +00:00
Dominique Leuenberger
8e792486d2 Accepting request 793908 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/793908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=3
2020-04-15 17:54:27 +00:00
Tomáš Chvátal
0219d1eeea Accepting request 793901 from home:polslinux:branches:devel:languages:python
- Update to 4.1.0
  * Certain operations now allow ignore arbitrary leading words.
  * Require Python 3.6 or later.
  * Drop support for Python 3.4.
  * Project now builds on jaraco/skeleton for shared package management.

OBS-URL: https://build.opensuse.org/request/show/793901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=6
2020-04-14 14:30:46 +00:00
Dominique Leuenberger
402ca47936 Accepting request 709104 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/709104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=2
2019-06-12 11:17:10 +00:00
Tomáš Chvátal
cae6d9db97 Accepting request 709088 from home:mcalabkova:branches:devel:languages:python
- update to version 2.1.0
  * 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 
    is involved.
  * fix extraneous close parentheses.
  * Dropped support for Python 3.3.
  * Moved hosting to jazzband.

OBS-URL: https://build.opensuse.org/request/show/709088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=4
2019-06-11 09:58:36 +00:00
Dominique Leuenberger
37e67f2fb9 Accepting request 583959 from devel:languages:python
New package python-inflect, needed by python-jaraco.itertools

OBS-URL: https://build.opensuse.org/request/show/583959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=1
2018-03-18 20:44:13 +00:00
Thomas Bechtold
177d392648 Accepting request 508202 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/508202
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=2
2017-07-05 05:06:16 +00:00
dcf54a72bb Accepting request 416582 from home:XRevan86
OBS-URL: https://build.opensuse.org/request/show/416582
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=1
2016-08-07 12:17:16 +00:00
3 changed files with 0 additions and 22 deletions

BIN
inflect-7.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edd785148a673b0c6dfef1a7d80cc1bcb2dd6d041cdb313b60032e464fd4e808
size 71980

View File

@ -1,16 +0,0 @@
---
inflect/compat/py38.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/inflect/compat/py38.py
+++ b/inflect/compat/py38.py
@@ -1,7 +1,7 @@
import sys
-if sys.version_info >= (3, 9):
+try:
from typing import Annotated
-else: # pragma: no cover
+except ImportError:
from typing_extensions import Annotated # noqa: F401