Hello community,
here is the log from the commit of package python-parsedatetime for
openSUSE:Factory checked in at 2020-09-21 17:16:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parsedatetime (Old)
and /work/SRC/openSUSE:Factory/.python-parsedatetime.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parsedatetime"
Mon Sep 21 17:16:53 2020 rev:7 rq:835180 version:2.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-parsedatetime/python-parsedatetime.changes
2020-03-11 18:56:49.903714730 +0100
+++
/work/SRC/openSUSE:Factory/.python-parsedatetime.new.4249/python-parsedatetime.changes
2020-09-21 17:19:22.727741522 +0200
@@ -1,0 +2,11 @@
+Thu Sep 17 11:44:00 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 2.6:
+ Updated Pipfile and Makefile to:
+ - update and move packages to the "dev" section
+ - use Python 3.7 for pipenv
+ - install tox-pipenv plugin to try and fix Tox (currently doesn't)
+ - simplify tox.ini to try and fix Tox (didn't)
+ - move ci makefile target to the circle config
+
+-------------------------------------------------------------------
Old:
----
parsedatetime-2.5.tar.gz
New:
----
parsedatetime-2.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-parsedatetime.spec ++++++
--- /var/tmp/diff_new_pack.Mhn7ZB/_old 2020-09-21 17:19:26.859744711 +0200
+++ /var/tmp/diff_new_pack.Mhn7ZB/_new 2020-09-21 17:19:26.863744714 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-parsedatetime
-Version: 2.5
+Version: 2.6
Release: 0
Summary: Python module to parse human-readable date/time text
License: Apache-2.0
++++++ parsedatetime-2.5.tar.gz -> parsedatetime-2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/CHANGES.txt
new/parsedatetime-2.6/CHANGES.txt
--- old/parsedatetime-2.5/CHANGES.txt 2019-11-19 05:43:03.000000000 +0100
+++ new/parsedatetime-2.6/CHANGES.txt 2020-06-01 01:30:01.000000000 +0200
@@ -1,3 +1,19 @@
+31 May 2020 - bear
+ v2.6 release
+
+ PR #244 Polished README.rst
+ PR #242 fix pyicu import to suppress warnings
+ PR #239 Fixed missing comma in seconds strings
+
+ Updated Pipfile and Makefile to:
+ - update and move packages to the "dev" section
+ - use Python 3.7 for pipenv
+ - install tox-pipenv plugin to try and fix Tox (currently doesn't)
+ - simplify tox.ini to try and fix Tox (didn't)
+ - move ci makefile target to the circle config
+
+ Currently Tox is broken (see
https://github.com/tox-dev/tox-pipenv/issues/61)
+
18 Nov 2019 - bear
v2.5 release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/Makefile
new/parsedatetime-2.6/Makefile
--- old/parsedatetime-2.5/Makefile 2019-11-19 05:00:12.000000000 +0100
+++ new/parsedatetime-2.6/Makefile 2020-06-01 01:50:39.000000000 +0200
@@ -1,19 +1,6 @@
-.PHONY: docs test
-
-UNAME_S := $(shell uname -s)
-ifeq ($(UNAME_S),Darwin)
- BREWPATH = $(shell brew --prefix)
- PYICU_LD = "-L${BREWPATH}/opt/icu4c/lib -L${BREWPATH}/opt/[email protected]/lib"
- PYICU_CPP = "-I${BREWPATH}/opt/icu4c/include
-I${BREWPATH}/opt/[email protected]/include"
- ICU_VER = 58.2
-else
- PYICU_LD =
- PYICU_CPP =
- ICU_VER =
-endif
+.PHONY: dev info clean docs lint test
help:
- @echo " env install all production dependencies"
@echo " dev install all dev and production dependencies
(virtualenv is assumed)"
@echo " clean remove unwanted stuff"
@echo " lint check style with flake8"
@@ -21,23 +8,12 @@
@echo " build generate source and wheel dist files"
@echo " upload generate source and wheel dist files and upload
them"
-env:
- pip install -U pip
-
-dev: env
- pip install -Uqr requirements.testing.txt | tee
- @echo "on OS X use homebrew to install icu4c"
- LDFLAGS=${PYICU_LD} CPPFLAGS=${PYICU_CPP} ICU_VERSION=${ICU_VER} \
- #pip install -U pyicu
- pyenv install -s 2.7.11
- pyenv install -s 3.6.1
- pyenv install -s pypy-5.3
- pyenv local 2.7.11 3.6.1 pypy-5.3
+dev:
+ pipenv install --dev --python 3.7
info:
- @python --version
- @pyenv --version
- @pip --version
+ @pipenv --version
+ @pipenv run python --version
clean:
rm -fr build
@@ -47,30 +23,27 @@
find . -name '*~' -exec rm -f {} \;
docs:
- epydoc --html --config epydoc.conf
+ pipenv run epydoc --html --config epydoc.conf
lint:
- flake8 parsedatetime > violations.flake8.txt
+ pipenv run flake8 parsedatetime > violations.flake8.txt
-test: lint
- python setup.py test
+test:
+ pipenv run python setup.py test
tox: clean
- tox
+ pipenv run tox
coverage: clean
- @coverage run --source=parsedatetime setup.py test
- @coverage html
- @coverage report
-
-ci: tox coverage
- CODECOV_TOKEN=`cat .codecov-token` codecov
+ @pipenv run coverage run --source=parsedatetime setup.py test
+ @pipenv run coverage html
+ @pipenv run coverage report
build: clean
- python setup.py check
- python setup.py sdist
- python setup.py bdist_wheel
-
-upload: clean
- python setup.py sdist upload
- python setup.py bdist_wheel upload
+ pipenv run python setup.py check
+ pipenv run python setup.py sdist bdist_wheel
+
+# requires PyPI Twine - brew install pypi-twine
+upload: build
+ twine upload dist/*
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/PKG-INFO
new/parsedatetime-2.6/PKG-INFO
--- old/parsedatetime-2.5/PKG-INFO 2019-11-19 06:21:51.000000000 +0100
+++ new/parsedatetime-2.6/PKG-INFO 2020-06-01 01:50:54.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: parsedatetime
-Version: 2.5
+Version: 2.6
Summary: Parse human-readable date/time text.
Home-page: https://github.com/bear/parsedatetime
Author: Mike Taylor
@@ -8,6 +8,7 @@
License: Apache License 2.0
Download-URL: https://pypi.python.org/pypi/parsedatetime
Description: parsedatetime
+ =============
Parse human-readable date/time strings.
@@ -67,37 +68,41 @@
pyenv install -s pypy-5.3
pyenv global 2.7.11 3.5.2 2.6.9 pypy-5.3
- The tests depend on PyICU being installed. PyICU depends on icu4c
which on OS X requires homebrew::
+ The tests depend on PyICU being installed using the `pyicu-binary`
package which removes the source build step. PyICU depends on icu4c which on
macOS requires homebrew::
brew install icu4c
- *and* then will require that you pass in the ``LDFLAGS`` and
``CPPFLAGS`` that homebrew will display after the install::
-
- LDFLAGS: -L/usr/local/opt/icu4c/lib
- CPPFLAGS: -I/usr/local/opt/icu4c/include
-
- The Makefile contains the OS X default values for them so you may need
to tweak them.
+ The Makefile contains the macOS default values for them so you may
need to tweak them.
===================
Using parsedatetime
===================
- An example of how to use parsedatetime::
+ An example of how to use parsedatetime:
- import parsedatetime
- cal = parsedatetime.Calendar()
+ .. code:: python
+ import parsedatetime
+
+ cal = parsedatetime.Calendar()
+
cal.parse("tomorrow")
- To get it to a Python ``datetime`` object::
+ To get it to a Python ``datetime`` object:
+
+
+ .. code:: python
from datetime import datetime
time_struct, parse_status = cal.parse("tomorrow")
+
datetime(*time_struct[:6])
- Parse datetime with timezone support (using pytz package)::
+ Parse datetime with timezone support (using pytz package):
+
+ .. code:: python
import parsedatetime
import pytz
@@ -145,5 +150,4 @@
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/README.rst
new/parsedatetime-2.6/README.rst
--- old/parsedatetime-2.5/README.rst 2017-03-11 00:07:48.000000000 +0100
+++ new/parsedatetime-2.6/README.rst 2020-06-01 00:24:46.000000000 +0200
@@ -1,4 +1,5 @@
parsedatetime
+=============
Parse human-readable date/time strings.
@@ -58,37 +59,41 @@
pyenv install -s pypy-5.3
pyenv global 2.7.11 3.5.2 2.6.9 pypy-5.3
-The tests depend on PyICU being installed. PyICU depends on icu4c which on OS
X requires homebrew::
+The tests depend on PyICU being installed using the `pyicu-binary` package
which removes the source build step. PyICU depends on icu4c which on macOS
requires homebrew::
brew install icu4c
-*and* then will require that you pass in the ``LDFLAGS`` and ``CPPFLAGS`` that
homebrew will display after the install::
-
- LDFLAGS: -L/usr/local/opt/icu4c/lib
- CPPFLAGS: -I/usr/local/opt/icu4c/include
-
-The Makefile contains the OS X default values for them so you may need to
tweak them.
+The Makefile contains the macOS default values for them so you may need to
tweak them.
===================
Using parsedatetime
===================
-An example of how to use parsedatetime::
+An example of how to use parsedatetime:
- import parsedatetime
- cal = parsedatetime.Calendar()
+.. code:: python
+ import parsedatetime
+
+ cal = parsedatetime.Calendar()
+
cal.parse("tomorrow")
-To get it to a Python ``datetime`` object::
+To get it to a Python ``datetime`` object:
+
+
+.. code:: python
from datetime import datetime
time_struct, parse_status = cal.parse("tomorrow")
+
datetime(*time_struct[:6])
-Parse datetime with timezone support (using pytz package)::
+Parse datetime with timezone support (using pytz package):
+
+.. code:: python
import parsedatetime
import pytz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/parsedatetime/__init__.py
new/parsedatetime-2.6/parsedatetime/__init__.py
--- old/parsedatetime-2.5/parsedatetime/__init__.py 2019-11-19
05:35:16.000000000 +0100
+++ new/parsedatetime-2.6/parsedatetime/__init__.py 2020-06-01
01:31:35.000000000 +0200
@@ -42,9 +42,9 @@
__author__ = 'Mike Taylor'
__email__ = '[email protected]'
-__copyright__ = 'Copyright (c) 2017 Mike Taylor'
+__copyright__ = 'Copyright (c) 2020 Mike Taylor'
__license__ = 'Apache License 2.0'
-__version__ = '2.5'
+__version__ = '2.6'
__url__ = 'https://github.com/bear/parsedatetime'
__download_url__ = 'https://pypi.python.org/pypi/parsedatetime'
__description__ = 'Parse human-readable date/time text.'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/parsedatetime/pdt_locales/base.py
new/parsedatetime-2.6/parsedatetime/pdt_locales/base.py
--- old/parsedatetime-2.5/parsedatetime/pdt_locales/base.py 2019-11-19
03:25:20.000000000 +0100
+++ new/parsedatetime-2.6/parsedatetime/pdt_locales/base.py 2020-05-31
21:34:24.000000000 +0200
@@ -86,7 +86,7 @@
# this will be added to re_values later
units = {
- 'seconds': ['second', 'seconds', 'sec', 'secs' 's'],
+ 'seconds': ['second', 'seconds', 'sec', 'secs', 's'],
'minutes': ['minute', 'minutes', 'min', 'mins', 'm'],
'hours': ['hour', 'hours', 'hr', 'h'],
'days': ['day', 'days', 'dy', 'd'],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/parsedatetime/pdt_locales/icu.py
new/parsedatetime-2.6/parsedatetime/pdt_locales/icu.py
--- old/parsedatetime-2.5/parsedatetime/pdt_locales/icu.py 2019-11-19
05:45:22.000000000 +0100
+++ new/parsedatetime-2.6/parsedatetime/pdt_locales/icu.py 2020-05-31
21:40:23.000000000 +0200
@@ -13,9 +13,12 @@
pass
try:
- import PyICU as pyicu
+ import icu as pyicu
except ImportError:
- pyicu = None
+ try:
+ import PyICU as pyicu
+ except ImportError:
+ pyicu = None
def icu_object(mapping):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/parsedatetime.egg-info/PKG-INFO
new/parsedatetime-2.6/parsedatetime.egg-info/PKG-INFO
--- old/parsedatetime-2.5/parsedatetime.egg-info/PKG-INFO 2019-11-19
06:21:51.000000000 +0100
+++ new/parsedatetime-2.6/parsedatetime.egg-info/PKG-INFO 2020-06-01
01:50:54.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: parsedatetime
-Version: 2.5
+Version: 2.6
Summary: Parse human-readable date/time text.
Home-page: https://github.com/bear/parsedatetime
Author: Mike Taylor
@@ -8,6 +8,7 @@
License: Apache License 2.0
Download-URL: https://pypi.python.org/pypi/parsedatetime
Description: parsedatetime
+ =============
Parse human-readable date/time strings.
@@ -67,37 +68,41 @@
pyenv install -s pypy-5.3
pyenv global 2.7.11 3.5.2 2.6.9 pypy-5.3
- The tests depend on PyICU being installed. PyICU depends on icu4c
which on OS X requires homebrew::
+ The tests depend on PyICU being installed using the `pyicu-binary`
package which removes the source build step. PyICU depends on icu4c which on
macOS requires homebrew::
brew install icu4c
- *and* then will require that you pass in the ``LDFLAGS`` and
``CPPFLAGS`` that homebrew will display after the install::
-
- LDFLAGS: -L/usr/local/opt/icu4c/lib
- CPPFLAGS: -I/usr/local/opt/icu4c/include
-
- The Makefile contains the OS X default values for them so you may need
to tweak them.
+ The Makefile contains the macOS default values for them so you may
need to tweak them.
===================
Using parsedatetime
===================
- An example of how to use parsedatetime::
+ An example of how to use parsedatetime:
- import parsedatetime
- cal = parsedatetime.Calendar()
+ .. code:: python
+ import parsedatetime
+
+ cal = parsedatetime.Calendar()
+
cal.parse("tomorrow")
- To get it to a Python ``datetime`` object::
+ To get it to a Python ``datetime`` object:
+
+
+ .. code:: python
from datetime import datetime
time_struct, parse_status = cal.parse("tomorrow")
+
datetime(*time_struct[:6])
- Parse datetime with timezone support (using pytz package)::
+ Parse datetime with timezone support (using pytz package):
+
+ .. code:: python
import parsedatetime
import pytz
@@ -145,5 +150,4 @@
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/parsedatetime.egg-info/SOURCES.txt
new/parsedatetime-2.6/parsedatetime.egg-info/SOURCES.txt
--- old/parsedatetime-2.5/parsedatetime.egg-info/SOURCES.txt 2019-11-19
06:21:51.000000000 +0100
+++ new/parsedatetime-2.6/parsedatetime.egg-info/SOURCES.txt 2020-06-01
01:50:54.000000000 +0200
@@ -19,7 +19,6 @@
parsedatetime.egg-info/PKG-INFO
parsedatetime.egg-info/SOURCES.txt
parsedatetime.egg-info/dependency_links.txt
-parsedatetime.egg-info/pbr.json
parsedatetime.egg-info/top_level.txt
parsedatetime/pdt_locales/__init__.py
parsedatetime/pdt_locales/base.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/parsedatetime.egg-info/pbr.json
new/parsedatetime-2.6/parsedatetime.egg-info/pbr.json
--- old/parsedatetime-2.5/parsedatetime.egg-info/pbr.json 2016-07-13
13:14:56.000000000 +0200
+++ new/parsedatetime-2.6/parsedatetime.egg-info/pbr.json 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-{"is_release": false, "git_version": "e3cf2a1"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/setup.cfg
new/parsedatetime-2.6/setup.cfg
--- old/parsedatetime-2.5/setup.cfg 2019-11-19 06:21:51.000000000 +0100
+++ new/parsedatetime-2.6/setup.cfg 2020-06-01 01:50:54.000000000 +0200
@@ -1,6 +1,5 @@
[check-manifest]
ignore =
- .travis.yml
circle.yml
violations.flake8.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parsedatetime-2.5/setup.py
new/parsedatetime-2.6/setup.py
--- old/parsedatetime-2.5/setup.py 2019-11-19 03:25:20.000000000 +0100
+++ new/parsedatetime-2.6/setup.py 2020-06-01 01:31:19.000000000 +0200
@@ -46,7 +46,6 @@
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.3',
- 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.7',
]
)