pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/py-cftime py-cftime: updated to 1.6.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54e3e0887ae0
branches:  trunk
changeset: 390292:54e3e0887ae0
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 18 10:12:42 2022 +0000

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

diffstat:

 time/py-cftime/Makefile |  7 +++----
 time/py-cftime/PLIST    |  5 ++++-
 time/py-cftime/distinfo |  8 ++++----
 3 files changed, 11 insertions(+), 9 deletions(-)

diffs (52 lines):

diff -r 34e4728a207d -r 54e3e0887ae0 time/py-cftime/Makefile
--- a/time/py-cftime/Makefile   Sun Dec 18 10:06:39 2022 +0000
+++ b/time/py-cftime/Makefile   Sun Dec 18 10:12:42 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2022/04/15 11:37:46 nia Exp $
+# $NetBSD: Makefile,v 1.10 2022/12/18 10:12:42 adam Exp $
 
-DISTNAME=      cftime-1.5.0
+DISTNAME=      cftime-1.6.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cftime/}
 
@@ -12,7 +11,7 @@
 LICENSE=       gnu-gpl-v3
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 37 # py-numpy
 
diff -r 34e4728a207d -r 54e3e0887ae0 time/py-cftime/PLIST
--- a/time/py-cftime/PLIST      Sun Dec 18 10:06:39 2022 +0000
+++ b/time/py-cftime/PLIST      Sun Dec 18 10:12:42 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2020/07/01 15:57:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/12/18 10:12:42 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,3 +8,6 @@
 ${PYSITELIB}/cftime/__init__.pyc
 ${PYSITELIB}/cftime/__init__.pyo
 ${PYSITELIB}/cftime/_cftime.so
+${PYSITELIB}/cftime/_strptime.py
+${PYSITELIB}/cftime/_strptime.pyc
+${PYSITELIB}/cftime/_strptime.pyo
diff -r 34e4728a207d -r 54e3e0887ae0 time/py-cftime/distinfo
--- a/time/py-cftime/distinfo   Sun Dec 18 10:06:39 2022 +0000
+++ b/time/py-cftime/distinfo   Sun Dec 18 10:12:42 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:24:32 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/12/18 10:12:42 adam Exp $
 
-BLAKE2s (cftime-1.5.0.tar.gz) = 37cb8b03839aef7f8e647ead554dee752e691ba937bffa9eac485d68bfb0361d
-SHA512 (cftime-1.5.0.tar.gz) = 8607d12ac1333e47de1976b0efc96f0f2a141cff19291974300c23b35ea9e389e698de0dc8fe5303b2686c77750e8d4017670c697de16d989c689391109ec510
-Size (cftime-1.5.0.tar.gz) = 44972 bytes
+BLAKE2s (cftime-1.6.2.tar.gz) = 3f6ae0856daa4b44dade0dfeb5a2049fac83d828c4960ed04a2dd2708c5ee7d4
+SHA512 (cftime-1.6.2.tar.gz) = d5135a55e5c9982247835e379bd35e4d8b47f0f70d08766f73223e0c40dc1875840c5cb40515e233196af1c10e992911325ff33a3c41efc3b8009e49de2a6e31
+Size (cftime-1.6.2.tar.gz) = 52745 bytes



Home | Main Index | Thread Index | Old Index