The NetBSD Project

CVS log for pkgsrc/time/py-cftime/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / time / py-cftime

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Oct 19 12:09:24 2026 UTC (3 weeks, 6 days ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
py-cftime: updated to 1.6.6.1

1.6.6.1
* ensure has_year_zero=False is ignored for idealized calendars, including when
  constructing year zero dates
* include free-threaded wheels

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Oct 16 19:44:24 2026 UTC (4 weeks, 2 days ago) by adam
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Forget Python 3.10

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Sep 30 10:39:39 2026 UTC (6 weeks, 4 days ago) by adam
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
py-cftime: updated to 1.6.6

version 1.6.6 (release tag v1.6.6rel)
* added new CF calendar "tai", which is the same as proleptic_gregorian but is only
  valid for dates after 1958-01-01.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jun 28 15:41:43 2026 UTC (4 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
*: limit Python versions due to py-numpy dropping Python 3.11 support

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Oct 20 11:19:31 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.19: preferred, colored
Changes since revision 1.19: +2 -3 lines
py-cftime: updated to 1.6.5

1.6.5
* python 3.14 wheels, 3.8/3.9 support dropped.
* roundtrip not correct when dates are all python datetime
  instances and calendar not proleptic_gregorian.
* fix cftime.datetime.strftime so it works with two digit year
  formatting (%y).
* speed up comparisions (using __richcmp___) and update docs.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Oct 9 07:58:07 2025 UTC (13 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
*: remove reference to (removed) Python 3.9

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jul 3 19:18:11 2025 UTC (16 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1 lines
*: py-numpy needs Python >= 3.11 now

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Apr 14 08:49:19 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:29:12 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 14 06:46:04 2024 UTC (2 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -3 lines
*: clean-up after python38 removal

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 5 18:45:39 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -7 lines
py-cftime: updated to 1.6.4

version 1.6.4 (release tag v1.6.4rel)

* build aarch64 linux wheels
* build musllinux wheels
* return empty array if one provided to date2num
* numpy 2.0 compatibility
* handle nan/inf in num2date

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Oct 30 14:15:35 2023 UTC (3 years 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.12: preferred, colored
Changes since revision 1.12: +9 -8 lines
py-cftime: updated to 1.6.3

version 1.6.3 (release tag v1.6.3rel)

* add support for formats without separators in strptime (e.g. '20200229')/
  This required removing support for > 4 digit years.
* set the c_api_binop_methods compiler directive to True to retain Cython 0.x
  behavior for arithmetic operators for Cython >= 3.0.0.
* support for python 3.12.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Aug 1 23:20:55 2023 UTC (3 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
*: remove more references to Python 3.7

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jul 1 08:37:42 2023 UTC (3 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
*: restrict py-numpy users to 3.9+ in preparation for update

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Dec 18 10:12:42 2022 UTC (3 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -4 lines
py-cftime: updated to 1.6.2

version 1.6.2 (release tag v1.6.2rel)
=====================================
* num2date should not fail on an empty integer array.
* longdouble keyword in date2num so that a roundtrip from a time to a date
  and back again does not lose microsecond precision when the units require
  the times be encoded as floating point values
* added strptime method.
* cibuildwheel wheel-building workflow added to github actions by @ocefpaf (triggers binary
  wheel builds and uploads to pypi automatically when GH release created).

version 1.6.1 (release tag v1.6.1rel)
=====================================
* fix failing tests on windows with numpy 1.23.0
* expose to_tuple module function in public API.

version 1.6.0 (release tag v1.6.0rel)
=====================================
* fix for masked array inputs.
* improved performance of the num2date algorithm, in some cases providing
  an over 100x speedup.
* fix for date2index for select != 'exact' when select='exact' works

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Apr 15 11:37:46 2022 UTC (4 years, 7 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
*: Mark various packages incompatible with Python 3.7 due to numpy

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:55:11 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
*: bump PKGREVISION for egg.mk users

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

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Dec 30 13:05:40 2021 UTC (4 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Forget about Python 3.6

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Dec 6 15:38:18 2021 UTC (4 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -5 lines
py-cftime: not for python 2.x

While here, fix tests.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jun 29 08:42:02 2021 UTC (5 years, 4 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
py-numpy: "Python version >= 3.7 required."

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri May 21 08:37:49 2021 UTC (5 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
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__

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri May 7 18:16:51 2021 UTC (5 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
py-cftime: updated to 1.4.1

version 1.4.1 (release tag v1.4.1.rel)
======================================
 * Restore use of calendar-specific sub-classes in `cftime.num2date`,
   `cftime.datetime.__add__`, and `cftime.datetime.__sub__`.  The use of them
   will be removed in a later release.
 * add 'fromordinal' static method to create a cftime.datetime instance
   from a julian day ordinal and calendar (inverse of 'toordinal').

version 1.4.0 (release tag v1.4.0.rel)
======================================
 * `cftime.date2num` will now always return an array of integers, if the units
   and times allow.  Previously this would only be true if the units were
   'microseconds'.  In other circumstances, as before, `cftime.date2num`
   will return an array of floats.
 * Rewrite of julian day/calendar functions (_IntJulianDayToCalendar and
   _IntJulianDayFromCalendar) to remove GPL'ed code.  cftime license
   changed to MIT (to be consistent with netcdf4-python).
 * Added datetime.toordinal() (returns julian day, kwarg 'fractional'
   can be used to include fractional day).
 * cftime.datetime no longer uses calendar-specific sub-classes.

version 1.3.1 (release tag v1.3.1rel)
=====================================
 * fix for issue 211 bug in masked array handling in date2num)
 * switch from travis/appveyor to github actions for CI/CD.
 * switch to cython language_level=3 (no more support for python 2).
 * add __init__.py to test dir so pytest coverage works again. Add Coveralls
   step to github actions workflow to upload coverage data to coveralls.io
 * move package under 'src' directory so cftime can be imported
   from install dir

version 1.3.0 (release tag v1.3.0rel)
=====================================
 * zero pad years in strtime
 * have cftime.datetime constuctor create 'calendar-aware' instances (default is
   'standard' calendar, if calendar='' or None the instance is not calendar aware and some
   methods, like dayofwk, dayofyr, __add__ and __sub__, will not work).
   The calendar specific sub-classes are now deprecated, but remain for now
   as stubs that just instantiate the base class and override __repr__.
 * update regex in _cpdef _parse_date so reference years with more than four
   digits can be handled.
 * Change default calendar in cftime.date2num from 'standard' to None
   (calendar associated with first input datetime object is used).
 * add `cftime.datetime.tzinfo=None` for compatibility with python datetime
  .

version 1.2.1 (release tag v1.2.1rel)
=====================================
 * num2date uses 'proleptic_gregorian' scheme when basedate is post-Gregorian but date is pre-Gregorian
  .
 * fix 1.2.0 regression (date2num no longer works with numpy scalar array inputs).
 * Fix for issue 187 (have date2num round to the nearest second when within 1
   microsecond).
 * Fix for issue 189 (leap years calculated incorrectly for negative years in
   proleptic_gregorian calendar).

version 1.2.0 (release tag v1.2.0rel)
=====================================
 * Return the default values of dayofwk and dayofyr when calendar
   is ''.
 * fix treatment of masked arrays in num2date and date2num.
   Also make sure masked arrays are output from num2date/date2num if
   masked arrays are input.
 * Where possible, use timedelta arithmetic to decode times exactly within
   num2date.
 * Make taking the difference between two cftime datetimes to produce a
   timedelta exact to the microsecond; depending on the units encoding,
   this enables date2num to be exact as well.
 * utime.date2num/utime.num2date now just call module level functions.
   JulianDayFromDate/DateFromJulianDay no longer used internally.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Oct 12 21:52:04 2020 UTC (6 years, 1 month ago) by bacon
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
math/blas, math/lapack: Install interchangeable BLAS system

Install the new interchangeable BLAS system created by Thomas Orgis,
currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and
Apple's Accelerate.framework.  This system allows the user to select any
BLAS implementation without modifying packages or using package options, by
setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details.

This commit should not alter behavior of existing packages as the system
defaults to Netlib BLAS/LAPACK, which until now has been the only supported
implementation.

Details:

Add new mk/blas.buildlink3.mk for inclusion in dependent packages
Install compatible Netlib math/blas and math/lapack packages
Update math/blas and math/lapack MAINTAINER approved by adam@
OpenBLAS, cblas, and lapacke will follow in separate commits
Update direct dependents to use mk/blas.buildlink3.mk
Perform recursive revbump

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jul 1 15:57:35 2020 UTC (6 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
py-cftime: added version 1.1.3

Python library for decoding time units and variable values in a netCDF file
conforming to the Climate and Forecasting (CF) netCDF conventions.

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>