pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/py-ciso8601 py-ciso8601: updated to 2.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d67cf035fd7
branches:  trunk
changeset: 390888:6d67cf035fd7
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Dec 31 21:56:43 2022 +0000

description:
py-ciso8601: updated to 2.3.0

Version 2.3.0

* Added Python 3.11 support
* Fix the build for PyPy2
* Added missing `fromutc` implementation for `FixedOffset`.
* Removed improper ability to call `FixedOffset`'s `dst`, `tzname` and `utcoffset` without arguments
* Fixed: `datetime.tzname` returns a `str` in Python 2.7, not a `unicode`
* Change `METH_VARARGS` to `METH_O`, enhancing performance.
* Added support for ISO week dates,
* Added support for ordinal dates

diffstat:

 time/py-ciso8601/Makefile |  5 ++---
 time/py-ciso8601/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r bacc0624f1cc -r 6d67cf035fd7 time/py-ciso8601/Makefile
--- a/time/py-ciso8601/Makefile Sat Dec 31 21:54:50 2022 +0000
+++ b/time/py-ciso8601/Makefile Sat Dec 31 21:56:43 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:11 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/12/31 21:56:43 adam Exp $
 
-DISTNAME=      ciso8601-2.2.0
+DISTNAME=      ciso8601-2.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/ciso8601/}
 
diff -r bacc0624f1cc -r 6d67cf035fd7 time/py-ciso8601/distinfo
--- a/time/py-ciso8601/distinfo Sat Dec 31 21:54:50 2022 +0000
+++ b/time/py-ciso8601/distinfo Sat Dec 31 21:56:43 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:24:32 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/12/31 21:56:43 adam Exp $
 
-BLAKE2s (ciso8601-2.2.0.tar.gz) = 0d0b2d801e8c6dafdcdf94328e77366cb88b7e083170a84dba9bed7951935de7
-SHA512 (ciso8601-2.2.0.tar.gz) = 844a104a00a6d4df7497714d36695c4a018acb7074b0eca3dde9d3506885ab18be90f1fcb271539fa1328ed364ae12777b179cb5fc173ebc125c5fb387f8c411
-Size (ciso8601-2.2.0.tar.gz) = 18440 bytes
+BLAKE2s (ciso8601-2.3.0.tar.gz) = a95634607f1acdb8b108b2113fb547ab84b9d3e6a1653b441603ee6f74ab64a2
+SHA512 (ciso8601-2.3.0.tar.gz) = 75d7fe17da2b2f670d220074cbb86c3ea8182c793506c5b96504d15d14e5bee9e4d3a44a68532af54fee9791b42583910caab8b2c680f3a56007f6ed9e20d598
+Size (ciso8601-2.3.0.tar.gz) = 26839 bytes



Home | Main Index | Thread Index | Old Index