Hello community,

here is the log from the commit of package python-mutt-ics for openSUSE:Factory 
checked in at 2019-03-27 16:21:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mutt-ics (Old)
 and      /work/SRC/openSUSE:Factory/.python-mutt-ics.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mutt-ics"

Wed Mar 27 16:21:22 2019 rev:2 rq:688776 version:0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mutt-ics/python-mutt-ics.changes  
2018-11-10 17:02:24.279531714 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mutt-ics.new.25356/python-mutt-ics.changes   
    2019-03-27 16:21:35.879527332 +0100
@@ -1,0 +2,11 @@
+Tue Mar 26 14:07:37 UTC 2019 - Petr Gajdos <[email protected]>
+
+- require python-setuptools
+
+-------------------------------------------------------------------
+Tue Mar 26 09:49:45 UTC 2019 - [email protected]
+
+- version update to 0.9
+  * Use `try` to recognize naive datetime.
+
+-------------------------------------------------------------------

Old:
----
  mutt_ics-0.8.tar.gz

New:
----
  mutt_ics-0.9.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mutt-ics.spec ++++++
--- /var/tmp/diff_new_pack.xcDE7g/_old  2019-03-27 16:21:36.495527204 +0100
+++ /var/tmp/diff_new_pack.xcDE7g/_new  2019-03-27 16:21:36.495527204 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutt-ics
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-mutt-ics
-Version:        0.8
+Version:        0.9
 Release:        0
 Summary:        A tool to show calendar event details in Mutt
 License:        MIT
@@ -30,6 +30,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-icalendar >= 3.9.0
+Requires:       python-setuptools
 BuildArch:      noarch
 %ifpython3
 Provides:       mutt-ics
@@ -51,6 +52,12 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 install -pm 0644 %{SOURCE1} LICENSE
 
+%check
+# no upstream tests
+# however, there are samples/ on github at least
+# https://github.com/dmedvinsky/mutt-ics/issues/19
+# could we write small tests here?
+
 %files %{python_files}
 %doc README.md
 %license LICENSE

++++++ mutt_ics-0.8.tar.gz -> mutt_ics-0.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutt_ics-0.8/PKG-INFO new/mutt_ics-0.9/PKG-INFO
--- old/mutt_ics-0.8/PKG-INFO   2016-12-23 10:14:18.000000000 +0100
+++ new/mutt_ics-0.9/PKG-INFO   2018-12-31 15:58:48.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: mutt_ics
-Version: 0.8
+Version: 0.9
 Summary: A tool to show calendar event details in Mutt.
 Home-page: https://github.com/dmedvinsky/mutt-ics
 Author: Dmitry Medvinsky
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutt_ics-0.8/mutt_ics/mutt_ics.py 
new/mutt_ics-0.9/mutt_ics/mutt_ics.py
--- old/mutt_ics-0.8/mutt_ics/mutt_ics.py       2016-12-23 10:13:29.000000000 
+0100
+++ new/mutt_ics-0.9/mutt_ics/mutt_ics.py       2018-12-31 15:57:22.000000000 
+0100
@@ -76,9 +76,9 @@
 
 
 def format_date(x):
-    if hasattr(x.dt, 'astimezone'):
+    try:
         date_or_time = x.dt.astimezone(tz.tzlocal())
-    else:
+    except (AttributeError, ValueError):
         date_or_time = x.dt
     return date_or_time.strftime(datefmt)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutt_ics-0.8/mutt_ics.egg-info/PKG-INFO 
new/mutt_ics-0.9/mutt_ics.egg-info/PKG-INFO
--- old/mutt_ics-0.8/mutt_ics.egg-info/PKG-INFO 2016-12-23 10:14:18.000000000 
+0100
+++ new/mutt_ics-0.9/mutt_ics.egg-info/PKG-INFO 2018-12-31 15:58:48.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: mutt-ics
-Version: 0.8
+Version: 0.9
 Summary: A tool to show calendar event details in Mutt.
 Home-page: https://github.com/dmedvinsky/mutt-ics
 Author: Dmitry Medvinsky
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutt_ics-0.8/setup.cfg new/mutt_ics-0.9/setup.cfg
--- old/mutt_ics-0.8/setup.cfg  2016-12-23 10:14:18.000000000 +0100
+++ new/mutt_ics-0.9/setup.cfg  2018-12-31 15:58:48.000000000 +0100
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutt_ics-0.8/setup.py new/mutt_ics-0.9/setup.py
--- old/mutt_ics-0.8/setup.py   2016-12-23 10:13:56.000000000 +0100
+++ new/mutt_ics-0.9/setup.py   2018-12-31 15:57:49.000000000 +0100
@@ -12,7 +12,7 @@
 
 
 setup(name='mutt_ics',
-      version='0.8',
+      version='0.9',
       description='A tool to show calendar event details in Mutt.',
       long_description=readme(),
       classifiers=[


Reply via email to