diff -Nru python-iso8601-0.1.12/debian/changelog python-iso8601-0.1.13/debian/changelog --- python-iso8601-0.1.12/debian/changelog 2020-04-12 20:01:01.000000000 +0000 +++ python-iso8601-0.1.13/debian/changelog 2020-12-11 15:11:42.000000000 +0000 @@ -1,3 +1,21 @@ +python-iso8601 (0.1.13-1) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Update Maintainer field with new Debian Python Team + contact address. + * d/control: Update Vcs-* fields with new Debian Python Team Salsa + layout. + + [ Debian Janitor ] + * Update standards version to 4.5.0, no changes needed. + + [ Gordon Ball ] + * d/control, copyright, watch: update homepage/tarball source to Github + * New upstream version 0.1.13 + * d/control: Rules-Requires-Root: no + + -- Gordon Ball Fri, 11 Dec 2020 15:11:42 +0000 + python-iso8601 (0.1.12-2) unstable; urgency=medium * Drop python2 support; Closes; #937847 diff -Nru python-iso8601-0.1.12/debian/control python-iso8601-0.1.13/debian/control --- python-iso8601-0.1.12/debian/control 2020-04-12 20:01:01.000000000 +0000 +++ python-iso8601-0.1.13/debian/control 2020-12-11 15:11:42.000000000 +0000 @@ -1,18 +1,19 @@ Source: python-iso8601 Section: python Priority: optional -Maintainer: Debian Python Modules Team +Maintainer: Debian Python Team Uploaders: Benjamin Mako Hill Build-Depends: debhelper-compat (= 12), dh-python, python3-all, python3-pytest, python3-setuptools -Standards-Version: 4.4.1 -Homepage: https://pypi.python.org/pypi/iso8601 -Vcs-Git: https://salsa.debian.org/python-team/modules/python-iso8601.git -Vcs-Browser: https://salsa.debian.org/python-team/modules/python-iso8601 +Standards-Version: 4.5.0 +Homepage: https://github.com/micktwomey/pyiso8601 +Vcs-Git: https://salsa.debian.org/python-team/packages/python-iso8601.git +Vcs-Browser: https://salsa.debian.org/python-team/packages/python-iso8601 Testsuite: autopkgtest-pkg-python +Rules-Requires-Root: no Package: python3-iso8601 Architecture: all diff -Nru python-iso8601-0.1.12/debian/copyright python-iso8601-0.1.13/debian/copyright --- python-iso8601-0.1.12/debian/copyright 2020-04-12 20:01:01.000000000 +0000 +++ python-iso8601-0.1.13/debian/copyright 2020-12-11 15:11:42.000000000 +0000 @@ -1,6 +1,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pyiso8601 -Source: https://bitbucket.org/micktwomey/pyiso8601/ +Source: https://github.com/micktwomey/pyiso8601 Files: * Copyright: (c) 2007-2014, Michael Twomey diff -Nru python-iso8601-0.1.12/debian/watch python-iso8601-0.1.13/debian/watch --- python-iso8601-0.1.12/debian/watch 2020-04-12 20:01:01.000000000 +0000 +++ python-iso8601-0.1.13/debian/watch 2020-12-11 15:11:42.000000000 +0000 @@ -1,3 +1,3 @@ -version=3 +version=4 opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ -https://pypi.debian.net/iso8601/iso8601-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) +https://github.com/micktwomey/pyiso8601/tags .*/archive/v?([\d\.-]+)\.tar\.gz diff -Nru python-iso8601-0.1.12/dev-requirements.txt python-iso8601-0.1.13/dev-requirements.txt --- python-iso8601-0.1.12/dev-requirements.txt 2017-07-27 21:52:52.000000000 +0000 +++ python-iso8601-0.1.13/dev-requirements.txt 2020-09-11 17:07:44.000000000 +0000 @@ -3,4 +3,5 @@ Sphinx>=1.2.1 tox-pyenv>=1.0.3 tox>=1.7.0 +twine>=1.9.1 wheel>=0.22.0 \ No newline at end of file diff -Nru python-iso8601-0.1.12/docs/conf.py python-iso8601-0.1.13/docs/conf.py --- python-iso8601-0.1.12/docs/conf.py 1970-01-01 00:00:00.000000000 +0000 +++ python-iso8601-0.1.13/docs/conf.py 2020-09-11 17:07:44.000000000 +0000 @@ -0,0 +1,266 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# pyiso8601 documentation build configuration file, created by +# sphinx-quickstart on Thu Feb 27 16:05:52 2014. +# +# This file is execfile()d with the current directory set to its +# containing dir. +# +# Note that not all possible configuration values are present in this +# autogenerated file. +# +# All configuration values have a default; values that are commented out +# serve to show the default. + +import sys +import os + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. If the directory is relative to the +# documentation root, use os.path.abspath to make it absolute, like shown here. +#sys.path.insert(0, os.path.abspath('.')) + +# -- General configuration ------------------------------------------------ + +# If your documentation needs a minimal Sphinx version, state it here. +#needs_sphinx = '1.0' + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = [ + 'sphinx.ext.autodoc', + 'sphinx.ext.doctest', + 'sphinx.ext.viewcode', +] + +# doctest configuration +doctest_path = [os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))] + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# The suffix of source filenames. +source_suffix = '.rst' + +# The encoding of source files. +#source_encoding = 'utf-8-sig' + +# The master toctree document. +master_doc = 'index' + +# General information about the project. +project = 'pyiso8601' +copyright = '2014, Michael Twomey' + +# The version info for the project you're documenting, acts as replacement for +# |version| and |release|, also used in various other places throughout the +# built documents. +# +# The short X.Y version. +version = '0.1.10' +# The full version, including alpha/beta/rc tags. +release = '0.1.10' + +# The language for content autogenerated by Sphinx. Refer to documentation +# for a list of supported languages. +#language = None + +# There are two options for replacing |today|: either, you set today to some +# non-false value, then it is used: +#today = '' +# Else, today_fmt is used as the format for a strftime call. +#today_fmt = '%B %d, %Y' + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +exclude_patterns = ['_build'] + +# The reST default role (used for this markup: `text`) to use for all +# documents. +#default_role = None + +# If true, '()' will be appended to :func: etc. cross-reference text. +#add_function_parentheses = True + +# If true, the current module name will be prepended to all description +# unit titles (such as .. function::). +#add_module_names = True + +# If true, sectionauthor and moduleauthor directives will be shown in the +# output. They are ignored by default. +#show_authors = False + +# The name of the Pygments (syntax highlighting) style to use. +pygments_style = 'sphinx' + +# A list of ignored prefixes for module index sorting. +#modindex_common_prefix = [] + +# If true, keep warnings as "system message" paragraphs in the built documents. +#keep_warnings = False + + +# -- Options for HTML output ---------------------------------------------- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +html_theme = 'default' + +# Theme options are theme-specific and customize the look and feel of a theme +# further. For a list of options available for each theme, see the +# documentation. +#html_theme_options = {} + +# Add any paths that contain custom themes here, relative to this directory. +#html_theme_path = [] + +# The name for this set of Sphinx documents. If None, it defaults to +# " v documentation". +#html_title = None + +# A shorter title for the navigation bar. Default is the same as html_title. +#html_short_title = None + +# The name of an image file (relative to this directory) to place at the top +# of the sidebar. +#html_logo = None + +# The name of an image file (within the static path) to use as favicon of the +# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 +# pixels large. +#html_favicon = None + +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_static'] + +# Add any extra paths that contain custom files (such as robots.txt or +# .htaccess) here, relative to this directory. These files are copied +# directly to the root of the documentation. +#html_extra_path = [] + +# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, +# using the given strftime format. +#html_last_updated_fmt = '%b %d, %Y' + +# If true, SmartyPants will be used to convert quotes and dashes to +# typographically correct entities. +#html_use_smartypants = True + +# Custom sidebar templates, maps document names to template names. +#html_sidebars = {} + +# Additional templates that should be rendered to pages, maps page names to +# template names. +#html_additional_pages = {} + +# If false, no module index is generated. +#html_domain_indices = True + +# If false, no index is generated. +#html_use_index = True + +# If true, the index is split into individual pages for each letter. +#html_split_index = False + +# If true, links to the reST sources are added to the pages. +#html_show_sourcelink = True + +# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. +#html_show_sphinx = True + +# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. +#html_show_copyright = True + +# If true, an OpenSearch description file will be output, and all pages will +# contain a tag referring to it. The value of this option must be the +# base URL from which the finished HTML is served. +#html_use_opensearch = '' + +# This is the file name suffix for HTML files (e.g. ".xhtml"). +#html_file_suffix = None + +# Output file base name for HTML help builder. +htmlhelp_basename = 'pyiso8601doc' + + +# -- Options for LaTeX output --------------------------------------------- + +latex_elements = { +# The paper size ('letterpaper' or 'a4paper'). +#'papersize': 'letterpaper', + +# The font size ('10pt', '11pt' or '12pt'). +#'pointsize': '10pt', + +# Additional stuff for the LaTeX preamble. +#'preamble': '', +} + +# Grouping the document tree into LaTeX files. List of tuples +# (source start file, target name, title, +# author, documentclass [howto, manual, or own class]). +latex_documents = [ + ('index', 'pyiso8601.tex', 'pyiso8601 Documentation', + 'Michael Twomey', 'manual'), +] + +# The name of an image file (relative to this directory) to place at the top of +# the title page. +#latex_logo = None + +# For "manual" documents, if this is true, then toplevel headings are parts, +# not chapters. +#latex_use_parts = False + +# If true, show page references after internal links. +#latex_show_pagerefs = False + +# If true, show URL addresses after external links. +#latex_show_urls = False + +# Documents to append as an appendix to all manuals. +#latex_appendices = [] + +# If false, no module index is generated. +#latex_domain_indices = True + + +# -- Options for manual page output --------------------------------------- + +# One entry per manual page. List of tuples +# (source start file, name, description, authors, manual section). +man_pages = [ + ('index', 'pyiso8601', 'pyiso8601 Documentation', + ['Michael Twomey'], 1) +] + +# If true, show URL addresses after external links. +#man_show_urls = False + + +# -- Options for Texinfo output ------------------------------------------- + +# Grouping the document tree into Texinfo files. List of tuples +# (source start file, target name, title, author, +# dir menu entry, description, category) +texinfo_documents = [ + ('index', 'pyiso8601', 'pyiso8601 Documentation', + 'Michael Twomey', 'pyiso8601', 'One line description of project.', + 'Miscellaneous'), +] + +# Documents to append as an appendix to all manuals. +#texinfo_appendices = [] + +# If false, no module index is generated. +#texinfo_domain_indices = True + +# How to display URL addresses: 'footnote', 'no', or 'inline'. +#texinfo_show_urls = 'footnote' + +# If true, do not generate a @detailmenu in the "Top" node's menu. +#texinfo_no_detailmenu = False diff -Nru python-iso8601-0.1.12/docs/index.rst python-iso8601-0.1.13/docs/index.rst --- python-iso8601-0.1.12/docs/index.rst 1970-01-01 00:00:00.000000000 +0000 +++ python-iso8601-0.1.13/docs/index.rst 2020-09-11 17:07:44.000000000 +0000 @@ -0,0 +1,78 @@ +pyiso8601: ISO 8601 Parsing for Python +====================================== + +This module parses the most common forms of ISO 8601 date strings (e.g. 2007-01-14T20:34:22+00:00) into datetime objects. + +>>> import iso8601 +>>> iso8601.parse_date("2007-01-25T12:00:00Z") +datetime.datetime(2007, 1, 25, 12, 0, tzinfo=) +>>> + +This module is released under a MIT license. + +If you want more full featured parsing look at: + +- http://labix.org/python-dateutil - python-dateutil + +Parsed Formats +============== + +You can parse full date + times, or just the date. In both cases a datetime instance is returned but with missing times defaulting to 0, and missing days / months defaulting to 1. + +Dates +----- + +- YYYY-MM-DD +- YYYYMMDD +- YYYY-MM (defaults to 1 for the day) +- YYYY (defaults to 1 for month and day) + +Times +----- + +- hh:mm:ss.nn +- hhmmss.nn +- hh:mm (defaults to 0 for seconds) +- hhmm (defaults to 0 for seconds) +- hh (defaults to 0 for minutes and seconds) + +Time Zones +---------- + +- Nothing uses the default timezone given (UTC). +- Z (UTC) +- +/-hh:mm +- +/-hhmm +- +/-hh + +Where it Differs From ISO 8601 +============================== + +Known differences from the ISO 8601 spec: + +- You can use a " " (space) instead of T for separating date from time. +- Days and months without a leading 0 (2 vs 02) will be parsed. +- If time zone information is omitted the default time zone given is used (which in turn defaults to UTC). Use a default of None to yield naive datetime instances. + +Installation +============ + +To install simply use pip:: + + pip install iso8601 + + +API +=== + +.. autofunction:: iso8601.parse_date + +.. autoexception:: iso8601.ParseError + +Authors +======= + +Currently active committers: + +- Michael Twomey +- Julien Danjou diff -Nru python-iso8601-0.1.12/docs/make.bat python-iso8601-0.1.13/docs/make.bat --- python-iso8601-0.1.12/docs/make.bat 1970-01-01 00:00:00.000000000 +0000 +++ python-iso8601-0.1.13/docs/make.bat 2020-09-11 17:07:44.000000000 +0000 @@ -0,0 +1,242 @@ +@ECHO OFF + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set BUILDDIR=_build +set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . +set I18NSPHINXOPTS=%SPHINXOPTS% . +if NOT "%PAPER%" == "" ( + set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% + set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% +) + +if "%1" == "" goto help + +if "%1" == "help" ( + :help + echo.Please use `make ^` where ^ is one of + echo. html to make standalone HTML files + echo. dirhtml to make HTML files named index.html in directories + echo. singlehtml to make a single large HTML file + echo. pickle to make pickle files + echo. json to make JSON files + echo. htmlhelp to make HTML files and a HTML help project + echo. qthelp to make HTML files and a qthelp project + echo. devhelp to make HTML files and a Devhelp project + echo. epub to make an epub + echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter + echo. text to make text files + echo. man to make manual pages + echo. texinfo to make Texinfo files + echo. gettext to make PO message catalogs + echo. changes to make an overview over all changed/added/deprecated items + echo. xml to make Docutils-native XML files + echo. pseudoxml to make pseudoxml-XML files for display purposes + echo. linkcheck to check all external links for integrity + echo. doctest to run all doctests embedded in the documentation if enabled + goto end +) + +if "%1" == "clean" ( + for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i + del /q /s %BUILDDIR%\* + goto end +) + + +%SPHINXBUILD% 2> nul +if errorlevel 9009 ( + echo. + echo.The 'sphinx-build' command was not found. Make sure you have Sphinx + echo.installed, then set the SPHINXBUILD environment variable to point + echo.to the full path of the 'sphinx-build' executable. Alternatively you + echo.may add the Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.http://sphinx-doc.org/ + exit /b 1 +) + +if "%1" == "html" ( + %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The HTML pages are in %BUILDDIR%/html. + goto end +) + +if "%1" == "dirhtml" ( + %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. + goto end +) + +if "%1" == "singlehtml" ( + %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. + goto end +) + +if "%1" == "pickle" ( + %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; now you can process the pickle files. + goto end +) + +if "%1" == "json" ( + %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; now you can process the JSON files. + goto end +) + +if "%1" == "htmlhelp" ( + %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; now you can run HTML Help Workshop with the ^ +.hhp project file in %BUILDDIR%/htmlhelp. + goto end +) + +if "%1" == "qthelp" ( + %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; now you can run "qcollectiongenerator" with the ^ +.qhcp project file in %BUILDDIR%/qthelp, like this: + echo.^> qcollectiongenerator %BUILDDIR%\qthelp\pyiso8601.qhcp + echo.To view the help file: + echo.^> assistant -collectionFile %BUILDDIR%\qthelp\pyiso8601.ghc + goto end +) + +if "%1" == "devhelp" ( + %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. + goto end +) + +if "%1" == "epub" ( + %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The epub file is in %BUILDDIR%/epub. + goto end +) + +if "%1" == "latex" ( + %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex + if errorlevel 1 exit /b 1 + echo. + echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. + goto end +) + +if "%1" == "latexpdf" ( + %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex + cd %BUILDDIR%/latex + make all-pdf + cd %BUILDDIR%/.. + echo. + echo.Build finished; the PDF files are in %BUILDDIR%/latex. + goto end +) + +if "%1" == "latexpdfja" ( + %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex + cd %BUILDDIR%/latex + make all-pdf-ja + cd %BUILDDIR%/.. + echo. + echo.Build finished; the PDF files are in %BUILDDIR%/latex. + goto end +) + +if "%1" == "text" ( + %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The text files are in %BUILDDIR%/text. + goto end +) + +if "%1" == "man" ( + %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The manual pages are in %BUILDDIR%/man. + goto end +) + +if "%1" == "texinfo" ( + %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. + goto end +) + +if "%1" == "gettext" ( + %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The message catalogs are in %BUILDDIR%/locale. + goto end +) + +if "%1" == "changes" ( + %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes + if errorlevel 1 exit /b 1 + echo. + echo.The overview file is in %BUILDDIR%/changes. + goto end +) + +if "%1" == "linkcheck" ( + %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck + if errorlevel 1 exit /b 1 + echo. + echo.Link check complete; look for any errors in the above output ^ +or in %BUILDDIR%/linkcheck/output.txt. + goto end +) + +if "%1" == "doctest" ( + %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest + if errorlevel 1 exit /b 1 + echo. + echo.Testing of doctests in the sources finished, look at the ^ +results in %BUILDDIR%/doctest/output.txt. + goto end +) + +if "%1" == "xml" ( + %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The XML files are in %BUILDDIR%/xml. + goto end +) + +if "%1" == "pseudoxml" ( + %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml + if errorlevel 1 exit /b 1 + echo. + echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml. + goto end +) + +:end diff -Nru python-iso8601-0.1.12/docs/Makefile python-iso8601-0.1.13/docs/Makefile --- python-iso8601-0.1.12/docs/Makefile 1970-01-01 00:00:00.000000000 +0000 +++ python-iso8601-0.1.13/docs/Makefile 2020-09-11 17:07:44.000000000 +0000 @@ -0,0 +1,177 @@ +# Makefile for Sphinx documentation +# + +# You can set these variables from the command line. +SPHINXOPTS = +SPHINXBUILD = sphinx-build +PAPER = +BUILDDIR = _build + +# User-friendly check for sphinx-build +ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) +$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) +endif + +# Internal variables. +PAPEROPT_a4 = -D latex_paper_size=a4 +PAPEROPT_letter = -D latex_paper_size=letter +ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +# the i18n builder cannot share the environment and doctrees with the others +I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . + +.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext + +help: + @echo "Please use \`make ' where is one of" + @echo " html to make standalone HTML files" + @echo " dirhtml to make HTML files named index.html in directories" + @echo " singlehtml to make a single large HTML file" + @echo " pickle to make pickle files" + @echo " json to make JSON files" + @echo " htmlhelp to make HTML files and a HTML help project" + @echo " qthelp to make HTML files and a qthelp project" + @echo " devhelp to make HTML files and a Devhelp project" + @echo " epub to make an epub" + @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" + @echo " latexpdf to make LaTeX files and run them through pdflatex" + @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx" + @echo " text to make text files" + @echo " man to make manual pages" + @echo " texinfo to make Texinfo files" + @echo " info to make Texinfo files and run them through makeinfo" + @echo " gettext to make PO message catalogs" + @echo " changes to make an overview of all changed/added/deprecated items" + @echo " xml to make Docutils-native XML files" + @echo " pseudoxml to make pseudoxml-XML files for display purposes" + @echo " linkcheck to check all external links for integrity" + @echo " doctest to run all doctests embedded in the documentation (if enabled)" + +clean: + rm -rf $(BUILDDIR)/* + +html: + $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html + @echo + @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." + +dirhtml: + $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml + @echo + @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." + +singlehtml: + $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml + @echo + @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." + +pickle: + $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle + @echo + @echo "Build finished; now you can process the pickle files." + +json: + $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json + @echo + @echo "Build finished; now you can process the JSON files." + +htmlhelp: + $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp + @echo + @echo "Build finished; now you can run HTML Help Workshop with the" \ + ".hhp project file in $(BUILDDIR)/htmlhelp." + +qthelp: + $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp + @echo + @echo "Build finished; now you can run "qcollectiongenerator" with the" \ + ".qhcp project file in $(BUILDDIR)/qthelp, like this:" + @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pyiso8601.qhcp" + @echo "To view the help file:" + @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pyiso8601.qhc" + +devhelp: + $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp + @echo + @echo "Build finished." + @echo "To view the help file:" + @echo "# mkdir -p $$HOME/.local/share/devhelp/pyiso8601" + @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pyiso8601" + @echo "# devhelp" + +epub: + $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub + @echo + @echo "Build finished. The epub file is in $(BUILDDIR)/epub." + +latex: + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + @echo + @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." + @echo "Run \`make' in that directory to run these through (pdf)latex" \ + "(use \`make latexpdf' here to do that automatically)." + +latexpdf: + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + @echo "Running LaTeX files through pdflatex..." + $(MAKE) -C $(BUILDDIR)/latex all-pdf + @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." + +latexpdfja: + $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + @echo "Running LaTeX files through platex and dvipdfmx..." + $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja + @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." + +text: + $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text + @echo + @echo "Build finished. The text files are in $(BUILDDIR)/text." + +man: + $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man + @echo + @echo "Build finished. The manual pages are in $(BUILDDIR)/man." + +texinfo: + $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo + @echo + @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." + @echo "Run \`make' in that directory to run these through makeinfo" \ + "(use \`make info' here to do that automatically)." + +info: + $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo + @echo "Running Texinfo files through makeinfo..." + make -C $(BUILDDIR)/texinfo info + @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." + +gettext: + $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale + @echo + @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." + +changes: + $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes + @echo + @echo "The overview file is in $(BUILDDIR)/changes." + +linkcheck: + $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck + @echo + @echo "Link check complete; look for any errors in the above output " \ + "or in $(BUILDDIR)/linkcheck/output.txt." + +doctest: + $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest + @echo "Testing of doctests in the sources finished, look at the " \ + "results in $(BUILDDIR)/doctest/output.txt." + +xml: + $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml + @echo + @echo "Build finished. The XML files are in $(BUILDDIR)/xml." + +pseudoxml: + $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml + @echo + @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." diff -Nru python-iso8601-0.1.12/.gitignore python-iso8601-0.1.13/.gitignore --- python-iso8601-0.1.12/.gitignore 1970-01-01 00:00:00.000000000 +0000 +++ python-iso8601-0.1.13/.gitignore 2020-09-11 17:07:44.000000000 +0000 @@ -0,0 +1,6 @@ +.tox +*.egg-info +*.pyc +__pycache__ +build +dist diff -Nru python-iso8601-0.1.12/.hgignore python-iso8601-0.1.13/.hgignore --- python-iso8601-0.1.12/.hgignore 1970-01-01 00:00:00.000000000 +0000 +++ python-iso8601-0.1.13/.hgignore 2020-09-11 17:07:44.000000000 +0000 @@ -0,0 +1,10 @@ +syntax: glob +build +dist +*.pyc +iso8601.egg-info +pyiso8601-venv +.tox +_build +.cache +.python-version diff -Nru python-iso8601-0.1.12/.hgtags python-iso8601-0.1.13/.hgtags --- python-iso8601-0.1.12/.hgtags 1970-01-01 00:00:00.000000000 +0000 +++ python-iso8601-0.1.13/.hgtags 2020-09-11 17:07:44.000000000 +0000 @@ -0,0 +1,8 @@ +bd89974951dae66bdb1c441d2e931f6b27fe1097 0.1.5 +462f8303fc3995150c188d3708fb6981d7705453 0.1.6 +1881bf20e595e5b923f5c8b1f859dc310e5f22c2 0.1.7 +01161826be6e8a99cde813850f0d6ed7952ff377 0.1.8 +4b511368cef17b3648af3bc16d2421ce8fbe4dc8 0.1.9 +0f02cc55100a1bad23c0ea0bd0f07b8de0e3e3f0 0.1.10 +5bd62903e2e6a91401d472ef1474d28442b7e282 0.1.11 +e40c1644a5900b06e23324b1bb338cc622306f48 0.1.12 diff -Nru python-iso8601-0.1.12/iso8601.egg-info/dependency_links.txt python-iso8601-0.1.13/iso8601.egg-info/dependency_links.txt --- python-iso8601-0.1.12/iso8601.egg-info/dependency_links.txt 2017-07-27 22:04:32.000000000 +0000 +++ python-iso8601-0.1.13/iso8601.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ - diff -Nru python-iso8601-0.1.12/iso8601.egg-info/PKG-INFO python-iso8601-0.1.13/iso8601.egg-info/PKG-INFO --- python-iso8601-0.1.12/iso8601.egg-info/PKG-INFO 2017-07-27 22:04:32.000000000 +0000 +++ python-iso8601-0.1.13/iso8601.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 @@ -1,203 +0,0 @@ -Metadata-Version: 1.1 -Name: iso8601 -Version: 0.1.12 -Summary: Simple module to parse ISO 8601 dates -Home-page: https://bitbucket.org/micktwomey/pyiso8601 -Author: Michael Twomey -Author-email: micktwomey+iso8601@gmail.com -License: MIT -Description: Simple module to parse ISO 8601 dates - - This module parses the most common forms of ISO 8601 date strings (e.g. - 2007-01-14T20:34:22+00:00) into datetime objects. - - >>> import iso8601 - >>> iso8601.parse_date("2007-01-25T12:00:00Z") - datetime.datetime(2007, 1, 25, 12, 0, tzinfo=) - >>> - - See the LICENSE file for the license this package is released under. - - If you want more full featured parsing look at: - - - http://labix.org/python-dateutil - python-dateutil - - Parsed Formats - ============== - - You can parse full date + times, or just the date. In both cases a datetime instance is returned but with missing times defaulting to 0, and missing days / months defaulting to 1. - - Dates - ----- - - - YYYY-MM-DD - - YYYYMMDD - - YYYY-MM (defaults to 1 for the day) - - YYYY (defaults to 1 for month and day) - - Times - ----- - - - hh:mm:ss.nn - - hhmmss.nn - - hh:mm (defaults to 0 for seconds) - - hhmm (defaults to 0 for seconds) - - hh (defaults to 0 for minutes and seconds) - - Time Zones - ---------- - - - Nothing, will use the default timezone given (which in turn defaults to UTC). - - Z (UTC) - - +/-hh:mm - - +/-hhmm - - +/-hh - - Where it Differs From ISO 8601 - ============================== - - Known differences from the ISO 8601 spec: - - - You can use a " " (space) instead of T for separating date from time. - - Days and months without a leading 0 (2 vs 02) will be parsed. - - If time zone information is omitted the default time zone given is used (which in turn defaults to UTC). Use a default of None to yield naive datetime instances. - - Homepage - ======== - - - Documentation: http://pyiso8601.readthedocs.org/ - - Source: https://bitbucket.org/micktwomey/pyiso8601/ - - This was originally hosted at https://code.google.com/p/pyiso8601/ - - References - ========== - - - http://en.wikipedia.org/wiki/ISO_8601 - - - http://www.cl.cam.ac.uk/~mgk25/iso-time.html - simple overview - - - http://hydracen.com/dx/iso8601.htm - more detailed enumeration of valid formats. - - Testing - ======= - - 1. pip install -r dev-requirements.txt - 2. tox - - Note that you need all the pythons installed to perform a tox run (see below). Homebrew helps a lot on the mac, however you wind up having to add cellars to your PATH or symlinking the pythonX.Y executables. - - Alternatively, to test only with your current python: - - 1. pip install -r dev-requirements.txt - 2. py.test --verbose iso8601 - - Supported Python Versions - ========================= - - Tested against: - - - Python 2.6 - - Python 2.7 - - Python 3.2 - - Python 3.3 - - Python 3.4 - - Python 3.5 - - Python 3.6 - - PyPy - - PyPy 3 - - Python 3.0 and 3.1 are untested but should work (tests didn't run under them when last tried). - - Jython is untested but should work (tests failed to run). - - Python 2.5 is not supported (too old for the tests for the most part). It could work with some small changes but I'm not supporting it. - - Changes - ======= - - 0.1.12 - ------ - - * Fix class reference for iso8601.Utc in module docstring (thanks to felixschwarz in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/7/fix-class-reference-for-iso8601utc-in/diff) - - 0.1.11 - ------ - - * Remove logging (thanks to Quentin Pradet in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/6/remove-debug-logging/diff) - * Add support for , as separator for fractional part (thanks to ecksun in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/5/add-support-for-as-separator-for/diff) - * Add Python 3.4 and 3.5 to tox test config. - * Add PyPy 3 to tox test config. - * Link to documentation at http://pyiso8601.readthedocs.org/ - - - 0.1.10 - ------ - - * Fixes https://bitbucket.org/micktwomey/pyiso8601/issue/14/regression-yyyy-mm-no-longer-parses (thanks to Kevin Gill for reporting) - * Adds YYYY as a valid date (uses 1 for both month and day) - * Woo, semantic versioning, .10 at last. - - 0.1.9 - ----- - - * Lots of fixes tightening up parsing from jdanjou. In particular more invalid cases are treated as errors. Also includes fixes for tests (which is how these invalid cases got in in the first place). - * Release addresses https://bitbucket.org/micktwomey/pyiso8601/issue/13/new-release-based-on-critical-bug-fix - - 0.1.8 - ----- - - * Remove +/- chars from README.rst and ensure tox tests run using LC_ALL=C. The setup.py egg_info command was failing in python 3.* on some setups (basically any where the system encoding wasn't UTF-8). (https://bitbucket.org/micktwomey/pyiso8601/issue/10/setuppy-broken-for-python-33) (thanks to klmitch) - - 0.1.7 - ----- - - * Fix parsing of microseconds (https://bitbucket.org/micktwomey/pyiso8601/issue/9/regression-parsing-microseconds) (Thanks to dims and bnemec) - - 0.1.6 - ----- - - * Correct negative timezone offsets (https://bitbucket.org/micktwomey/pyiso8601/issue/8/015-parses-negative-timezones-incorrectly) (thanks to Jonathan Lange) - - 0.1.5 - ----- - - * Wow, it's alive! First update since 2007 - * Moved over to https://bitbucket.org/micktwomey/pyiso8601 - * Add support for python 3. https://code.google.com/p/pyiso8601/issues/detail?id=23 (thanks to zefciu) - * Switched to py.test and tox for testing - * Make seconds optional in date format ("1997-07-16T19:20+01:00" now valid). https://bitbucket.org/micktwomey/pyiso8601/pull-request/1/make-the-inclusion-of-seconds-optional-in/diff (thanks to Chris Down) - * Correctly raise ParseError for more invalid inputs (https://bitbucket.org/micktwomey/pyiso8601/issue/1/raise-parseerror-for-invalid-input) (thanks to manish.tomar) - * Support more variations of ISO 8601 dates, times and time zone specs. - * Fix microsecond rounding issues (https://bitbucket.org/micktwomey/pyiso8601/issue/2/roundoff-issues-when-parsing-decimal) (thanks to nielsenb@jetfuse.net) - * Fix pickling and deepcopy of returned datetime objects (https://bitbucket.org/micktwomey/pyiso8601/issue/3/dates-returned-by-parse_date-do-not) (thanks to fogathmann and john@openlearning.com) - * Fix timezone offsets without a separator (https://bitbucket.org/micktwomey/pyiso8601/issue/4/support-offsets-without-a-separator) (thanks to joe.walton.gglcd) - * "Z" produces default timezone if one is specified (https://bitbucket.org/micktwomey/pyiso8601/issue/5/z-produces-default-timezone-if-one-is) (thanks to vfaronov). This one may cause problems if you've been relying on default_timezone to use that timezone instead of UTC. Strictly speaking that was wrong but this is potentially backwards incompatible. - * Handle compact date format (https://bitbucket.org/micktwomey/pyiso8601/issue/6/handle-compact-date-format) (thanks to rvandolson@esri.com) - - 0.1.4 - ----- - - * The default_timezone argument wasn't being passed through correctly, UTC was being used in every case. Fixes issue 10. - - 0.1.3 - ----- - - * Fixed the microsecond handling, the generated microsecond values were way too small. Fixes issue 9. - - 0.1.2 - ----- - - * Adding ParseError to __all__ in iso8601 module, allows people to import it. Addresses issue 7. - * Be a little more flexible when dealing with dates without leading zeroes. This violates the spec a little, but handles more dates as seen in the field. Addresses issue 6. - * Allow date/time separators other than T. - - 0.1.1 - ----- - - * When parsing dates without a timezone the specified default is used. If no default is specified then UTC is used. Addresses issue 4. - -Platform: UNKNOWN -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 3 diff -Nru python-iso8601-0.1.12/iso8601.egg-info/SOURCES.txt python-iso8601-0.1.13/iso8601.egg-info/SOURCES.txt --- python-iso8601-0.1.12/iso8601.egg-info/SOURCES.txt 2017-07-27 22:04:32.000000000 +0000 +++ python-iso8601-0.1.13/iso8601.egg-info/SOURCES.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -LICENSE -MANIFEST.in -README.rst -dev-requirements.txt -setup.py -tox.ini -iso8601/__init__.py -iso8601/iso8601.py -iso8601/test_iso8601.py -iso8601.egg-info/PKG-INFO -iso8601.egg-info/SOURCES.txt -iso8601.egg-info/dependency_links.txt -iso8601.egg-info/top_level.txt \ No newline at end of file diff -Nru python-iso8601-0.1.12/iso8601.egg-info/top_level.txt python-iso8601-0.1.13/iso8601.egg-info/top_level.txt --- python-iso8601-0.1.12/iso8601.egg-info/top_level.txt 2017-07-27 22:04:32.000000000 +0000 +++ python-iso8601-0.1.13/iso8601.egg-info/top_level.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -iso8601 diff -Nru python-iso8601-0.1.12/PKG-INFO python-iso8601-0.1.13/PKG-INFO --- python-iso8601-0.1.12/PKG-INFO 2017-07-27 22:04:32.000000000 +0000 +++ python-iso8601-0.1.13/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 @@ -1,203 +0,0 @@ -Metadata-Version: 1.1 -Name: iso8601 -Version: 0.1.12 -Summary: Simple module to parse ISO 8601 dates -Home-page: https://bitbucket.org/micktwomey/pyiso8601 -Author: Michael Twomey -Author-email: micktwomey+iso8601@gmail.com -License: MIT -Description: Simple module to parse ISO 8601 dates - - This module parses the most common forms of ISO 8601 date strings (e.g. - 2007-01-14T20:34:22+00:00) into datetime objects. - - >>> import iso8601 - >>> iso8601.parse_date("2007-01-25T12:00:00Z") - datetime.datetime(2007, 1, 25, 12, 0, tzinfo=) - >>> - - See the LICENSE file for the license this package is released under. - - If you want more full featured parsing look at: - - - http://labix.org/python-dateutil - python-dateutil - - Parsed Formats - ============== - - You can parse full date + times, or just the date. In both cases a datetime instance is returned but with missing times defaulting to 0, and missing days / months defaulting to 1. - - Dates - ----- - - - YYYY-MM-DD - - YYYYMMDD - - YYYY-MM (defaults to 1 for the day) - - YYYY (defaults to 1 for month and day) - - Times - ----- - - - hh:mm:ss.nn - - hhmmss.nn - - hh:mm (defaults to 0 for seconds) - - hhmm (defaults to 0 for seconds) - - hh (defaults to 0 for minutes and seconds) - - Time Zones - ---------- - - - Nothing, will use the default timezone given (which in turn defaults to UTC). - - Z (UTC) - - +/-hh:mm - - +/-hhmm - - +/-hh - - Where it Differs From ISO 8601 - ============================== - - Known differences from the ISO 8601 spec: - - - You can use a " " (space) instead of T for separating date from time. - - Days and months without a leading 0 (2 vs 02) will be parsed. - - If time zone information is omitted the default time zone given is used (which in turn defaults to UTC). Use a default of None to yield naive datetime instances. - - Homepage - ======== - - - Documentation: http://pyiso8601.readthedocs.org/ - - Source: https://bitbucket.org/micktwomey/pyiso8601/ - - This was originally hosted at https://code.google.com/p/pyiso8601/ - - References - ========== - - - http://en.wikipedia.org/wiki/ISO_8601 - - - http://www.cl.cam.ac.uk/~mgk25/iso-time.html - simple overview - - - http://hydracen.com/dx/iso8601.htm - more detailed enumeration of valid formats. - - Testing - ======= - - 1. pip install -r dev-requirements.txt - 2. tox - - Note that you need all the pythons installed to perform a tox run (see below). Homebrew helps a lot on the mac, however you wind up having to add cellars to your PATH or symlinking the pythonX.Y executables. - - Alternatively, to test only with your current python: - - 1. pip install -r dev-requirements.txt - 2. py.test --verbose iso8601 - - Supported Python Versions - ========================= - - Tested against: - - - Python 2.6 - - Python 2.7 - - Python 3.2 - - Python 3.3 - - Python 3.4 - - Python 3.5 - - Python 3.6 - - PyPy - - PyPy 3 - - Python 3.0 and 3.1 are untested but should work (tests didn't run under them when last tried). - - Jython is untested but should work (tests failed to run). - - Python 2.5 is not supported (too old for the tests for the most part). It could work with some small changes but I'm not supporting it. - - Changes - ======= - - 0.1.12 - ------ - - * Fix class reference for iso8601.Utc in module docstring (thanks to felixschwarz in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/7/fix-class-reference-for-iso8601utc-in/diff) - - 0.1.11 - ------ - - * Remove logging (thanks to Quentin Pradet in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/6/remove-debug-logging/diff) - * Add support for , as separator for fractional part (thanks to ecksun in https://bitbucket.org/micktwomey/pyiso8601/pull-requests/5/add-support-for-as-separator-for/diff) - * Add Python 3.4 and 3.5 to tox test config. - * Add PyPy 3 to tox test config. - * Link to documentation at http://pyiso8601.readthedocs.org/ - - - 0.1.10 - ------ - - * Fixes https://bitbucket.org/micktwomey/pyiso8601/issue/14/regression-yyyy-mm-no-longer-parses (thanks to Kevin Gill for reporting) - * Adds YYYY as a valid date (uses 1 for both month and day) - * Woo, semantic versioning, .10 at last. - - 0.1.9 - ----- - - * Lots of fixes tightening up parsing from jdanjou. In particular more invalid cases are treated as errors. Also includes fixes for tests (which is how these invalid cases got in in the first place). - * Release addresses https://bitbucket.org/micktwomey/pyiso8601/issue/13/new-release-based-on-critical-bug-fix - - 0.1.8 - ----- - - * Remove +/- chars from README.rst and ensure tox tests run using LC_ALL=C. The setup.py egg_info command was failing in python 3.* on some setups (basically any where the system encoding wasn't UTF-8). (https://bitbucket.org/micktwomey/pyiso8601/issue/10/setuppy-broken-for-python-33) (thanks to klmitch) - - 0.1.7 - ----- - - * Fix parsing of microseconds (https://bitbucket.org/micktwomey/pyiso8601/issue/9/regression-parsing-microseconds) (Thanks to dims and bnemec) - - 0.1.6 - ----- - - * Correct negative timezone offsets (https://bitbucket.org/micktwomey/pyiso8601/issue/8/015-parses-negative-timezones-incorrectly) (thanks to Jonathan Lange) - - 0.1.5 - ----- - - * Wow, it's alive! First update since 2007 - * Moved over to https://bitbucket.org/micktwomey/pyiso8601 - * Add support for python 3. https://code.google.com/p/pyiso8601/issues/detail?id=23 (thanks to zefciu) - * Switched to py.test and tox for testing - * Make seconds optional in date format ("1997-07-16T19:20+01:00" now valid). https://bitbucket.org/micktwomey/pyiso8601/pull-request/1/make-the-inclusion-of-seconds-optional-in/diff (thanks to Chris Down) - * Correctly raise ParseError for more invalid inputs (https://bitbucket.org/micktwomey/pyiso8601/issue/1/raise-parseerror-for-invalid-input) (thanks to manish.tomar) - * Support more variations of ISO 8601 dates, times and time zone specs. - * Fix microsecond rounding issues (https://bitbucket.org/micktwomey/pyiso8601/issue/2/roundoff-issues-when-parsing-decimal) (thanks to nielsenb@jetfuse.net) - * Fix pickling and deepcopy of returned datetime objects (https://bitbucket.org/micktwomey/pyiso8601/issue/3/dates-returned-by-parse_date-do-not) (thanks to fogathmann and john@openlearning.com) - * Fix timezone offsets without a separator (https://bitbucket.org/micktwomey/pyiso8601/issue/4/support-offsets-without-a-separator) (thanks to joe.walton.gglcd) - * "Z" produces default timezone if one is specified (https://bitbucket.org/micktwomey/pyiso8601/issue/5/z-produces-default-timezone-if-one-is) (thanks to vfaronov). This one may cause problems if you've been relying on default_timezone to use that timezone instead of UTC. Strictly speaking that was wrong but this is potentially backwards incompatible. - * Handle compact date format (https://bitbucket.org/micktwomey/pyiso8601/issue/6/handle-compact-date-format) (thanks to rvandolson@esri.com) - - 0.1.4 - ----- - - * The default_timezone argument wasn't being passed through correctly, UTC was being used in every case. Fixes issue 10. - - 0.1.3 - ----- - - * Fixed the microsecond handling, the generated microsecond values were way too small. Fixes issue 9. - - 0.1.2 - ----- - - * Adding ParseError to __all__ in iso8601 module, allows people to import it. Addresses issue 7. - * Be a little more flexible when dealing with dates without leading zeroes. This violates the spec a little, but handles more dates as seen in the field. Addresses issue 6. - * Allow date/time separators other than T. - - 0.1.1 - ----- - - * When parsing dates without a timezone the specified default is used. If no default is specified then UTC is used. Addresses issue 4. - -Platform: UNKNOWN -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 3 diff -Nru python-iso8601-0.1.12/README.rst python-iso8601-0.1.13/README.rst --- python-iso8601-0.1.12/README.rst 2017-07-27 21:51:06.000000000 +0000 +++ python-iso8601-0.1.13/README.rst 2020-09-11 17:07:44.000000000 +0000 @@ -77,7 +77,7 @@ 1. pip install -r dev-requirements.txt 2. tox -Note that you need all the pythons installed to perform a tox run (see below). Homebrew helps a lot on the mac, however you wind up having to add cellars to your PATH or symlinking the pythonX.Y executables. +Note that you need all the pythons installed to perform a tox run (see below). pyenv helps hugely, use pyenv install for the versions you need then use 'pyenv local version ...' to link them in (the tox-pyenv plugin will pick them up). Alternatively, to test only with your current python: @@ -89,17 +89,15 @@ Tested against: -- Python 2.6 - Python 2.7 -- Python 3.2 -- Python 3.3 -- Python 3.4 - Python 3.5 - Python 3.6 +- Python 3.7 +- Python 3.8 - PyPy - PyPy 3 -Python 3.0 and 3.1 are untested but should work (tests didn't run under them when last tried). +Python 3.0, 3.1 and 3.2 are untested but should work (tests didn't run under them when last tried). Jython is untested but should work (tests failed to run). @@ -108,6 +106,16 @@ Changes ======= +Unreleased +---------- + +0.1.13 +------ + +* Move to GitHub (https://github.com/micktwomey/pyiso8601). Thanks go to Martin Häcker for pointing out the bitbucket project had been deleted by Atlassian! +* Remove python 2.6, 3.2, 3.3 and 3.4 from tests +* Add python 3.7 and 3.8 to tests + 0.1.12 ------ diff -Nru python-iso8601-0.1.12/setup.cfg python-iso8601-0.1.13/setup.cfg --- python-iso8601-0.1.12/setup.cfg 2017-07-27 22:04:32.000000000 +0000 +++ python-iso8601-0.1.13/setup.cfg 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[egg_info] -tag_build = -tag_date = 0 - diff -Nru python-iso8601-0.1.12/setup.py python-iso8601-0.1.13/setup.py --- python-iso8601-0.1.12/setup.py 2017-07-27 21:41:48.000000000 +0000 +++ python-iso8601-0.1.13/setup.py 2020-09-11 17:07:44.000000000 +0000 @@ -9,12 +9,13 @@ setup( name="iso8601", - version="0.1.12", + version="0.1.13", description=long_description.split("\n")[0], long_description=long_description, + long_description_content_type="text/x-rst", author="Michael Twomey", - author_email="micktwomey+iso8601@gmail.com", - url="https://bitbucket.org/micktwomey/pyiso8601", + author_email="pyiso8601@mick.twomeylee.name", + url="https://github.com/micktwomey/pyiso8601", packages=["iso8601"], license="MIT", classifiers=[ diff -Nru python-iso8601-0.1.12/.tool-versions python-iso8601-0.1.13/.tool-versions --- python-iso8601-0.1.12/.tool-versions 1970-01-01 00:00:00.000000000 +0000 +++ python-iso8601-0.1.13/.tool-versions 2020-09-11 17:07:44.000000000 +0000 @@ -0,0 +1 @@ +python 3.8.5 2.7.18 3.7.9 3.6.12 3.5.9 diff -Nru python-iso8601-0.1.12/tox.ini python-iso8601-0.1.13/tox.ini --- python-iso8601-0.1.12/tox.ini 2017-07-27 21:46:49.000000000 +0000 +++ python-iso8601-0.1.13/tox.ini 2020-09-11 17:07:44.000000000 +0000 @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,py32,py33,py34,py35,py36,pypy,pypy3 +envlist = py27,py35,py36,py37,py38,pypy,pypy3 [testenv] deps=pytest>=2.4.2