summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-08-09 13:07:40 +0000
committeradam <adam@pkgsrc.org>2021-08-09 13:07:40 +0000
commit6b7c28a2ef9f0866d758dbcda3945d5ec114b7fe (patch)
tree03363cb6e0fbca101b91b90f74aa210abd8213d5 /time
parent7fb6fbc1ede18781819327517ecd0bcba0ec9c70 (diff)
downloadpkgsrc-6b7c28a2ef9f0866d758dbcda3945d5ec114b7fe.tar.gz
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
Diffstat (limited to 'time')
-rw-r--r--time/py-ciso8601/Makefile4
-rw-r--r--time/py-ciso8601/distinfo10
2 files changed, 7 insertions, 7 deletions
diff --git a/time/py-ciso8601/Makefile b/time/py-ciso8601/Makefile
index 20ae54ba299..01de4a89ad7 100644
--- a/time/py-ciso8601/Makefile
+++ b/time/py-ciso8601/Makefile
@@ -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/}
diff --git a/time/py-ciso8601/distinfo b/time/py-ciso8601/distinfo
index 155e80e0ee5..76ccb3d5cfa 100644
--- a/time/py-ciso8601/distinfo
+++ b/time/py-ciso8601/distinfo
@@ -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