Hello community,
here is the log from the commit of package python-parsedatetime for
openSUSE:Factory checked in at 2017-10-26 18:43:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parsedatetime (Old)
and /work/SRC/openSUSE:Factory/.python-parsedatetime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parsedatetime"
Thu Oct 26 18:43:46 2017 rev:3 rq:534997 version:2.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-parsedatetime/python-parsedatetime.changes
2015-10-20 00:05:42.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-parsedatetime.new/python-parsedatetime.changes
2017-10-26 18:43:50.809455744 +0200
@@ -1,0 +2,49 @@
+Wed Oct 18 15:55:53 UTC 2017 - [email protected]
+
+- Version 2.4
+ PR 157 unwrap dictionary comprehensions to allow for python 2.6 to work -
Issue #156
+ PR #153 Fix/day of week offsets
+ PR #146 Test failure: eom is correct, but expectation is wrong
+ PR #142 Fixed all PyICU test failure
+ PR #138 bug(date3): rely on comparison of hour and year strings but not
strict char position
+ PR #135 update manifest, clean up setup.py and move historical text files
+ PR #130 Refactoring of pdt_locales
+ PR #134 Uses `codecov` to generate coverage report
+ PR #128 Master
+ PR #127 Issue #126 - removed inheritance from object and removed return
value…
+ PR #118 ADD: improve russian locale
+ PR #117 ADD: Russian Locale
+ PR #116 Fix spelling of "separator".
+ PR #115 Update README.rst
+ PR #113 Add datetime example to readme.
+ PR #111 Allowed real number appear in text like "5.5 days ago"
+ Issue #219 - remove 'setup_requires' from setup.py
+ Issue #215 - tests fail in March
+ Issue #156 parsedatetime 2.0 doesn't work on py26
+ Issue #155 Relative times containing years fail when computed from a leap
day
+ Issue #145 cal.parse('2015-11-18') returns November 19th 2015
+ Issue #143 What is the second value returned by `parse`?
+ Issue #141 Bad test case in TestComplexDateTimes
+ Issue #123 update supporting files for v2.0 release
+ Issue #124 Put locales into config-files (yaml)
+ Issue #125 Remove extra files
+ Issue #137 Year is parsed wrongly if the date is of format MMM DD, YYxx
xx:SS bug
+ Issue #136 Why I see 2016 instead of 2015?
+ Issue #133 Bug: "2015-01-01" is parsed as the current date.
+ Issue #126 "Unresolved attribute reference 'parse' for class 'object'... "
in Pycharm IDE. bug
+ Issue #120 the pdt_locales/en_AU.py file uses en_A for the localID instead
of en_AU
+ Issue #114 Dates in the format 'YYYY-MM-DD HH:MM' give the incorrect month
and day
+ Issue #112 Document getting a time from parsedatetime into a standard
Python structure
+ Issue #110 AttributeError when running in the context of an HTTP request
+ Issue #109 YearParseStyle is ignored for dates in MM/DD style
+ Issue #107 yyyy/mm/dd date format
+ Issue #105 "this week" is not parsed
+ Issue #103 get UTC times from parseDT - trouble with at 9:30 clock times
being interpreted directly in UTC
+ Issue #100 Fractional deltas result in incoherent results.
+
+-------------------------------------------------------------------
+Thu Aug 24 13:48:53 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -47,0 +97 @@
+
Old:
----
_service
parsedatetime-1.5.tar.gz
New:
----
parsedatetime-2.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-parsedatetime.spec ++++++
--- /var/tmp/diff_new_pack.iFXoqD/_old 2017-10-26 18:43:51.677415237 +0200
+++ /var/tmp/diff_new_pack.iFXoqD/_new 2017-10-26 18:43:51.681415050 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-parsedatetime
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,39 +16,45 @@
#
-%define modname parsedatetime
-Name: python-%{modname}
-Version: 1.5
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+Name: python-parsedatetime
+Version: 2.4
Release: 0
Summary: Parse human-readable date/time text
License: Apache-2.0
Group: Development/Libraries/Python
-Url: https://github.com/regebro/%{modname}
-Source: %{modname}-%{version}.tar.gz
-
-BuildRequires: python-setuptools
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
+Url: https://github.com/regebro/parsedatetime
+Source:
https://files.pythonhosted.org/packages/source/p/parsedatetime/parsedatetime-%{version}.tar.gz
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module future}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
BuildArch: noarch
-%endif
+
+%python_subpackages
%description
Parse human-readable date/time strings.
%prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n parsedatetime-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-chmod 775 %{buildroot}%{python_sitelib}/%{modname}/__init__.py
+%python_install
+%python_expand %fdupes %{buildroot}%{python_sitelib}
+
+%check
+%python_exec setup.py test
-%files
+%files %{python_files}
%defattr(-,root,root)
-%doc LICENSE.txt CHANGES.txt PKG-INFO
-%{python_sitelib}/%{modname}
-%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
+%doc AUTHORS.txt LICENSE.txt CHANGES.txt README.rst
+%{python_sitelib}/parsedatetime/
+%{python_sitelib}/parsedatetime-%{version}-py*.egg-info
%changelog
++++++ parsedatetime-1.5.tar.gz -> parsedatetime-2.4.tar.gz ++++++
++++ 11391 lines of diff (skipped)