Hello community, here is the log from the commit of package python-watermark for openSUSE:Factory checked in at 2019-08-13 13:20:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-watermark (Old) and /work/SRC/openSUSE:Factory/.python-watermark.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-watermark" Tue Aug 13 13:20:40 2019 rev:2 rq:722250 version:1.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-watermark/python-watermark.changes 2019-05-22 11:07:51.770599960 +0200 +++ /work/SRC/openSUSE:Factory/.python-watermark.new.9556/python-watermark.changes 2019-08-13 13:21:23.469416383 +0200 @@ -1,0 +2,7 @@ +Sun Aug 11 04:35:21 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- Update to 1.8.2 + * When no Python library was imported and the --iversion is used, + print an empty string instead of raising an error. + +------------------------------------------------------------------- Old: ---- watermark-1.8.1.tar.gz New: ---- watermark-1.8.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-watermark.spec ++++++ --- /var/tmp/diff_new_pack.kONIdb/_old 2019-08-13 13:21:23.889416273 +0200 +++ /var/tmp/diff_new_pack.kONIdb/_new 2019-08-13 13:21:23.889416273 +0200 @@ -17,9 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-watermark -Version: 1.8.1 +Version: 1.8.2 Release: 0 Summary: IPython magic function to psystem information License: BSD-3-Clause @@ -53,10 +52,9 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%python_exec -c "import watermark; print('watermark %s' % watermark.__version__)"; +%python_expand ipython-%{$python_bin_suffix} -c "%load_ext watermark"; %files %{python_files} %doc README.md ++++++ watermark-1.8.1.tar.gz -> watermark-1.8.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.8.1/PKG-INFO new/watermark-1.8.2/PKG-INFO --- old/watermark-1.8.1/PKG-INFO 2019-01-26 19:33:25.000000000 +0100 +++ new/watermark-1.8.2/PKG-INFO 2019-07-28 22:47:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: watermark -Version: 1.8.1 +Version: 1.8.2 Summary: IPython magic function to print date/time stamps andvarious system information. Home-page: https://github.com/rasbt/watermark Author: Sebastian Raschka diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.8.1/README.md new/watermark-1.8.2/README.md --- old/watermark-1.8.1/README.md 2019-01-26 19:27:18.000000000 +0100 +++ new/watermark-1.8.2/README.md 2019-07-28 22:47:03.000000000 +0200 @@ -112,6 +112,10 @@ [[top](#sections)] +#### v. 1.8.2 (July 28, 2019) + +- When no Python library was imported and the `--iversion` is used, print an empty string instead of raising an error. + #### v. 1.8.1 (January 26, 2019) - Fixes string alignment issues when the `-iv`/`--iversion` flag is used. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.8.1/watermark/__init__.py new/watermark-1.8.2/watermark/__init__.py --- old/watermark-1.8.1/watermark/__init__.py 2019-01-26 19:27:33.000000000 +0100 +++ new/watermark-1.8.2/watermark/__init__.py 2019-07-28 22:47:03.000000000 +0200 @@ -9,7 +9,7 @@ import sys -__version__ = '1.8.1' +__version__ = '1.8.2' if sys.version_info >= (3, 0): from watermark.watermark import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.8.1/watermark/watermark.py new/watermark-1.8.2/watermark/watermark.py --- old/watermark-1.8.1/watermark/watermark.py 2019-01-26 19:26:08.000000000 +0100 +++ new/watermark-1.8.2/watermark/watermark.py 2019-07-28 22:47:03.000000000 +0200 @@ -244,7 +244,7 @@ except AttributeError as e: continue - longest = max([len(i[0]) for i in to_print]) + 1 + longest = max([len(i[0]) for i in to_print] + [0]) + 1 for entry in to_print: print(('%s' % entry[0]).ljust(longest) + entry[1]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/watermark-1.8.1/watermark.egg-info/PKG-INFO new/watermark-1.8.2/watermark.egg-info/PKG-INFO --- old/watermark-1.8.1/watermark.egg-info/PKG-INFO 2019-01-26 19:33:25.000000000 +0100 +++ new/watermark-1.8.2/watermark.egg-info/PKG-INFO 2019-07-28 22:47:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: watermark -Version: 1.8.1 +Version: 1.8.2 Summary: IPython magic function to print date/time stamps andvarious system information. Home-page: https://github.com/rasbt/watermark Author: Sebastian Raschka