diff options
author | adam <adam@pkgsrc.org> | 2018-11-14 10:31:58 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-11-14 10:31:58 +0000 |
commit | 012a274985df74494d43685c5efe8995688c2b05 (patch) | |
tree | e0442726a317270cc2c2e97a64c295e2d87414c0 | |
parent | 6745fbb1937b83f85f848a41b9dcd4d0e4fd1d37 (diff) | |
download | pkgsrc-012a274985df74494d43685c5efe8995688c2b05.tar.gz |
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.
-rw-r--r-- | time/py-pendulum/Makefile | 10 | ||||
-rw-r--r-- | time/py-pendulum/distinfo | 10 |
2 files changed, 9 insertions, 11 deletions
diff --git a/time/py-pendulum/Makefile b/time/py-pendulum/Makefile index 4012ba959c8..ade9a842efa 100644 --- a/time/py-pendulum/Makefile +++ b/time/py-pendulum/Makefile @@ -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}-dateutil>=2.6.0:../../time/py-dateutil 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 --git a/time/py-pendulum/distinfo b/time/py-pendulum/distinfo index 6cb11c27ff2..304581129fd 100644 --- a/time/py-pendulum/distinfo +++ b/time/py-pendulum/distinfo @@ -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 |