pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/py-aniso8601 py-aniso8601: updated to 6.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c7813b957b2
branches:  trunk
changeset: 394080:8c7813b957b2
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 03 09:31:40 2019 +0000

description:
py-aniso8601: updated to 6.0.0

aniso8601 6.0.0
Remove previously deprecated built in version of relativetimebuilder
Python 2 support will be removed in 7.0.0

aniso8601 5.0.0
Previously deprecated relative keyword removed
Move builders to builders module
aniso8601.builder.PythonTimeBuilder -> aniso8601.builders.python.PythonTimeBuilder
aniso8601.builder.RelativeTimeBuilder -> aniso8601.builders.relative.RelativeTimeBuilder
aniso8601.builder.TupleBuilder -> aniso8601.builders.TupleBuilder
UTCOffset moved out of builder (aniso8601.builder.UTCOffset -> aniso8601.utcoffset.UTCOffset)
Fractional arguments are now handled with greater precision
When build_time is called with only hh 24<=hh<25, a MidnightBoundsError is raised, this used to be a HoursOutOfBoundsError
Promote interval components to datetime objects if the given duration has second or microsecond resolution, or if the duration tuple has hour, minute, or second components
Before promotion would only happen if the duration tuple had hour, minute, or second components
The built in RelativeTimeBuilder is deprecated, it will be removed in aniso8601 6.0.0, use RelativeTimeBuilder from relativetimebuilder instead

diffstat:

 time/py-aniso8601/Makefile |   5 ++---
 time/py-aniso8601/PLIST    |  30 ++++++++++++++++++++++--------
 time/py-aniso8601/distinfo |  10 +++++-----
 3 files changed, 29 insertions(+), 16 deletions(-)

diffs (96 lines):

diff -r 135e0680c04c -r 8c7813b957b2 time/py-aniso8601/Makefile
--- a/time/py-aniso8601/Makefile        Wed Apr 03 09:29:54 2019 +0000
+++ b/time/py-aniso8601/Makefile        Wed Apr 03 09:31:40 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2019/01/09 09:01:08 adam Exp $
+# $NetBSD: Makefile,v 1.3 2019/04/03 09:31:40 adam Exp $
 
-DISTNAME=      aniso8601-4.1.0
+DISTNAME=      aniso8601-6.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aniso8601/}
@@ -10,7 +10,6 @@
 COMMENT=       Library for parsing ISO 8601 strings
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-dateutil>=2.6.1:../../time/py-dateutil
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
 
 USE_LANGUAGES= # none
diff -r 135e0680c04c -r 8c7813b957b2 time/py-aniso8601/PLIST
--- a/time/py-aniso8601/PLIST   Wed Apr 03 09:29:54 2019 +0000
+++ b/time/py-aniso8601/PLIST   Wed Apr 03 09:31:40 2019 +0000
@@ -1,15 +1,26 @@
-@comment $NetBSD: PLIST,v 1.2 2019/01/09 09:01:08 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/04/03 09:31:40 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}/aniso8601/__init__.py
 ${PYSITELIB}/aniso8601/__init__.pyc
 ${PYSITELIB}/aniso8601/__init__.pyo
-${PYSITELIB}/aniso8601/builder.py
-${PYSITELIB}/aniso8601/builder.pyc
-${PYSITELIB}/aniso8601/builder.pyo
+${PYSITELIB}/aniso8601/builders/__init__.py
+${PYSITELIB}/aniso8601/builders/__init__.pyc
+${PYSITELIB}/aniso8601/builders/__init__.pyo
+${PYSITELIB}/aniso8601/builders/python.py
+${PYSITELIB}/aniso8601/builders/python.pyc
+${PYSITELIB}/aniso8601/builders/python.pyo
+${PYSITELIB}/aniso8601/builders/tests/__init__.py
+${PYSITELIB}/aniso8601/builders/tests/__init__.pyc
+${PYSITELIB}/aniso8601/builders/tests/__init__.pyo
+${PYSITELIB}/aniso8601/builders/tests/test_init.py
+${PYSITELIB}/aniso8601/builders/tests/test_init.pyc
+${PYSITELIB}/aniso8601/builders/tests/test_init.pyo
+${PYSITELIB}/aniso8601/builders/tests/test_python.py
+${PYSITELIB}/aniso8601/builders/tests/test_python.pyc
+${PYSITELIB}/aniso8601/builders/tests/test_python.pyo
 ${PYSITELIB}/aniso8601/compat.py
 ${PYSITELIB}/aniso8601/compat.pyc
 ${PYSITELIB}/aniso8601/compat.pyo
