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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42851576da8a
branches:  trunk
changeset: 425338:42851576da8a
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Mar 21 12:54:50 2020 +0000

description:
py-pendulum: updated to 2.1.0

2.1.0:

Added
Added better typing and PEP-561 compliance
Added the is_anniversary() method as an alias of is_birthday()

Changed
Dropped support for Python 3.4.
is_utc() will now return True for any datetime with an offset of 0, similar to the behavior in the 1.* versions
Duration.in_words() will now return 0 milliseconds for empty durations.

Fixed
Fixed various issues with timezone transitions for some edge cases
Fixed out of bound detection for nth_of("month")
Fixed an error where extra text was accepted in from_format()
Fixed a recursion error when adding time to a DateTime with a fixed timezone
Fixed errors where Period instances were not properly compared to other classes, especially timedelta instances
Fixed deprecation warnings due to internal regexps
Fixed an error where the test() helper would not unset the test instance when an exception was raised
Fixed an error where the week_of_month attribute was not returning the correct value
Fixed an error in the way the Z ISO-8601 UTC designator was not parsed as UTC

Locales
Added the nl locale.
Added the it locale.
Added the id locale.
Added the nb locale.
Added the nn locale.

diffstat:

 time/py-pendulum/Makefile |  10 +++-----
 time/py-pendulum/PLIST    |  54 +++++++++++++++++++++++++++++++++++++++++++++-
 time/py-pendulum/distinfo |  10 ++++----
 3 files changed, 61 insertions(+), 13 deletions(-)

diffs (122 lines):

diff -r 2637c4159a06 -r 42851576da8a time/py-pendulum/Makefile
--- a/time/py-pendulum/Makefile Sat Mar 21 12:49:05 2020 +0000
+++ b/time/py-pendulum/Makefile Sat Mar 21 12:54:50 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2019/07/18 11:29:30 adam Exp $
+# $NetBSD: Makefile,v 1.15 2020/03/21 12:54:50 adam Exp $
 
-DISTNAME=      pendulum-2.0.5
+DISTNAME=      pendulum-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pendulum/}
@@ -15,10 +15,8 @@
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
-# XXX: C Extensions code is only supported with Python 3
-MAKE_ENV+=     PENDULUM_EXTENSIONS=0
+DEPENDS+=      ${PYPKGPREFIX}-typing>=3.6:../../devel/py-typing
 .endif
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2637c4159a06 -r 42851576da8a time/py-pendulum/PLIST
--- a/time/py-pendulum/PLIST    Sat Mar 21 12:49:05 2020 +0000
+++ b/time/py-pendulum/PLIST    Sat Mar 21 12:54:50 2020 +0000
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.7 2019/07/18 11:29:30 adam Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.8 2020/03/21 12:54:50 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/pendulum/__init__.py
 ${PYSITELIB}/pendulum/__init__.pyc
 ${PYSITELIB}/pendulum/__init__.pyo
@@ -107,6 +111,24 @@
 ${PYSITELIB}/pendulum/locales/fr/locale.py
 ${PYSITELIB}/pendulum/locales/fr/locale.pyc
 ${PYSITELIB}/pendulum/locales/fr/locale.pyo
+${PYSITELIB}/pendulum/locales/id/__init__.py
+${PYSITELIB}/pendulum/locales/id/__init__.pyc
+${PYSITELIB}/pendulum/locales/id/__init__.pyo
+${PYSITELIB}/pendulum/locales/id/custom.py
+${PYSITELIB}/pendulum/locales/id/custom.pyc
+${PYSITELIB}/pendulum/locales/id/custom.pyo
+${PYSITELIB}/pendulum/locales/id/locale.py
+${PYSITELIB}/pendulum/locales/id/locale.pyc
+${PYSITELIB}/pendulum/locales/id/locale.pyo
+${PYSITELIB}/pendulum/locales/it/__init__.py
+${PYSITELIB}/pendulum/locales/it/__init__.pyc
+${PYSITELIB}/pendulum/locales/it/__init__.pyo
+${PYSITELIB}/pendulum/locales/it/custom.py
+${PYSITELIB}/pendulum/locales/it/custom.pyc
+${PYSITELIB}/pendulum/locales/it/custom.pyo
+${PYSITELIB}/pendulum/locales/it/locale.py
+${PYSITELIB}/pendulum/locales/it/locale.pyc
+${PYSITELIB}/pendulum/locales/it/locale.pyo
 ${PYSITELIB}/pendulum/locales/ko/__init__.py
 ${PYSITELIB}/pendulum/locales/ko/__init__.pyc
 ${PYSITELIB}/pendulum/locales/ko/__init__.pyo
