summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-04-03 09:31:40 +0000
committeradam <adam@pkgsrc.org>2019-04-03 09:31:40 +0000
commitb1ba9b738196fce351803b2421991bdc25467fd0 (patch)
treeecd3e0ecc550c1cd8d68aba89172d25273870f03 /time
parentf68d673b3212e9c342778f29c1277a96e96b0e80 (diff)
downloadpkgsrc-b1ba9b738196fce351803b2421991bdc25467fd0.tar.gz
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 (limited to 'time')
-rw-r--r--time/py-aniso8601/Makefile5
-rw-r--r--time/py-aniso8601/PLIST30
-rw-r--r--time/py-aniso8601/distinfo10
3 files changed, 29 insertions, 16 deletions
diff --git a/time/py-aniso8601/Makefile b/time/py-aniso8601/Makefile
index 07970bb7ae3..9c134ee6034 100644
--- a/time/py-aniso8601/Makefile
+++ b/time/py-aniso8601/Makefile
@@ -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 @@ HOMEPAGE= https://bitbucket.org/nielsenb/aniso8601
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 --git a/time/py-aniso8601/PLIST b/time/py-aniso8601/PLIST
index c47521bbd18..36aecb905d9 100644
--- a/time/py-aniso8601/PLIST
+++ b/time/py-aniso8601/PLIST
@@ -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/__init__.pyo
${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_time.pyo
${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 --git a/time/py-aniso8601/distinfo b/time/py-aniso8601/distinfo
index 53b76353e29..f4efc47c41b 100644
--- a/time/py-aniso8601/distinfo
+++ b/time/py-aniso8601/distinfo
@@ -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