pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-ciso8601



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Aug  9 13:07:40 UTC 2021

Modified Files:
        pkgsrc/time/py-ciso8601: Makefile distinfo

Log Message:
py-ciso8601: updated to 2.2.0

Version 2.2.0

* Added Python 3.9 support
* Switched to using a C implementation of `timezone` objects.
    * Much faster parse times for timestamps with timezone information
        * ~2.5x faster on Python 2.7, ~10% faster on Python 3.9
    * Thanks to [`pendulum`](https://github.com/sdispater/pendulum) and @sdispater for the code.
    * Python 2.7 users no longer need to install `pytz` dependency :smiley:
* Added caching of tzinfo objects
  * Parsing is ~1.1x faster for subsequent timestamps that have the same time zone offset.
  * Caching can be disabled at compile time by setting the `CISO8601_CACHING_ENABLED=0` environment variable
* Fixed a memory leak in the case where an invalid timestamp had a non-UTC timezone and extra characters


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/py-ciso8601/Makefile \
    pkgsrc/time/py-ciso8601/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-ciso8601/Makefile
diff -u pkgsrc/time/py-ciso8601/Makefile:1.1 pkgsrc/time/py-ciso8601/Makefile:1.2
--- pkgsrc/time/py-ciso8601/Makefile:1.1        Sat May 23 08:22:40 2020
+++ pkgsrc/time/py-ciso8601/Makefile    Mon Aug  9 13:07:40 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/05/23 08:22:40 adam Exp $
+# $NetBSD: Makefile,v 1.2 2021/08/09 13:07:40 adam Exp $
 
-DISTNAME=      ciso8601-2.1.3
+DISTNAME=      ciso8601-2.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/ciso8601/}
Index: pkgsrc/time/py-ciso8601/distinfo
diff -u pkgsrc/time/py-ciso8601/distinfo:1.1 pkgsrc/time/py-ciso8601/distinfo:1.2
--- pkgsrc/time/py-ciso8601/distinfo:1.1        Sat May 23 08:22:40 2020
+++ pkgsrc/time/py-ciso8601/distinfo    Mon Aug  9 13:07:40 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/05/23 08:22:40 adam Exp $
+$NetBSD: distinfo,v 1.2 2021/08/09 13:07:40 adam Exp $
 
-SHA1 (ciso8601-2.1.3.tar.gz) = 8c6b2cdcb5c684aa9b40fd3cd26c270745515424
-RMD160 (ciso8601-2.1.3.tar.gz) = e5c1b0e2455063de2577d955e63ce177e70190e0
-SHA512 (ciso8601-2.1.3.tar.gz) = 9342cf9b2ded1077a2c3906527ae4ac05dfc0e8104f1c85e041d636caa1180df390f01b2d87a33a4c197f4467a25bda1cd0136eb48585b127662cde7d0ffda7e
-Size (ciso8601-2.1.3.tar.gz) = 15726 bytes
+SHA1 (ciso8601-2.2.0.tar.gz) = 09844dc870eca1a7ffee3dbd4015b9b174a4404a
+RMD160 (ciso8601-2.2.0.tar.gz) = fc51ea0b0991ed2e00bc1592dd0c85e2eb71c3db
+SHA512 (ciso8601-2.2.0.tar.gz) = 844a104a00a6d4df7497714d36695c4a018acb7074b0eca3dde9d3506885ab18be90f1fcb271539fa1328ed364ae12777b179cb5fc173ebc125c5fb387f8c411
+Size (ciso8601-2.2.0.tar.gz) = 18440 bytes



Home | Main Index | Thread Index | Old Index