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__
This commit is contained in:
adam 2021-05-21 08:37:49 +00:00
parent 98e40f58ec
commit 3d8e86bbc5
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.3 2021/05/07 18:16:51 adam Exp $ # $NetBSD: Makefile,v 1.4 2021/05/21 08:37:49 adam Exp $
DISTNAME= cftime-1.4.1 DISTNAME= cftime-1.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cftime/} MASTER_SITES= ${MASTER_SITE_PYPI:=c/cftime/}

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2021/05/07 18:16:51 adam Exp $ $NetBSD: distinfo,v 1.3 2021/05/21 08:37:49 adam Exp $
SHA1 (cftime-1.4.1.tar.gz) = 76746f879a5323e847d5b8bfc21f90aadd7527fc SHA1 (cftime-1.5.0.tar.gz) = 68a302e292cfec20d644837ef8a8ac5fadae4568
RMD160 (cftime-1.4.1.tar.gz) = 415fdb31887f35867b929e902d3e199003657eba RMD160 (cftime-1.5.0.tar.gz) = 8408909fa42962099dfc06e310b4a8dfddfbfbda
SHA512 (cftime-1.4.1.tar.gz) = 2d07b8f423e9945b1ced2e89f03965df5c3b25f932b0e7ce893a6cbd4568c93f0abb1d8e6efebe2cafca2ee19259f3c0878fec4fb91f68bf5dde1ccb67bcdef9 SHA512 (cftime-1.5.0.tar.gz) = 8607d12ac1333e47de1976b0efc96f0f2a141cff19291974300c23b35ea9e389e698de0dc8fe5303b2686c77750e8d4017670c697de16d989c689391109ec510
Size (cftime-1.4.1.tar.gz) = 46721 bytes Size (cftime-1.5.0.tar.gz) = 44972 bytes