diff options
author | adam <adam@pkgsrc.org> | 2020-03-21 12:54:50 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-03-21 12:54:50 +0000 |
commit | 24c3cf9368338355f090817c74332f2c2b4e362a (patch) | |
tree | 1100577d33ef2540df139f40b7dcfa65d5973353 /time | |
parent | c470dbf91d80246cb25fcd2c1afc229ed1c18ccc (diff) | |
download | pkgsrc-24c3cf9368338355f090817c74332f2c2b4e362a.tar.gz |
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 (limited to 'time')
-rw-r--r-- | time/py-pendulum/Makefile | 10 | ||||
-rw-r--r-- | time/py-pendulum/PLIST | 54 | ||||
-rw-r--r-- | time/py-pendulum/distinfo | 10 |
3 files changed, 61 insertions, 13 deletions
diff --git a/time/py-pendulum/Makefile b/time/py-pendulum/Makefile index e0fe05929be..54bd70a42d4 100644 --- a/time/py-pendulum/Makefile +++ b/time/py-pendulum/Makefile @@ -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:../../time/py-tzdata .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 --git a/time/py-pendulum/PLIST b/time/py-pendulum/PLIST index 92ccc537b4f..bcb24d5066c 100644 --- a/time/py-pendulum/PLIST +++ b/time/py-pendulum/PLIST @@ -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.pyo ${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.pyo ${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.pyo ${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 --git a/time/py-pendulum/distinfo b/time/py-pendulum/distinfo index f5d3db51624..5d806d3ad57 100644 --- a/time/py-pendulum/distinfo +++ b/time/py-pendulum/distinfo @@ -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 |