The NetBSD Project

CVS log for pkgsrc/textproc/py-humanize/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-humanize

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jul 1 10:01:42 2026 UTC (4 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -1 lines
py-humanize: updated to 4.16.0

4.16.0

Added

Add Latvian language localization
Add i18n support for naturalsize() and French translation

Changed

Performance improvements: 1.07x - 8.4x
Lazy imports for Python 3.15+
Drop experimental Python 3.13 free-threaded
Refactor: simplify scientific() and extract _SUPERSCRIPT_MAP constant

Fixed

Fix naturalsize() rounding rollover at unit boundaries
Carry metric() to the next SI prefix when rounding reaches 1000
Stop printing two minus signs in fractional for a negative mixed number
Return an empty string from natural_list() for an empty list
Handle tz-aware datetimes in naturalday() and naturaldate()
Fix Arabic translation
Fix Spanish large number translations to use long scale

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Oct 20 07:55:52 2025 UTC (12 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1 lines
py-humanize: updated to 4.14.0

4.14.0

Added

Add Uzbek language

Changed

Drop support for Python 3.9

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Apr 12 19:05:38 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
py-humanize: updated to 4.12.2

4.12.2
Update license file reference from LICENSE to LICENCE in pyproject.toml
Update docstring in naturaldelta
Ignore sys.monitoring warning for Python 3.11 and earlier in coverage.py config

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Feb 15 21:04:18 2025 UTC (20 months, 4 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -2 lines
py-humanize: updated to 4.12.0

4.12.0

Added

Add support for Python 3.14 and test PyPy3.11
Handle en_GB and en_US locale
Release to PyPI using Trusted Publishing

Changed

Defer imports for faster overall import time: 19 ms -> 3 ms
Replace deprecated classifier with licence expression (PEP 639)
Lint and test with tox-uv

Fixed

Fix overflow issue in naturalsize with np.int32 input
Fix pt_BR locale
Generate translation binaries during release

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Oct 15 05:54:05 2024 UTC (2 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -1 lines
py-humanize: updated to 4.11.0

4.11.0

Added

Add natural_list
filesize: support the ronna and quetta prefixes
Update French translations for numbers

Changed

Drop support for Python 3.8
Defer fractions.Fraction import to save 5ms
Speedup x 1.85: Generate __version__ at build to avoid slow importlib.metadata import

Fixed

Fix finding location of translations
Fix rollover from ZB to 1.0 YB
Fix zh_CN/zh_HK translation for "1 year, %d days"

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Dec 1 19:01:42 2023 UTC (2 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -1 lines
py-humanize: updated to 4.9.0

4.9.0

Added

Add support for Python 3.13
Add Norwegian localization
Add Hebrew localization
Add Klingon translation

Changed

Replace Flake8 with Ruff

Fixed

Fix DeprecationWarning: Plural value must be an integer, got float
Remove useless shebangs

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Oct 28 19:57:17 2023 UTC (3 years ago) by wiz
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -3 lines
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.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Aug 24 20:02:09 2023 UTC (3 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -0 lines
py-humanize: update to 4.8.0.

Added

    Add Hungarian localization (#131) @gy-balint
    Revise Turkish localization (#139) @geekdinazor
    Translate "thousand" to "千" for zh_CN (#127) @dofine

Changed

    Update docs link to https://humanize.readthedocs.io (#128) @hugovk

Fixed

    Move logic to convert aware datetime to naive into function (#123) @ErikKalkoken
    Docs: fix formatting of return value (#137) @hugovk

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jul 5 20:51:45 2023 UTC (3 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -0 lines
py-humanize: update to 4.7.0.

Added

    Declare support for Python 3.12 (#119) @hugovk
    Add Esperanto localization (#113) @carmiac
    Support timezone-aware datetimes in naturaltime (#100) @tandav
    Update Bengali translation (#99) @baseplate-admin

Changed

    Drop support for EOL Python 3.7 (#118) @hugovk

Fixed

    Remove unused MANIFEST.in (#120) @hugovk

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri May 5 08:54:00 2023 UTC (3 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +15 -12 lines
py-humanize: update to 4.6.0.

No summary of changes found - a year of heavy development,
new upstream site, support for new Python versions.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Dec 11 19:56:13 2021 UTC (4 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -1 lines
py-humanize: updated to 3.13.1

3.13.1

Fixed

Temporarily comment out to avoid warning during import humanize


3.13.0

Added

Add da_DK language
Fix and add Russian and Ukrainian words
Add missing strings for Polish translation
Add Traditional Chinese (zh-HK)

Changed

Remove redundant setuptools from install_requires

Deprecated

This is the last release to support Python 3.6
Deprecate private functions
Reinstate VERSION and deprecate

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Aug 25 09:04:41 2021 UTC (5 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -1 lines
py-humanize: updated to 3.11.0

3.11.0

Added
Add Bengali langauage

Fixed
Fix Korean localization

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jul 5 19:05:30 2021 UTC (5 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1 lines
py-humanize: updated to 3.10.0

3.10.0:
Add Swedish translation

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jun 15 09:11:26 2021 UTC (5 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
py-humanize: updated to 3.9.0

3.9.0:
Move vi_VI to vi_VN and update some translations

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Jun 13 17:34:05 2021 UTC (5 years, 5 months ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1 lines
py-humanize: updated to 3.8.0

3.8.0:
Add Slovenian translation

3.7.1:
Include generated translation binaries in release
Update release checklist so translation binaries aren't forgotten

3.7.0:
Add missing strings for Persian

3.6.0:
Add pluralization for intword
Add es_ES '%s and %s' translation
Add gender support for ordinals
Add type hints for all exposed natural* functions

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 16 08:47:52 2021 UTC (5 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -1 lines
py-humanize: updated to 3.4.1

3.4.1:
Fixed
Add Catalan binary translation

3.4.0:
Added
Add Catalan translation

Changed
Add documentation and release notes to project_urls

Fixed
Fix tests for Python 3.10

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 14 12:46:02 2020 UTC (6 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
py-humanize: updated to 2.5.0

2.5.0:
Add pt_PT locale

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Apr 29 10:11:56 2020 UTC (6 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
py-humanize: updated to 2.4.0

2.4.0:
Polish (pl_PL) locales added

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 11 07:08:05 2020 UTC (6 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
py-humanize: updated to 2.3.0

2.3.0:
Added Spanish (Spain) locale

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Mar 24 07:00:22 2020 UTC (6 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
py-humanize: updated to 2.2.0

2.2.0:
Add Ukrainian
Update translations

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Mar 21 11:23:57 2020 UTC (6 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +26 -5 lines
py-humanize: updated to 2.1.0

2.1.0:
Added
Add ndigits option to intcomma
Show more than bytes for negative file sizes

2.0.0:
Note: Humanize 1.1.0 was meant to be tagged 2.0.0 because it drops support for Python 2, so is also released as 2.0.0. If you still support Python 2, use Humanize 1.0.0.

Added
Disambiguate naturaldate return: only append year if more than ~5 months away
Add scientific notation to string support
Add micro- and millisecond units to naturaldelta and naturaltime

Changed
Disambiguate naturaldate return: only append year if more than ~5 months away
Convert remaining tests to use pytest.mark.parametrize
Refactor some tests to use pytest.mark.parametrize

Removed
Drop support for EOL Python 2

Fixed
Fix intword returning 1000.0 million instead of 1.0 billion

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 4 11:34:05 2017 UTC (9 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Import py-humanize-0.5.1 as textproc/py-humanize.

This modest package contains various common humanization utilities,
like turning a number into a fuzzy human readable duration ('3
minutes ago') or into a human readable size or throughput. It is
localized to Russian, French, and Korean.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>