@@ -34,9 +45,6 @@
 ${PYSITELIB}/aniso8601/tests/compat.py
 ${PYSITELIB}/aniso8601/tests/compat.pyc
 ${PYSITELIB}/aniso8601/tests/compat.pyo
-${PYSITELIB}/aniso8601/tests/test_builder.py
-${PYSITELIB}/aniso8601/tests/test_builder.pyc
-${PYSITELIB}/aniso8601/tests/test_builder.pyo
 ${PYSITELIB}/aniso8601/tests/test_date.py
 ${PYSITELIB}/aniso8601/tests/test_date.pyc
 ${PYSITELIB}/aniso8601/tests/test_date.pyo
@@ -55,9 +63,15 @@
 ${PYSITELIB}/aniso8601/tests/test_timezone.py
 ${PYSITELIB}/aniso8601/tests/test_timezone.pyc
 ${PYSITELIB}/aniso8601/tests/test_timezone.pyo
+${PYSITELIB}/aniso8601/tests/test_utcoffset.py
+${PYSITELIB}/aniso8601/tests/test_utcoffset.pyc
+${PYSITELIB}/aniso8601/tests/test_utcoffset.pyo
 ${PYSITELIB}/aniso8601/time.py
 ${PYSITELIB}/aniso8601/time.pyc
 ${PYSITELIB}/aniso8601/time.pyo
 ${PYSITELIB}/aniso8601/timezone.py
 ${PYSITELIB}/aniso8601/timezone.pyc
 ${PYSITELIB}/aniso8601/timezone.pyo
+${PYSITELIB}/aniso8601/utcoffset.py
+${PYSITELIB}/aniso8601/utcoffset.pyc
+${PYSITELIB}/aniso8601/utcoffset.pyo
diff -r 135e0680c04c -r 8c7813b957b2 time/py-aniso8601/distinfo
--- a/time/py-aniso8601/distinfo        Wed Apr 03 09:29:54 2019 +0000
+++ b/time/py-aniso8601/distinfo        Wed Apr 03 09:31:40 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/01/09 09:01:08 adam Exp $
+$NetBSD: distinfo,v 1.3 2019/04/03 09:31:40 adam Exp $
 
-SHA1 (aniso8601-4.1.0.tar.gz) = 51b4edf94ca2157ff85d781953cf2ca3a0b959f2
-RMD160 (aniso8601-4.1.0.tar.gz) = df1de3db675b027de98c45b6e45c56bd89e3e53b
-SHA512 (aniso8601-4.1.0.tar.gz) = 39a26a44738f47bf5fd13831d725cc73f0bb4f5940cb10c0d35605eacf79e9530ac4e71cc37f711d4907bb3f8eddcb4b82ccd80fd206be1023d354d6d2b4f13d
-Size (aniso8601-4.1.0.tar.gz) = 39902 bytes
+SHA1 (aniso8601-6.0.0.tar.gz) = 48fa13510125cb075c3af2fdb392bba0c09a6985
+RMD160 (aniso8601-6.0.0.tar.gz) = d552fc8e5d64614aed300054482f9b6cab4ff41a
+SHA512 (aniso8601-6.0.0.tar.gz) = 04b032058ac836fb904e1254c8d7543d06a1d81ece22880757f0b990fe1997ce895a3513f7606cdd8c11475285ed758b62186f11c8129b005229d2ba7c0911f3
+Size (aniso8601-6.0.0.tar.gz) = 36429 bytes



Home | Main Index | Thread Index | Old Index