Subject: CVS commit: pkgsrc/time/py-cftime
From: Adam Ciarcinski
Date: 2021-05-21 10:37:49
Message id: 20210521083749.5A0C7FA95@cvs.NetBSD.org

Log Message:
py-cftime: updated to 1.5.0

version 1.5.0 (release tag v1.5.0.rel)
======================================
* clean-up deprecated calendar specific subclasses.
* added string formatting support to `cftime.datetime` objects
  (via `cftime.datetime.__format__`).
* add support for astronomical year numbering (including year zero) for
  real-world calendars using 'has_year_zero' cftime.datetime kwarg.
  Default is False for 'real-world' calendars ('julian', 'gregorian'/'standard',
  'proleptic_gregorian'). Ignored for idealized calendars like '360_day
  (they always have year zero).
* add "change_calendar" cftime.datetime method to switch to another
  'real-world' calendar. Enable comparison of cftime.datetime instances
  with different 'real-world' calendars (using the new change_calendar method)
* remove legacy `utime` class, and legacy `JulianDayFromDate` and
  `DateFromJulianDay` functions (replaced by `cftime.datetime.toordinal`
  and `cftime.datetime.fromordinal`).
* Change ValueError to TypeError in __sub__

Files:
RevisionActionfile
1.4modifypkgsrc/time/py-cftime/Makefile
1.3modifypkgsrc/time/py-cftime/distinfo