The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.39: 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.38: preferred, colored
Changes since revision 1.38: +2 -2 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.38: download - view: text, markup, annotated - select for diffs
Mon Dec 22 14:18:57 2025 UTC (10 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
py-humanize: updated to 4.15.0

4.15.0

Added

Add locale support for decimal separator in intword
Add support for Python 3.15

Changed

Replace pre-commit with prek

Fixed

naturaldelta: round the value to nearest unit that makes sense
Fix plural form for intword and improve performance
Replace Exception with more specific FileNotFoundError

Revision 1.37: 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-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
py-humanize: updated to 4.14.0

4.14.0

Added

Add Uzbek language

Changed

Drop support for Python 3.9

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Sep 1 12:59:11 2025 UTC (14 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
py-humanize: updated to 4.13.0

4.13.0

Changed

Optimise naturalsize algorithm by using math.log

Fixed

Fix precisedelta rounding

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue May 6 12:45:49 2025 UTC (18 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
py-humanize: updated to 4.12.3

4.12.3

Fixed

Fix regression in naturalsize for float and str
Improvements for French translation

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Apr 12 19:05:38 2025 UTC (19 months ago) by adam
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 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.33: download - view: text, markup, annotated - select for diffs
Mon Feb 24 17:24:52 2025 UTC (20 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
py-humanize: updated to 4.12.1

4.12.1

Fixed

Fix regression in naturalsize for float

Revision 1.32: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 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.31: 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.30: preferred, colored
Changes since revision 1.30: +3 -5 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.30: download - view: text, markup, annotated - select for diffs
Sun Jul 21 10:14:46 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
py-humanize: updated to 4.10.0

4.10.0

Changed

Replace deprecated pydocstyle with Ruff and update to Black 2024 style

Fixed

Remove shebang from filesize.py
Fix test failures on systems with 32-bit time_t
Fix handling of negative time deltas
Fix naturaldelta sub second precision
Reword the French translation of very small amount of time
Fix Arabic localization
metric: Fix precision format

Revision 1.29: 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-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -8 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.28: 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.27: preferred, colored
Changes since revision 1.27: +2 -1 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.27: 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.26: preferred, colored
Changes since revision 1.26: +2 -2 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.26: download - view: text, markup, annotated - select for diffs
Tue Aug 1 23:20:53 2023 UTC (3 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
*: remove more references to Python 3.7

Revision 1.25: 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.24: preferred, colored
Changes since revision 1.24: +3 -3 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.24: 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.23: preferred, colored
Changes since revision 1.23: +11 -10 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.23: download - view: text, markup, annotated - select for diffs
Wed Jan 5 10:02:48 2022 UTC (4 years, 10 months ago) by wiz
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
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
py-humanize: fix dependency type for setuptools*

Bump PKGREVISION

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:54:56 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
*: bump PKGREVISION for egg.mk users

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

Revision 1.21: 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-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 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.20: download - view: text, markup, annotated - select for diffs
Thu Nov 18 17:46:10 2021 UTC (4 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
py-humanize: updated to 3.12.0

3.12.0
Added

Add support for Python 3.10

Changed

Use importlib.metadata to get package version instead of pkg_resources.get_distribution to decrease memory consumption

Fixed

Fix incorrect type in comment for 'when'

Revision 1.19: 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.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
py-humanize: updated to 3.11.0

3.11.0

Added
Add Bengali langauage

Fixed
Fix Korean localization

Revision 1.18: 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.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
py-humanize: updated to 3.10.0

3.10.0:
Add Swedish translation

Revision 1.17: 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.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
py-humanize: updated to 3.9.0

3.9.0:
Move vi_VI to vi_VN and update some translations

Revision 1.16: 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.15: preferred, colored
Changes since revision 1.15: +2 -2 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.15: download - view: text, markup, annotated - select for diffs
Sat May 8 05:53:26 2021 UTC (5 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
py-humanize: updated to 3.5.0

3.5.0

Added

Add intword processing for thousands

Changed

Update translation .po files with 'thousand'
Remove generated translation binaries from repo

Revision 1.14: 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.13: preferred, colored
Changes since revision 1.13: +2 -2 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.13: download - view: text, markup, annotated - select for diffs
Sun Mar 21 07:49:32 2021 UTC (5 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
py-humanize: updated to 3.3.0

3.3.0:
Add humanize.number.clamp

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Dec 14 06:06:03 2020 UTC (5 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
py-humanize: updated to 3.2.0

3.2.0:

Added
Internationalise intcomma and add fr_FR

Changed
Apply setup-py-upgrade
Test Python 3.9 final on Travis CI

Fixed
Fix grammar mistake in the Dutch translations

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Oct 21 11:46:53 2020 UTC (6 years ago) by adam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
py-humanize: updated to 3.1.0

3.1.0

Added

Declare support for Python 3.9
testing/docs: Include doctests in testing
Allow custom "now" in naturaldelta and naturaltime

Fixed

Represent with a zero if the delta is too small

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Oct 3 18:19:42 2020 UTC (6 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -6 lines
py-humanize: updated to 3.0.1

3.0.1
Fixed
Fix some translation for id_ID


3.0.0
Added
Add explicit setuptools dependency for pkg_resources

Removed
Drop support for Python 3.5

Fixed
Update minimum_unit handling of naturaldelta and naturaltime
Internationalise a previously hardcoded 'and'
Update docs

Revision 1.9: 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-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
py-humanize: updated to 2.5.0

2.5.0:
Add pt_PT locale

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jun 29 13:35:56 2020 UTC (6 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
py-humanize: updated to 2.4.1

2.4.1:
Fixed:
Explicit error if _DEFAULT_LOCALE_PATH is None
Fix incorrect Portuguese spelling
Fix fractional(0.333) output in README

Revision 1.7: 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.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
py-humanize: updated to 2.4.0

2.4.0:
Polish (pl_PL) locales added

Revision 1.6: 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.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
py-humanize: updated to 2.3.0

2.3.0:
Added Spanish (Spain) locale

Revision 1.5: 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.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
py-humanize: updated to 2.2.0

2.2.0:
Add Ukrainian
Update translations

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Mar 22 17:56:22 2020 UTC (6 years, 7 months ago) by tnn
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
py-humanize: needs py-setuptools_scm

Revision 1.3: 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.2: preferred, colored
Changes since revision 1.2: +21 -15 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.2: download - view: text, markup, annotated - select for diffs
Mon Sep 4 18:08:28 2017 UTC (9 years, 2 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Follow some redirects.

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-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>