@@ -128,6 +150,33 @@
 ${PYSITELIB}/pendulum/locales/lt/locale.py
 ${PYSITELIB}/pendulum/locales/lt/locale.pyc
 ${PYSITELIB}/pendulum/locales/lt/locale.pyo
+${PYSITELIB}/pendulum/locales/nb/__init__.py
+${PYSITELIB}/pendulum/locales/nb/__init__.pyc
+${PYSITELIB}/pendulum/locales/nb/__init__.pyo
+${PYSITELIB}/pendulum/locales/nb/custom.py
+${PYSITELIB}/pendulum/locales/nb/custom.pyc
+${PYSITELIB}/pendulum/locales/nb/custom.pyo
+${PYSITELIB}/pendulum/locales/nb/locale.py
+${PYSITELIB}/pendulum/locales/nb/locale.pyc
+${PYSITELIB}/pendulum/locales/nb/locale.pyo
+${PYSITELIB}/pendulum/locales/nl/__init__.py
+${PYSITELIB}/pendulum/locales/nl/__init__.pyc
+${PYSITELIB}/pendulum/locales/nl/__init__.pyo
+${PYSITELIB}/pendulum/locales/nl/custom.py
+${PYSITELIB}/pendulum/locales/nl/custom.pyc
+${PYSITELIB}/pendulum/locales/nl/custom.pyo
+${PYSITELIB}/pendulum/locales/nl/locale.py
+${PYSITELIB}/pendulum/locales/nl/locale.pyc
+${PYSITELIB}/pendulum/locales/nl/locale.pyo
+${PYSITELIB}/pendulum/locales/nn/__init__.py
+${PYSITELIB}/pendulum/locales/nn/__init__.pyc
+${PYSITELIB}/pendulum/locales/nn/__init__.pyo
+${PYSITELIB}/pendulum/locales/nn/custom.py
+${PYSITELIB}/pendulum/locales/nn/custom.pyc
+${PYSITELIB}/pendulum/locales/nn/custom.pyo
+${PYSITELIB}/pendulum/locales/nn/locale.py
+${PYSITELIB}/pendulum/locales/nn/locale.pyc
+${PYSITELIB}/pendulum/locales/nn/locale.pyo
 ${PYSITELIB}/pendulum/locales/pt_br/__init__.py
 ${PYSITELIB}/pendulum/locales/pt_br/__init__.pyc
 ${PYSITELIB}/pendulum/locales/pt_br/__init__.pyo
@@ -178,6 +227,7 @@
 ${PYSITELIB}/pendulum/period.py
 ${PYSITELIB}/pendulum/period.pyc
 ${PYSITELIB}/pendulum/period.pyo
+${PYSITELIB}/pendulum/py.typed
 ${PYSITELIB}/pendulum/time.py
 ${PYSITELIB}/pendulum/time.pyc
 ${PYSITELIB}/pendulum/time.pyo
diff -r 2637c4159a06 -r 42851576da8a time/py-pendulum/distinfo
--- a/time/py-pendulum/distinfo Sat Mar 21 12:49:05 2020 +0000
+++ b/time/py-pendulum/distinfo Sat Mar 21 12:54:50 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2019/07/18 11:29:30 adam Exp $
+$NetBSD: distinfo,v 1.13 2020/03/21 12:54:50 adam Exp $
 
-SHA1 (pendulum-2.0.5.tar.gz) = ed4f72f59e6fc65e7d8b5911a0248c9c9baf3f4f
-RMD160 (pendulum-2.0.5.tar.gz) = 330db30f60d20fc3aef1438c75087e133870e07c
-SHA512 (pendulum-2.0.5.tar.gz) = 6c0e02cccd3e094fe01617e238bbc3ecff4c04d500c1205f3e9fc5a81cb91c6e19e3569e5cb1725fb8fc845331f6a51052945d6084ad36d2d022beebdc82b8e6
-Size (pendulum-2.0.5.tar.gz) = 77775 bytes
+SHA1 (pendulum-2.1.0.tar.gz) = b2d111f3a59083a98e1f606a2e85b3215c9494fb
+RMD160 (pendulum-2.1.0.tar.gz) = aa591c8267ffdcf5688d446c1d0238cf331145e0
+SHA512 (pendulum-2.1.0.tar.gz) = b7821bf09deb37627e40ed48dead656da8afb3e81908e9e65a89f1533fcd06b5bbcde8604d9d8bf3cf77a6716880daa526e5a23933068f8976bdfb08aceeb670
+Size (pendulum-2.1.0.tar.gz) = 80595 bytes



Home | Main Index | Thread Index | Old Index