Hello community,
here is the log from the commit of package python-colormap for openSUSE:Factory
checked in at 2020-03-16 10:19:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-colormap (Old)
and /work/SRC/openSUSE:Factory/.python-colormap.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-colormap"
Mon Mar 16 10:19:19 2020 rev:4 rq:785219 version:1.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-colormap/python-colormap.changes
2019-07-26 17:33:26.868108162 +0200
+++
/work/SRC/openSUSE:Factory/.python-colormap.new.3160/python-colormap.changes
2020-03-16 10:20:13.359633287 +0100
@@ -1,0 +2,12 @@
+Sat Mar 14 15:59:25 UTC 2020 - Arun Persaud <[email protected]>
+
+- specfile:
+ * update copyright year
+ * be more specific in files section
+
+- update to version 1.0.3:
+ * doc update
+ * small fixes
+ * fixed travis CI
+
+-------------------------------------------------------------------
Old:
----
colormap-1.0.2.tar.gz
New:
----
colormap-1.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-colormap.spec ++++++
--- /var/tmp/diff_new_pack.fb7Jrz/_old 2020-03-16 10:20:16.979634761 +0100
+++ /var/tmp/diff_new_pack.fb7Jrz/_new 2020-03-16 10:20:16.979634761 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-colormap
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,25 @@
# 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-%{**}}
Name: python-colormap
-Version: 1.0.2
+Version: 1.0.3
Release: 0
Summary: Utilities to manipulate matplotlib colormaps and color codecs
License: BSD-3-Clause
Group: Development/Languages/Python
-Url: https://github.com/cokelaer/colormap
+URL: https://github.com/cokelaer/colormap
Source:
https://files.pythonhosted.org/packages/source/c/colormap/colormap-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-easydev
+Requires: python-matplotlib
+BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module easydev}
@@ -35,10 +38,6 @@
BuildRequires: %{python_module nose-cov}
BuildRequires: %{python_module nose}
# /SECTION
-Requires: python-easydev
-Requires: python-matplotlib
-BuildArch: noarch
-
%python_subpackages
%description
@@ -61,6 +60,7 @@
%files %{python_files}
%doc README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/colormap
+%{python_sitelib}/colormap-%{version}-py*.egg-info
%changelog
++++++ colormap-1.0.2.tar.gz -> colormap-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/colormap-1.0.2/PKG-INFO new/colormap-1.0.3/PKG-INFO
--- old/colormap-1.0.2/PKG-INFO 2018-12-29 16:15:25.000000000 +0100
+++ new/colormap-1.0.3/PKG-INFO 2020-02-22 11:52:14.000000000 +0100
@@ -1,13 +1,14 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: colormap
-Version: 1.0.2
+Version: 1.0.3
Summary: Utilities to ease manipulation of matplotlib colormaps and color
codecs (e.g., hex2rgb)
-Home-page: ['http://packages.python.org/colormap/']
+Home-page: http://github.com/cokelaer/colormap
Author: Thomas Cokelaer
Author-email: [email protected]
+Maintainer: Thomas Cokelaer
+Maintainer-email: [email protected]
License: LGPL
-Download-URL: ['http://pypi.python.org/pypi/colormap']
-Description-Content-Type: UNKNOWN
+Download-URL: http://pypi.python.org/pypi/colormap
Description: #############################
COLORMAP documentation
#############################
@@ -24,11 +25,8 @@
.. image::
https://coveralls.io/repos/cokelaer/colormap/badge.png?branch=master
:target: https://coveralls.io/r/cokelaer/colormap?branch=master
- .. image::
https://landscape.io/github/cokelaer/colormap/master/landscape.png
- :target: https://landscape.io/github/cokelaer/colormap/master
-
- :version: Python 2.7, 3.3, 3.4, 3.5, 3.6
+ :version: Python 2.7, 3.4, 3.5, 3.6, 3.7
:contributions: Please join https://github.com/cokelaer/colormap
:issues: Please use https://github.com/cokelaer/colormap/issues
:notebook: Please see
https://github.com/cokelaer/colormap/tree/master/notebooks
@@ -97,6 +95,8 @@
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: matplotlib
Requires: easydev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/colormap-1.0.2/README.rst
new/colormap-1.0.3/README.rst
--- old/colormap-1.0.2/README.rst 2018-12-29 15:50:26.000000000 +0100
+++ new/colormap-1.0.3/README.rst 2020-02-22 11:33:22.000000000 +0100
@@ -14,11 +14,8 @@
.. image:: https://coveralls.io/repos/cokelaer/colormap/badge.png?branch=master
:target: https://coveralls.io/r/cokelaer/colormap?branch=master
-.. image:: https://landscape.io/github/cokelaer/colormap/master/landscape.png
- :target: https://landscape.io/github/cokelaer/colormap/master
-
-:version: Python 2.7, 3.3, 3.4, 3.5, 3.6
+:version: Python 2.7, 3.4, 3.5, 3.6, 3.7
:contributions: Please join https://github.com/cokelaer/colormap
:issues: Please use https://github.com/cokelaer/colormap/issues
:notebook: Please see
https://github.com/cokelaer/colormap/tree/master/notebooks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/colormap-1.0.2/setup.cfg new/colormap-1.0.3/setup.cfg
--- old/colormap-1.0.2/setup.cfg 2018-12-29 16:15:25.000000000 +0100
+++ new/colormap-1.0.3/setup.cfg 2020-02-22 11:52:14.000000000 +0100
@@ -9,7 +9,7 @@
all_files = 1
[tool:pytest]
-addopts = --durations=10 --verbose -n 1 --cov fitter --cov-report term-missing
+addopts = --durations=10 --verbose -n 1 --cov colormap --cov-report
term-missing
[egg_info]
tag_build =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/colormap-1.0.2/setup.py new/colormap-1.0.3/setup.py
--- old/colormap-1.0.2/setup.py 2018-12-29 15:54:46.000000000 +0100
+++ new/colormap-1.0.3/setup.py 2020-02-22 11:52:05.000000000 +0100
@@ -7,7 +7,7 @@
_MAJOR = 1
_MINOR = 0
-_MICRO = 2
+_MICRO = 3
version = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
release = '%d.%d' % (_MAJOR, _MINOR)
@@ -15,8 +15,8 @@
'authors': {'Cokelaer':('Thomas Cokelaer','[email protected]')},
'version': version,
'license' : 'LGPL',
- 'download_url' : ['http://pypi.python.org/pypi/colormap'],
- 'url' : ["http://packages.python.org/colormap/"],
+ 'download_url' : 'http://pypi.python.org/pypi/colormap',
+ 'url' : "http://github.com/cokelaer/colormap",
'description':'Utilities to ease manipulation of matplotlib colormaps and
color codecs (e.g., hex2rgb)',
'platforms' : ['Linux', 'Unix', 'MacOsX', 'Windows'],
'keywords' : ["hex2web", "web2hex", "hex2rgb", "rgb2hex", "rgb2hsv",
"hsv2rgb",
@@ -31,6 +31,8 @@
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules'
]
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/colormap-1.0.2/src/colormap/colors.py
new/colormap-1.0.3/src/colormap/colors.py
--- old/colormap-1.0.2/src/colormap/colors.py 2018-12-29 15:46:06.000000000
+0100
+++ new/colormap-1.0.3/src/colormap/colors.py 2020-02-22 11:31:37.000000000
+0100
@@ -270,10 +270,11 @@
def hex2dec(data):
- """convert integer (data) into hexadecimal."""
+ """convert hexadecimal string (data) into a float in the [0-65536]
inclusive range"""
+ if data[0] == '#':
+ data.replace('#', '')
return int(data, 16)/255.
-
def rgb2yuv(r, g, b):
"""Convert RGB triplet into YUV
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/colormap-1.0.2/src/colormap.egg-info/PKG-INFO
new/colormap-1.0.3/src/colormap.egg-info/PKG-INFO
--- old/colormap-1.0.2/src/colormap.egg-info/PKG-INFO 2018-12-29
16:15:25.000000000 +0100
+++ new/colormap-1.0.3/src/colormap.egg-info/PKG-INFO 2020-02-22
11:52:14.000000000 +0100
@@ -1,13 +1,14 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: colormap
-Version: 1.0.2
+Version: 1.0.3
Summary: Utilities to ease manipulation of matplotlib colormaps and color
codecs (e.g., hex2rgb)
-Home-page: ['http://packages.python.org/colormap/']
+Home-page: http://github.com/cokelaer/colormap
Author: Thomas Cokelaer
Author-email: [email protected]
+Maintainer: Thomas Cokelaer
+Maintainer-email: [email protected]
License: LGPL
-Download-URL: ['http://pypi.python.org/pypi/colormap']
-Description-Content-Type: UNKNOWN
+Download-URL: http://pypi.python.org/pypi/colormap
Description: #############################
COLORMAP documentation
#############################
@@ -24,11 +25,8 @@
.. image::
https://coveralls.io/repos/cokelaer/colormap/badge.png?branch=master
:target: https://coveralls.io/r/cokelaer/colormap?branch=master
- .. image::
https://landscape.io/github/cokelaer/colormap/master/landscape.png
- :target: https://landscape.io/github/cokelaer/colormap/master
-
- :version: Python 2.7, 3.3, 3.4, 3.5, 3.6
+ :version: Python 2.7, 3.4, 3.5, 3.6, 3.7
:contributions: Please join https://github.com/cokelaer/colormap
:issues: Please use https://github.com/cokelaer/colormap/issues
:notebook: Please see
https://github.com/cokelaer/colormap/tree/master/notebooks
@@ -97,6 +95,8 @@
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: matplotlib
Requires: easydev