./lang/py-inflect, Correctly generate plurals, ordinals, indefinite articles for English

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 7.4.0, Package name: py312-inflect-7.4.0, Maintainer: pkgsrc-users

This python module provides plural inflections, singular noun
inflections, "a"/"a" selection for English words, and manipulation
of numbers as words.


Required to run:
[devel/py-setuptools] [lang/python37] [devel/py-importlib-metadata]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

Filesize: 71.025 KB

Version history: (Expand)


CVS history: (Expand)


   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-10-04 23:17:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-inflect: updated to 7.0.0

v7.0.0

Features
- Refine type hint for ``singular_noun`` to indicate a literal return type for \ 
``False``.

Deprecations and Removals
- Removed methods renamed in 0.2.0.

v6.2.0

Features
- Project now supports Pydantic 2 while retaining support for Pydantic 1.

Bugfixes
- Added validation of user-defined words and amended the type declarations to \ 
match, allowing for null values but not empty strings.
   2023-05-15 22:52:47 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-inflect: updated to 6.0.4

v6.0.4
* Internal cleanup.

v6.0.3
* A/an support now more correctly honors leading
  capitalized words and abbreviations.
* Improve support for ordinals for floats.
   2022-11-14 16:08:31 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-inflect: add missing tool dependency
   2022-11-06 19:08:15 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-inflect: updated to 6.0.2

v6.0.2
======
* Require pydantic 1.9.1 to avoid ``ValueError``.

v6.0.1
======
* Minor tweaks and packaging refresh.

v6.0.0
======
* ``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.
  Callers are expected to pass non-empty text or trap
  the validation errors that are raised. The exceptions
  raised are ``pydantic.error_wrappers.ValidationError``,
  which are currently a subclass of ``ValueError``, but since
  that
  `may change \ 
<https://pydantic-docs.helpmanual.io/usage/validation_decorator/#validation-exception>`_,
  tests check for a generic ``Exception``.
   2022-01-25 10:05:12 by Thomas Klausner | Files touched by this commit (10)
Log message:
*: use versioned_dependencies.mk for py-importlib-metadata
   2022-01-13 20:31:25 by Thomas Klausner | Files touched by this commit (43)
Log message:
*: setuptools_scm: switch to versioned_dependencies
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS