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.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4789e0c5f59
branches:  trunk
changeset: 381754:f4789e0c5f59
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jun 16 13:06:54 2018 +0000

description:
py-pendulum: updated to 2.0.2

2.0.2:
Fixed the weeks property for negative Period instances.
Fixed start_of() methods not setting microseconds to 0.
Fixed errors on some systems when retrieving timezone from clock files.
Fixed parsing of partial time.
Fixed parsing not raising an error for week 53 for ordinary years.
Fixed string formatting not supporting strftime format.

2.0.1:
Fixed behavior of the YY token in from_format().
Fixed errors on some systems when retrieving timezone from clock files.

diffstat:

 time/py-pendulum/Makefile |   14 +-
 time/py-pendulum/PLIST    |  352 +++++++++++++++++++--------------------------
 time/py-pendulum/distinfo |   10 +-
 3 files changed, 167 insertions(+), 209 deletions(-)

diffs (truncated from 463 to 300 lines):

diff -r d89d02840e31 -r f4789e0c5f59 time/py-pendulum/Makefile
--- a/time/py-pendulum/Makefile Sat Jun 16 12:28:26 2018 +0000
+++ b/time/py-pendulum/Makefile Sat Jun 16 13:06:54 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2018/04/26 07:53:20 adam Exp $
+# $NetBSD: Makefile,v 1.9 2018/06/16 13:06:54 adam Exp $
 
-DISTNAME=      pendulum-1.5.1
+DISTNAME=      pendulum-2.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pendulum/}
@@ -10,9 +10,13 @@
 COMMENT=       Human-friendly date and time handling
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
-DEPENDS+=      ${PYPKGPREFIX}-tzdata-[0-9]*:../../time/py-tzdata
-DEPENDS+=      ${PYPKGPREFIX}-tzlocal-[0-9]*:../../time/py-tzlocal
+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"
+DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
+.endif
 
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d89d02840e31 -r f4789e0c5f59 time/py-pendulum/PLIST
--- a/time/py-pendulum/PLIST    Sat Jun 16 12:28:26 2018 +0000
+++ b/time/py-pendulum/PLIST    Sat Jun 16 13:06:54 2018 +0000
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.4 2018/03/23 09:04:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/06/16 13:06:54 adam Exp $
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/pendulum/__init__.py
 ${PYSITELIB}/pendulum/__init__.pyc
 ${PYSITELIB}/pendulum/__init__.pyo
-${PYSITELIB}/pendulum/_compat.py
-${PYSITELIB}/pendulum/_compat.pyc
-${PYSITELIB}/pendulum/_compat.pyo
+${PYSITELIB}/pendulum/__version__.py
+${PYSITELIB}/pendulum/__version__.pyc
+${PYSITELIB}/pendulum/__version__.pyo
 ${PYSITELIB}/pendulum/_extensions/__init__.py
 ${PYSITELIB}/pendulum/_extensions/__init__.pyc
 ${PYSITELIB}/pendulum/_extensions/__init__.pyo
@@ -14,27 +14,24 @@
 ${PYSITELIB}/pendulum/_extensions/helpers.py
 ${PYSITELIB}/pendulum/_extensions/helpers.pyc
 ${PYSITELIB}/pendulum/_extensions/helpers.pyo
-${PYSITELIB}/pendulum/_global.py
-${PYSITELIB}/pendulum/_global.pyc
-${PYSITELIB}/pendulum/_global.pyo
 ${PYSITELIB}/pendulum/constants.py
 ${PYSITELIB}/pendulum/constants.pyc
 ${PYSITELIB}/pendulum/constants.pyo
 ${PYSITELIB}/pendulum/date.py
 ${PYSITELIB}/pendulum/date.pyc
 ${PYSITELIB}/pendulum/date.pyo
+${PYSITELIB}/pendulum/datetime.py
+${PYSITELIB}/pendulum/datetime.pyc
+${PYSITELIB}/pendulum/datetime.pyo
+${PYSITELIB}/pendulum/duration.py
+${PYSITELIB}/pendulum/duration.pyc
+${PYSITELIB}/pendulum/duration.pyo
 ${PYSITELIB}/pendulum/exceptions.py
 ${PYSITELIB}/pendulum/exceptions.pyc
 ${PYSITELIB}/pendulum/exceptions.pyo
 ${PYSITELIB}/pendulum/formatting/__init__.py
 ${PYSITELIB}/pendulum/formatting/__init__.pyc
 ${PYSITELIB}/pendulum/formatting/__init__.pyo
-${PYSITELIB}/pendulum/formatting/alternative_formatter.py
-${PYSITELIB}/pendulum/formatting/alternative_formatter.pyc
-${PYSITELIB}/pendulum/formatting/alternative_formatter.pyo
-${PYSITELIB}/pendulum/formatting/classic_formatter.py
-${PYSITELIB}/pendulum/formatting/classic_formatter.pyc
-${PYSITELIB}/pendulum/formatting/classic_formatter.pyo
 ${PYSITELIB}/pendulum/formatting/difference_formatter.py
 ${PYSITELIB}/pendulum/formatting/difference_formatter.pyc
 ${PYSITELIB}/pendulum/formatting/difference_formatter.pyo
@@ -44,222 +41,179 @@
 ${PYSITELIB}/pendulum/helpers.py
 ${PYSITELIB}/pendulum/helpers.pyc
 ${PYSITELIB}/pendulum/helpers.pyo
-${PYSITELIB}/pendulum/interval.py
-${PYSITELIB}/pendulum/interval.pyc
-${PYSITELIB}/pendulum/interval.pyo
-${PYSITELIB}/pendulum/lang/__init__.py
-${PYSITELIB}/pendulum/lang/__init__.pyc
-${PYSITELIB}/pendulum/lang/__init__.pyo
-${PYSITELIB}/pendulum/lang/af.py
-${PYSITELIB}/pendulum/lang/af.pyc
-${PYSITELIB}/pendulum/lang/af.pyo
-${PYSITELIB}/pendulum/lang/ar.py
-${PYSITELIB}/pendulum/lang/ar.pyc
-${PYSITELIB}/pendulum/lang/ar.pyo
-${PYSITELIB}/pendulum/lang/az.py
-${PYSITELIB}/pendulum/lang/az.pyc
-${PYSITELIB}/pendulum/lang/az.pyo
-${PYSITELIB}/pendulum/lang/bg.py
-${PYSITELIB}/pendulum/lang/bg.pyc
-${PYSITELIB}/pendulum/lang/bg.pyo
-${PYSITELIB}/pendulum/lang/bn.py
-${PYSITELIB}/pendulum/lang/bn.pyc
-${PYSITELIB}/pendulum/lang/bn.pyo
-${PYSITELIB}/pendulum/lang/ca.py
-${PYSITELIB}/pendulum/lang/ca.pyc
-${PYSITELIB}/pendulum/lang/ca.pyo
-${PYSITELIB}/pendulum/lang/cs.py
-${PYSITELIB}/pendulum/lang/cs.pyc
-${PYSITELIB}/pendulum/lang/cs.pyo
-${PYSITELIB}/pendulum/lang/da.py
-${PYSITELIB}/pendulum/lang/da.pyc
-${PYSITELIB}/pendulum/lang/da.pyo
-${PYSITELIB}/pendulum/lang/de.py
-${PYSITELIB}/pendulum/lang/de.pyc
-${PYSITELIB}/pendulum/lang/de.pyo
-${PYSITELIB}/pendulum/lang/el.py
-${PYSITELIB}/pendulum/lang/el.pyc
-${PYSITELIB}/pendulum/lang/el.pyo
-${PYSITELIB}/pendulum/lang/en.py
-${PYSITELIB}/pendulum/lang/en.pyc
-${PYSITELIB}/pendulum/lang/en.pyo
-${PYSITELIB}/pendulum/lang/eo.py
-${PYSITELIB}/pendulum/lang/eo.pyc
-${PYSITELIB}/pendulum/lang/eo.pyo
-${PYSITELIB}/pendulum/lang/es.py
-${PYSITELIB}/pendulum/lang/es.pyc
-${PYSITELIB}/pendulum/lang/es.pyo
-${PYSITELIB}/pendulum/lang/et.py
-${PYSITELIB}/pendulum/lang/et.pyc
-${PYSITELIB}/pendulum/lang/et.pyo
-${PYSITELIB}/pendulum/lang/eu.py
-${PYSITELIB}/pendulum/lang/eu.pyc
-${PYSITELIB}/pendulum/lang/eu.pyo
-${PYSITELIB}/pendulum/lang/fa.py
-${PYSITELIB}/pendulum/lang/fa.pyc
-${PYSITELIB}/pendulum/lang/fa.pyo
-${PYSITELIB}/pendulum/lang/fi.py
-${PYSITELIB}/pendulum/lang/fi.pyc
-${PYSITELIB}/pendulum/lang/fi.pyo
-${PYSITELIB}/pendulum/lang/fo.py
-${PYSITELIB}/pendulum/lang/fo.pyc
-${PYSITELIB}/pendulum/lang/fo.pyo
-${PYSITELIB}/pendulum/lang/fr.py
-${PYSITELIB}/pendulum/lang/fr.pyc
-${PYSITELIB}/pendulum/lang/fr.pyo
-${PYSITELIB}/pendulum/lang/gl.py
-${PYSITELIB}/pendulum/lang/gl.pyc
-${PYSITELIB}/pendulum/lang/gl.pyo
-${PYSITELIB}/pendulum/lang/he.py
-${PYSITELIB}/pendulum/lang/he.pyc
-${PYSITELIB}/pendulum/lang/he.pyo
-${PYSITELIB}/pendulum/lang/hr.py
-${PYSITELIB}/pendulum/lang/hr.pyc
-${PYSITELIB}/pendulum/lang/hr.pyo
-${PYSITELIB}/pendulum/lang/hu.py
-${PYSITELIB}/pendulum/lang/hu.pyc
-${PYSITELIB}/pendulum/lang/hu.pyo
-${PYSITELIB}/pendulum/lang/hy.py
-${PYSITELIB}/pendulum/lang/hy.pyc
-${PYSITELIB}/pendulum/lang/hy.pyo
-${PYSITELIB}/pendulum/lang/id.py
-${PYSITELIB}/pendulum/lang/id.pyc
-${PYSITELIB}/pendulum/lang/id.pyo
-${PYSITELIB}/pendulum/lang/it.py
-${PYSITELIB}/pendulum/lang/it.pyc
-${PYSITELIB}/pendulum/lang/it.pyo
-${PYSITELIB}/pendulum/lang/ja.py
-${PYSITELIB}/pendulum/lang/ja.pyc
-${PYSITELIB}/pendulum/lang/ja.pyo
-${PYSITELIB}/pendulum/lang/ka.py
-${PYSITELIB}/pendulum/lang/ka.pyc
-${PYSITELIB}/pendulum/lang/ka.pyo
-${PYSITELIB}/pendulum/lang/ko.py
-${PYSITELIB}/pendulum/lang/ko.pyc
-${PYSITELIB}/pendulum/lang/ko.pyo
-${PYSITELIB}/pendulum/lang/lt.py
-${PYSITELIB}/pendulum/lang/lt.pyc
-${PYSITELIB}/pendulum/lang/lt.pyo
-${PYSITELIB}/pendulum/lang/lv.py
-${PYSITELIB}/pendulum/lang/lv.pyc
-${PYSITELIB}/pendulum/lang/lv.pyo
-${PYSITELIB}/pendulum/lang/mk.py
-${PYSITELIB}/pendulum/lang/mk.pyc
-${PYSITELIB}/pendulum/lang/mk.pyo
-${PYSITELIB}/pendulum/lang/ms.py
-${PYSITELIB}/pendulum/lang/ms.pyc
-${PYSITELIB}/pendulum/lang/ms.pyo
-${PYSITELIB}/pendulum/lang/nl.py
-${PYSITELIB}/pendulum/lang/nl.pyc
-${PYSITELIB}/pendulum/lang/nl.pyo
-${PYSITELIB}/pendulum/lang/nn.py
-${PYSITELIB}/pendulum/lang/nn.pyc
-${PYSITELIB}/pendulum/lang/nn.pyo
-${PYSITELIB}/pendulum/lang/pl.py
-${PYSITELIB}/pendulum/lang/pl.pyc
-${PYSITELIB}/pendulum/lang/pl.pyo
-${PYSITELIB}/pendulum/lang/pt_br.py
-${PYSITELIB}/pendulum/lang/pt_br.pyc
-${PYSITELIB}/pendulum/lang/pt_br.pyo
-${PYSITELIB}/pendulum/lang/ro.py
-${PYSITELIB}/pendulum/lang/ro.pyc
-${PYSITELIB}/pendulum/lang/ro.pyo
-${PYSITELIB}/pendulum/lang/ru.py
-${PYSITELIB}/pendulum/lang/ru.pyc
-${PYSITELIB}/pendulum/lang/ru.pyo
-${PYSITELIB}/pendulum/lang/sk.py
-${PYSITELIB}/pendulum/lang/sk.pyc
-${PYSITELIB}/pendulum/lang/sk.pyo
-${PYSITELIB}/pendulum/lang/sl.py
-${PYSITELIB}/pendulum/lang/sl.pyc
-${PYSITELIB}/pendulum/lang/sl.pyo
-${PYSITELIB}/pendulum/lang/sq.py
-${PYSITELIB}/pendulum/lang/sq.pyc
-${PYSITELIB}/pendulum/lang/sq.pyo
-${PYSITELIB}/pendulum/lang/sr.py
-${PYSITELIB}/pendulum/lang/sr.pyc
-${PYSITELIB}/pendulum/lang/sr.pyo
-${PYSITELIB}/pendulum/lang/sv.py
-${PYSITELIB}/pendulum/lang/sv.pyc
-${PYSITELIB}/pendulum/lang/sv.pyo
-${PYSITELIB}/pendulum/lang/th.py
-${PYSITELIB}/pendulum/lang/th.pyc
-${PYSITELIB}/pendulum/lang/th.pyo
-${PYSITELIB}/pendulum/lang/tr.py
-${PYSITELIB}/pendulum/lang/tr.pyc
-${PYSITELIB}/pendulum/lang/tr.pyo
-${PYSITELIB}/pendulum/lang/uk.py
-${PYSITELIB}/pendulum/lang/uk.pyc
-${PYSITELIB}/pendulum/lang/uk.pyo
-${PYSITELIB}/pendulum/lang/uz.py
-${PYSITELIB}/pendulum/lang/uz.pyc
-${PYSITELIB}/pendulum/lang/uz.pyo
-${PYSITELIB}/pendulum/lang/vi.py
-${PYSITELIB}/pendulum/lang/vi.pyc
-${PYSITELIB}/pendulum/lang/vi.pyo
-${PYSITELIB}/pendulum/lang/zh.py
-${PYSITELIB}/pendulum/lang/zh.pyc
-${PYSITELIB}/pendulum/lang/zh.pyo
-${PYSITELIB}/pendulum/lang/zh_tw.py
-${PYSITELIB}/pendulum/lang/zh_tw.pyc
-${PYSITELIB}/pendulum/lang/zh_tw.pyo
+${PYSITELIB}/pendulum/locales/__init__.py
+${PYSITELIB}/pendulum/locales/__init__.pyc
+${PYSITELIB}/pendulum/locales/__init__.pyo
+${PYSITELIB}/pendulum/locales/da/__init__.py
+${PYSITELIB}/pendulum/locales/da/__init__.pyc
+${PYSITELIB}/pendulum/locales/da/__init__.pyo
+${PYSITELIB}/pendulum/locales/da/custom.py
+${PYSITELIB}/pendulum/locales/da/custom.pyc
+${PYSITELIB}/pendulum/locales/da/custom.pyo
+${PYSITELIB}/pendulum/locales/da/locale.py
+${PYSITELIB}/pendulum/locales/da/locale.pyc
+${PYSITELIB}/pendulum/locales/da/locale.pyo
+${PYSITELIB}/pendulum/locales/de/__init__.py
+${PYSITELIB}/pendulum/locales/de/__init__.pyc
+${PYSITELIB}/pendulum/locales/de/__init__.pyo
+${PYSITELIB}/pendulum/locales/de/custom.py
+${PYSITELIB}/pendulum/locales/de/custom.pyc
+${PYSITELIB}/pendulum/locales/de/custom.pyo
+${PYSITELIB}/pendulum/locales/de/locale.py
+${PYSITELIB}/pendulum/locales/de/locale.pyc
+${PYSITELIB}/pendulum/locales/de/locale.pyo
+${PYSITELIB}/pendulum/locales/en/__init__.py
+${PYSITELIB}/pendulum/locales/en/__init__.pyc
+${PYSITELIB}/pendulum/locales/en/__init__.pyo
+${PYSITELIB}/pendulum/locales/en/custom.py
+${PYSITELIB}/pendulum/locales/en/custom.pyc
+${PYSITELIB}/pendulum/locales/en/custom.pyo
+${PYSITELIB}/pendulum/locales/en/locale.py
+${PYSITELIB}/pendulum/locales/en/locale.pyc
+${PYSITELIB}/pendulum/locales/en/locale.pyo
+${PYSITELIB}/pendulum/locales/es/__init__.py
+${PYSITELIB}/pendulum/locales/es/__init__.pyc
+${PYSITELIB}/pendulum/locales/es/__init__.pyo
+${PYSITELIB}/pendulum/locales/es/custom.py
+${PYSITELIB}/pendulum/locales/es/custom.pyc
+${PYSITELIB}/pendulum/locales/es/custom.pyo
+${PYSITELIB}/pendulum/locales/es/locale.py
+${PYSITELIB}/pendulum/locales/es/locale.pyc
+${PYSITELIB}/pendulum/locales/es/locale.pyo
+${PYSITELIB}/pendulum/locales/fa/__init__.py
+${PYSITELIB}/pendulum/locales/fa/__init__.pyc
+${PYSITELIB}/pendulum/locales/fa/__init__.pyo
+${PYSITELIB}/pendulum/locales/fa/custom.py
+${PYSITELIB}/pendulum/locales/fa/custom.pyc
+${PYSITELIB}/pendulum/locales/fa/custom.pyo
+${PYSITELIB}/pendulum/locales/fa/locale.py
+${PYSITELIB}/pendulum/locales/fa/locale.pyc
+${PYSITELIB}/pendulum/locales/fa/locale.pyo
+${PYSITELIB}/pendulum/locales/fo/__init__.py
+${PYSITELIB}/pendulum/locales/fo/__init__.pyc
+${PYSITELIB}/pendulum/locales/fo/__init__.pyo
+${PYSITELIB}/pendulum/locales/fo/custom.py
+${PYSITELIB}/pendulum/locales/fo/custom.pyc
+${PYSITELIB}/pendulum/locales/fo/custom.pyo
+${PYSITELIB}/pendulum/locales/fo/locale.py



Home | Main Index | Thread Index | Old Index