Hello community,
here is the log from the commit of package python-pydenticon for
openSUSE:Factory checked in at 2019-06-01 09:45:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydenticon (Old)
and /work/SRC/openSUSE:Factory/.python-pydenticon.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydenticon"
Sat Jun 1 09:45:40 2019 rev:2 rq:705246 version:0.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydenticon/python-pydenticon.changes
2017-08-12 20:25:14.924456062 +0200
+++
/work/SRC/openSUSE:Factory/.python-pydenticon.new.5148/python-pydenticon.changes
2019-06-01 09:45:47.863400119 +0200
@@ -1,0 +2,7 @@
+Mon May 20 15:32:34 UTC 2019 - [email protected]
+
+- version update to 0.3.1
+ * Minor bug-fixes.
+- run tests
+
+-------------------------------------------------------------------
Old:
----
pydenticon-0.3.tar.gz
New:
----
pydenticon-0.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pydenticon.spec ++++++
--- /var/tmp/diff_new_pack.S3foAO/_old 2019-06-01 09:45:49.527399551 +0200
+++ /var/tmp/diff_new_pack.S3foAO/_new 2019-06-01 09:45:49.531399550 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pydenticon
#
-# Copyright (c) 2017 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
@@ -12,14 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname pydenticon
Name: python-%{modname}
-Version: 0.3
+Version: 0.3.1
Release: 0
Summary: Library for generating identicons
License: BSD-3-Clause
@@ -29,6 +29,9 @@
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module base}
BuildRequires: %{python_module setuptools}
+# SECTION test requirements
+BuildRequires: %{python_module mock}
+# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -62,9 +65,13 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{modname}
+%check
+%python_exec setup.py test
+
%files %{python_files}
%defattr(-,root,root,-)
-%doc README.rst LICENSE
+%doc README.rst
+%license LICENSE
%{python_sitelib}/*
%changelog
++++++ pydenticon-0.3.tar.gz -> pydenticon-0.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydenticon-0.3/PKG-INFO new/pydenticon-0.3.1/PKG-INFO
--- old/pydenticon-0.3/PKG-INFO 2016-12-03 15:26:49.000000000 +0100
+++ new/pydenticon-0.3.1/PKG-INFO 2017-09-04 14:50:58.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pydenticon
-Version: 0.3
+Version: 0.3.1
Summary: Library for generating identicons. Port of Sigil
(https://github.com/cupcake/sigil) with enhancements.
Home-page: https://github.com/azaghal/pydenticon
Author: Branko Majic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydenticon-0.3/docs/conf.py
new/pydenticon-0.3.1/docs/conf.py
--- old/pydenticon-0.3/docs/conf.py 2016-12-03 15:26:31.000000000 +0100
+++ new/pydenticon-0.3.1/docs/conf.py 2017-09-04 14:50:57.000000000 +0200
@@ -49,9 +49,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.3'
+version = '0.3.1'
# The full version, including alpha/beta/rc tags.
-release = '0.3'
+release = '0.3.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydenticon-0.3/docs/releasenotes.rst
new/pydenticon-0.3.1/docs/releasenotes.rst
--- old/pydenticon-0.3/docs/releasenotes.rst 2016-12-03 15:26:31.000000000
+0100
+++ new/pydenticon-0.3.1/docs/releasenotes.rst 2017-09-04 14:41:01.000000000
+0200
@@ -1,6 +1,16 @@
Release Notes
=============
+0.3.1
+-----
+
+Minor bug-fixes.
+
+Bug fixes:
+
+* `PYD-8 - Cannot generate identicons in JPEG format when using Pillow >= 4.2.0
+ <https://projects.majic.rs/pydenticon/issues/PYD-8>`_
+
0.3
---
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydenticon-0.3/pydenticon/__init__.py
new/pydenticon-0.3.1/pydenticon/__init__.py
--- old/pydenticon-0.3/pydenticon/__init__.py 2016-12-03 15:26:31.000000000
+0100
+++ new/pydenticon-0.3.1/pydenticon/__init__.py 2017-09-03 14:17:12.000000000
+0200
@@ -246,6 +246,9 @@
# Set-up a stream where image will be saved.
stream = BytesIO()
+ if image_format.upper() == "JPEG":
+ image = image.convert(mode="RGB")
+
# Save the image to stream.
try:
image.save(stream, format=image_format, optimize=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydenticon-0.3/pydenticon.egg-info/PKG-INFO
new/pydenticon-0.3.1/pydenticon.egg-info/PKG-INFO
--- old/pydenticon-0.3/pydenticon.egg-info/PKG-INFO 2016-12-03
15:26:49.000000000 +0100
+++ new/pydenticon-0.3.1/pydenticon.egg-info/PKG-INFO 2017-09-04
14:50:58.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pydenticon
-Version: 0.3
+Version: 0.3.1
Summary: Library for generating identicons. Port of Sigil
(https://github.com/cupcake/sigil) with enhancements.
Home-page: https://github.com/azaghal/pydenticon
Author: Branko Majic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pydenticon-0.3/setup.py new/pydenticon-0.3.1/setup.py
--- old/pydenticon-0.3/setup.py 2016-12-03 15:26:31.000000000 +0100
+++ new/pydenticon-0.3.1/setup.py 2017-09-04 14:50:57.000000000 +0200
@@ -10,7 +10,7 @@
setup(
name='pydenticon',
- version='0.3',
+ version='0.3.1',
packages=['pydenticon'],
include_package_data=True,
license='BSD', # example license