pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-pendulum



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Mar 21 12:54:50 UTC 2020

Modified Files:
        pkgsrc/time/py-pendulum: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/time/py-pendulum/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/time/py-pendulum/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/time/py-pendulum/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-pendulum/Makefile
diff -u pkgsrc/time/py-pendulum/Makefile:1.14 pkgsrc/time/py-pendulum/Makefile:1.15
--- pkgsrc/time/py-pendulum/Makefile:1.14       Thu Jul 18 11:29:30 2019
+++ pkgsrc/time/py-pendulum/Makefile    Sat Mar 21 12:54:50 2020
@@ -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 @@ DEPENDS+=    ${PYPKGPREFIX}-tzdata>=2018.3:
 
 .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"

Index: pkgsrc/time/py-pendulum/PLIST
diff -u pkgsrc/time/py-pendulum/PLIST:1.7 pkgsrc/time/py-pendulum/PLIST:1.8
--- pkgsrc/time/py-pendulum/PLIST:1.7   Thu Jul 18 11:29:30 2019
+++ pkgsrc/time/py-pendulum/PLIST       Sat Mar 21 12:54:50 2020
@@ -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/custom.
 ${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/custom.
 ${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/parsing/iso8601.py
 ${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

Index: pkgsrc/time/py-pendulum/distinfo
diff -u pkgsrc/time/py-pendulum/distinfo:1.12 pkgsrc/time/py-pendulum/distinfo:1.13
--- pkgsrc/time/py-pendulum/distinfo:1.12       Thu Jul 18 11:29:30 2019
+++ pkgsrc/time/py-pendulum/distinfo    Sat Mar 21 12:54:50 2020
@@ -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