pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/py-pendulum py-pendulum: updated to 2.0.4
details: https://anonhg.NetBSD.org/pkgsrc/rev/afd3a4b69562
branches: trunk
changeset: 325299:afd3a4b69562
user: adam <adam%pkgsrc.org@localhost>
date: Wed Nov 14 10:31:58 2018 +0000
description:
py-pendulum: updated to 2.0.4
2.0.4:
Fixed from_format() not recognizing input strings when the specified pattern had escaped elements.
Fixed missing x token for string formatting.
Fixed reading timezone files.
Added support for parsing padded 2-digit days of the month with from_format()
Fixed from_format() trying to parse escaped tokens.
Fixed the z token timezone parsing in from_format() to allow underscores.
Fixed C extensions build errors.
Fixed age calculation for future dates.
diffstat:
time/py-pendulum/Makefile | 10 ++++------
time/py-pendulum/distinfo | 10 +++++-----
2 files changed, 9 insertions(+), 11 deletions(-)
diffs (44 lines):
diff -r fdc12d624d54 -r afd3a4b69562 time/py-pendulum/Makefile
--- a/time/py-pendulum/Makefile Wed Nov 14 10:26:59 2018 +0000
+++ b/time/py-pendulum/Makefile Wed Nov 14 10:31:58 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2018/08/14 15:23:51 leot Exp $
+# $NetBSD: Makefile,v 1.12 2018/11/14 10:31:58 adam Exp $
-DISTNAME= pendulum-2.0.3
+DISTNAME= pendulum-2.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pendulum/}
@@ -14,14 +14,12 @@
DEPENDS+= ${PYPKGPREFIX}-tzdata>=2018.3:../../time/py-tzdata
.include "../../lang/python/pyversion.mk"
-.if "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34"
+.if ${_PYTHON_VERSION} == 27 || ${_PYTHON_VERSION} == 34
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
.endif
-#
# XXX: C Extensions code is only supported with Python 3
-#
-.if "${PYPKGPREFIX}" == "py27"
+.if ${_PYTHON_VERSION} == 27
MAKE_ENV+= PENDULUM_EXTENSIONS=0
.endif
diff -r fdc12d624d54 -r afd3a4b69562 time/py-pendulum/distinfo
--- a/time/py-pendulum/distinfo Wed Nov 14 10:26:59 2018 +0000
+++ b/time/py-pendulum/distinfo Wed Nov 14 10:31:58 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2018/08/07 10:09:43 adam Exp $
+$NetBSD: distinfo,v 1.11 2018/11/14 10:31:58 adam Exp $
-SHA1 (pendulum-2.0.3.tar.gz) = 10d60882c4d57e53c1fa2847a0d5eeba96c96d20
-RMD160 (pendulum-2.0.3.tar.gz) = 47d9bd2e656f92c675596bf9e16642ae14ac8abf
-SHA512 (pendulum-2.0.3.tar.gz) = 79bf1fa6d5ffa47264a247ad613c1f2a54f751c7be53f540ed71a7bac0f957ead0025e6559ab85415cb4911e0993f9de3f8dc9cfd17834932720dddc995a55e0
-Size (pendulum-2.0.3.tar.gz) = 75580 bytes
+SHA1 (pendulum-2.0.4.tar.gz) = eaee945d717191eeee17a20fb21f8e5069e84d77
+RMD160 (pendulum-2.0.4.tar.gz) = 7acef3b49fcf7a7ebbcf0c1dc2d9c8d7521683ca
+SHA512 (pendulum-2.0.4.tar.gz) = bc669990cb78d262dd970a702917649c9cda83690ad4ad0c316cb91baa75104c769cc7cdc4c80a5f5a2b83d9315cdb8a7cfe15fe1369b055d295c083d57439d4
+Size (pendulum-2.0.4.tar.gz) = 75745 bytes
Home |
Main Index |
Thread Index |
Old Index