Hello community,
here is the log from the commit of package python-palettable for
openSUSE:Factory checked in at 2019-07-23 22:56:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-palettable (Old)
and /work/SRC/openSUSE:Factory/.python-palettable.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-palettable"
Tue Jul 23 22:56:22 2019 rev:3 rq:717998 version:3.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-palettable/python-palettable.changes
2019-01-08 12:28:23.728277611 +0100
+++
/work/SRC/openSUSE:Factory/.python-palettable.new.4126/python-palettable.changes
2019-07-23 22:56:23.478171377 +0200
@@ -1,0 +2,7 @@
+Tue Jul 23 20:20:37 UTC 2019 - Todd R <[email protected]>
+
+- Update to 3.2.0
+ * Light & Bartlein palettes
+ * Drop official support for Python 2.6 and 3.3
+
+-------------------------------------------------------------------
Old:
----
palettable-3.1.1.tar.gz
New:
----
palettable-3.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-palettable.spec ++++++
--- /var/tmp/diff_new_pack.FO2SAt/_old 2019-07-23 22:56:23.894171143 +0200
+++ /var/tmp/diff_new_pack.FO2SAt/_new 2019-07-23 22:56:23.894171143 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-palettable
#
-# 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
@@ -19,14 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-palettable
-Version: 3.1.1
+Version: 3.2.0
Release: 0
Summary: Color palettes for Python
License: MIT
Group: Development/Languages/Python
Url: https://jiffyclub.github.io/palettable/
Source:
https://files.pythonhosted.org/packages/source/p/palettable/palettable-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
++++++ palettable-3.1.1.tar.gz -> palettable-3.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/palettable-3.1.1/PKG-INFO
new/palettable-3.2.0/PKG-INFO
--- old/palettable-3.1.1/PKG-INFO 2018-05-14 16:54:51.000000000 +0200
+++ new/palettable-3.2.0/PKG-INFO 2019-07-12 01:24:45.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: palettable
-Version: 3.1.1
+Version: 3.2.0
Summary: Color palettes for Python
Home-page: https://jiffyclub.github.io/palettable/
Author: Matt Davis
@@ -40,11 +40,10 @@
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-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 :: Scientific/Engineering :: Visualization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/palettable-3.1.1/license.txt
new/palettable-3.2.0/license.txt
--- old/palettable-3.1.1/license.txt 2015-03-04 07:18:35.000000000 +0100
+++ new/palettable-3.2.0/license.txt 2019-07-12 01:03:53.000000000 +0200
@@ -1,5 +1,5 @@
palettable
-Copyright (c) 2012 Matt Davis
+Copyright (c) 2019 Matt Davis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software
and associated documentation files (the "Software"), to deal in the Software
without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/palettable-3.1.1/palettable/__init__.py
new/palettable-3.2.0/palettable/__init__.py
--- old/palettable-3.1.1/palettable/__init__.py 2018-05-14 16:54:02.000000000
+0200
+++ new/palettable-3.2.0/palettable/__init__.py 2019-07-12 01:23:46.000000000
+0200
@@ -10,9 +10,10 @@
from . import cartocolors
from . import colorbrewer
from . import cubehelix
+from . import lightbartlein
from . import matplotlib
from . import mycarta
from . import wesanderson
from . import tableau
-version = __version__ = '3.1.1'
+version = __version__ = '3.2.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/palettable-3.1.1/palettable/lightbartlein/__init__.py
new/palettable-3.2.0/palettable/lightbartlein/__init__.py
--- old/palettable-3.1.1/palettable/lightbartlein/__init__.py 1970-01-01
01:00:00.000000000 +0100
+++ new/palettable-3.2.0/palettable/lightbartlein/__init__.py 2019-07-12
00:44:07.000000000 +0200
@@ -0,0 +1,3 @@
+from __future__ import absolute_import
+
+from . import diverging, sequential
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/palettable-3.1.1/palettable/lightbartlein/colordata.py
new/palettable-3.2.0/palettable/lightbartlein/colordata.py
--- old/palettable-3.1.1/palettable/lightbartlein/colordata.py 1970-01-01
01:00:00.000000000 +0100
+++ new/palettable-3.2.0/palettable/lightbartlein/colordata.py 2019-07-12
00:44:07.000000000 +0200
@@ -0,0 +1,252 @@
+"""
+Color data for Light and Bartlein color maps.
+See more at http://geog.uoregon.edu/datagraphics/color_scales.htm.
+
+"""
+#
+# Diverging Colormaps
+#
+
+_BROWN_TO_BLUE_10 = [
+ [102, 47, 0],
+ [153, 96, 53],
+ [204, 155, 122],
+ [216, 175, 151],
+ [242, 218, 205],
+ [204, 253, 255],
+ [153, 248, 255],
+ [101, 239, 255],
+ [50, 227, 255],
+ [0, 169, 204],
+]
+
+_BROWN_TO_BLUE_12 = [
+ [51, 25, 0],
+ [2, 47, 0],
+ [53, 96, 53],
+ [4, 155, 122],
+ [16, 175, 151],
+ [42, 218, 205],
+ [4, 253, 255],
+ [53, 248, 255],
+ [1, 239, 255],
+ [50, 227, 255],
+ [0, 169, 204],
+ [0, 122, 153],
+]
+
+_BLUE_TO_ORANGE_8 = [
+ [0, 127, 255],
+ [76, 195, 255],
+ [153, 237, 255],
+ [204, 255, 255],
+ [255, 255, 204],
+ [255, 238, 153],
+ [255, 195, 76],
+ [255, 127, 0],
+]
+
+_BLUE_TO_ORANGE_10 = [
+ [0, 84, 255],
+ [50, 153, 255],
+ [101, 204, 255],
+ [153, 237, 255],
+ [204, 255, 255],
+ [255, 255, 204],
+ [255, 238, 153],
+ [255, 204, 101],
+ [255, 153, 50],
+ [255, 85, 0],
+]
+
+_BLUE_TO_ORANGE_12 = [
+ [0, 42, 255],
+ [25, 101, 255],
+ [50, 153, 255],
+ [153, 237, 255],
+ [101, 204, 255],
+ [204, 255, 255],
+ [255, 255, 204],
+ [255, 238, 153],
+ [255, 204, 101],
+ [255, 153, 50],
+ [255, 102, 25],
+ [255, 42, 0],
+]
+
+_GREEN_TO_MAGENTA = [
+ [0, 80, 0],
+ [0, 134, 0],
+ [0, 187, 0],
+ [0, 241, 0],
+ [80, 255, 80],
+ [134, 255, 134],
+ [187, 255, 187],
+ [255, 255, 255],
+ [255, 241, 255],
+ [255, 187, 255],
+ [255, 134, 255],
+ [255, 80, 255],
+ [241, 0, 241],
+ [187, 0, 187],
+ [134, 0, 134],
+ [80, 0, 80],
+]
+
+_BLUE_TO_DARK_RED_12 = [
+ [41, 10, 216],
+ [38, 77, 255],
+ [63, 160, 255],
+ [114, 217, 255],
+ [170, 247, 255],
+ [224, 255, 255],
+ [255, 255, 191],
+ [255, 224, 153],
+ [255, 173, 114],
+ [247, 109, 94],
+ [216, 38, 50],
+ [165, 0, 33],
+]
+
+_BLUE_TO_DARK_RED_18 = [
+ [36, 0, 216],
+ [24, 28, 247],
+ [40, 87, 255],
+ [61, 135, 255],
+ [86, 176, 255],
+ [117, 211, 255],
+ [153, 234, 255],
+ [188, 249, 255],
+ [234, 255, 255],
+ [255, 255, 234],
+ [255, 241, 188],
+ [255, 214, 153],
+ [255, 172, 117],
+ [255, 120, 86],
+ [255, 61, 61],
+ [247, 39, 53],
+ [216, 21, 47],
+ [165, 0, 33],
+]
+
+_BLUE_TO_DARK_ORANGE_12 = [
+ [30, 142, 153],
+ [81, 195, 204],
+ [153, 249, 255],
+ [178, 252, 255],
+ [204, 254, 255],
+ [229, 255, 255],
+ [255, 229, 204],
+ [255, 202, 153],
+ [255, 173, 101],
+ [255, 142, 50],
+ [204, 88, 0],
+ [153, 63, 0],
+]
+
+_BLUE_TO_DARK_ORANGE_18 = [
+ [0, 102, 102],
+ [0, 153, 153],
+ [0, 204, 204],
+ [0, 255, 255],
+ [51, 255, 255],
+ [101, 255, 255],
+ [153, 255, 255],
+ [178, 255, 255],
+ [203, 255, 255],
+ [229, 255, 255],
+ [255, 229, 203],
+ [255, 202, 153],
+ [255, 173, 101],
+ [255, 142, 51],
+ [255, 110, 0],
+ [204, 85, 0],
+ [153, 61, 0],
+ [102, 39, 0],
+]
+
+_BLUE_TO_GREEN = [
+ [0, 0, 255],
+ [51, 51, 255],
+ [101, 101, 255],
+ [153, 153, 255],
+ [178, 178, 255],
+ [203, 203, 255],
+ [229, 229, 255],
+ [229, 255, 229],
+ [203, 255, 203],
+ [178, 255, 178],
+ [153, 255, 153],
+ [101, 255, 101],
+ [51, 255, 51],
+ [0, 255, 0],
+]
+
+_BLUE_TO_GREY = [
+ [0, 153, 204],
+ [102, 229, 255],
+ [153, 255, 255],
+ [204, 255, 255],
+ [229, 229, 229],
+ [153, 153, 153],
+ [102, 102, 102],
+ [51, 51, 51],
+]
+
+_BLUE_ORANGE_RED = [
+ [7, 90, 255],
+ [50, 118, 255],
+ [89, 144, 255],
+ [140, 178, 255],
+ [191, 212, 255],
+ [229, 238, 255],
+ [247, 249, 255],
+ [255, 255, 204],
+ [255, 255, 153],
+ [255, 255, 0],
+ [255, 204, 0],
+ [255, 153, 0],
+ [255, 102, 0],
+ [255, 0, 0],
+]
+
+_RED_YELLOW_BLUE = [
+ [165, 0, 33],
+ [216, 38, 50],
+ [247, 109, 94],
+ [255, 173, 114],
+ [255, 224, 153],
+ [255, 255, 191],
+ [224, 255, 255],
+ [170, 247, 255],
+ [114, 216, 255],
+ [63, 160, 255],
+ [38, 76, 255],
+]
+
+#
+# Sequential colormaps
+#
+
+_BLUE_7 = [
+ [255, 255, 255],
+ [204, 253, 255],
+ [153, 248, 255],
+ [102, 239, 255],
+ [51, 227, 255],
+ [0, 170, 204],
+ [0, 122, 153],
+]
+
+_BLUE_10 = [
+ [229, 255, 255],
+ [204, 250, 255],
+ [178, 242, 255],
+ [153, 229, 255],
+ [127, 212, 255],
+ [101, 191, 255],
+ [76, 165, 255],
+ [50, 136, 255],
+ [25, 101, 255],
+ [0, 63, 255],
+]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/palettable-3.1.1/palettable/lightbartlein/diverging.py
new/palettable-3.2.0/palettable/lightbartlein/diverging.py
--- old/palettable-3.1.1/palettable/lightbartlein/diverging.py 1970-01-01
01:00:00.000000000 +0100
+++ new/palettable-3.2.0/palettable/lightbartlein/diverging.py 2019-07-12
00:44:07.000000000 +0200
@@ -0,0 +1,66 @@
+from __future__ import absolute_import, print_function
+"""
+Diverging Light & Bartlein palettes as described at
+http://geog.uoregon.edu/datagraphics/color_scales.htm
+
+"""
+import itertools as it
+
+from . import colordata
+from . import lightbartlein
+from .. import utils
+
+_PALETTE_TYPE = 'diverging'
+_NAMES_TO_DATA = {
+ 'BlueDarkOrange12': colordata._BLUE_TO_DARK_ORANGE_12,
+ 'BlueDarkOrange18': colordata._BLUE_TO_DARK_ORANGE_18,
+ 'BlueDarkRed12': colordata._BLUE_TO_DARK_RED_12,
+ 'BlueDarkRed18': colordata._BLUE_TO_DARK_RED_18,
+ 'BlueGreen': colordata._BLUE_TO_GREEN,
+ 'BlueGrey': colordata._BLUE_TO_GREY,
+ 'BlueGray': colordata._BLUE_TO_GREY,
+ 'BlueOrange8': colordata._BLUE_TO_ORANGE_8,
+ 'BlueOrange10': colordata._BLUE_TO_ORANGE_10,
+ 'BlueOrange12': colordata._BLUE_TO_ORANGE_12,
+ 'BlueOrangeRed': colordata._BLUE_ORANGE_RED,
+ 'BrownBlue10': colordata._BROWN_TO_BLUE_10,
+ 'BrownBlue12': colordata._BROWN_TO_BLUE_12,
+ 'GreenMagenta': colordata._GREEN_TO_MAGENTA,
+ 'RedYellowBlue': colordata._RED_YELLOW_BLUE,
+}
+_MAX_LENS = {
+ 'BlueDarkOrange12': 12,
+ 'BlueDarkOrange18': 18,
+ 'BlueDarkRed12': 12,
+ 'BlueDarkRed18': 18,
+ 'BlueGreen': 14,
+ 'BlueGrey': 8,
+ 'BlueGray': 8,
+ 'BlueOrange8': 8,
+ 'BlueOrange10': 10,
+ 'BlueOrange12': 12,
+ 'BlueOrangeRed': 14,
+ 'BrownBlue10': 10,
+ 'BrownBlue12': 12,
+ 'GreenMagenta': 16,
+ 'RedYellowBlue': 11,
+}
+_NAMES_AND_LENGTHS = list(
+ it.chain.from_iterable(
+ utils.make_names_and_lengths([name], range(2, _MAX_LENS[name] + 1))
+ for name in sorted(_NAMES_TO_DATA)
+ )
+)
+
+print_maps = utils.print_maps_factory('diverging Light & Bartlein',
+ _NAMES_AND_LENGTHS,
+ _PALETTE_TYPE)
+
+get_map = utils.get_map_factory('diverging Light & Bartlein',
+ __name__,
+ _NAMES_TO_DATA,
+ _PALETTE_TYPE,
+ lightbartlein.LightBartleinMap,
+ is_evenly_spaced=True)
+
+globals().update(utils.load_all_palettes(_NAMES_AND_LENGTHS, get_map))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/palettable-3.1.1/palettable/lightbartlein/lightbartlein.py
new/palettable-3.2.0/palettable/lightbartlein/lightbartlein.py
--- old/palettable-3.1.1/palettable/lightbartlein/lightbartlein.py
1970-01-01 01:00:00.000000000 +0100
+++ new/palettable-3.2.0/palettable/lightbartlein/lightbartlein.py
2019-07-12 00:44:07.000000000 +0200
@@ -0,0 +1,41 @@
+from __future__ import absolute_import, print_function
+"""
+Light & Bartlein palettes as described at
+http://geog.uoregon.edu/datagraphics/color_scales.htm
+
+"""
+
+from ..palette import Palette
+
+
+class LightBartleinMap(Palette):
+ """
+ Representation of a Light & Bartlein color map with matplotlib compatible
+ views of the map.
+
+ Parameters
+ ----------
+ name : str
+ palette_type : str
+ colors : list
+ Colors as list of 0-255 RGB triplets.
+
+ Attributes
+ ----------
+ name : str
+ type : str
+ number : int
+ Number of colors in color map.
+ colors : list
+ Colors as list of 0-255 RGB triplets.
+ hex_colors : list
+ mpl_colors : list
+ mpl_colormap : matplotlib LinearSegmentedColormap
+ url : str
+ Website with related info.
+
+ """
+ url = 'http://geog.uoregon.edu/datagraphics/color_scales.htm'
+
+ def __init__(self, name, palette_type, colors):
+ super(LightBartleinMap, self).__init__(name, palette_type, colors)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/palettable-3.1.1/palettable/lightbartlein/sequential.py
new/palettable-3.2.0/palettable/lightbartlein/sequential.py
--- old/palettable-3.1.1/palettable/lightbartlein/sequential.py 1970-01-01
01:00:00.000000000 +0100
+++ new/palettable-3.2.0/palettable/lightbartlein/sequential.py 2019-07-12
00:44:07.000000000 +0200
@@ -0,0 +1,40 @@
+from __future__ import absolute_import, print_function
+"""
+Sequential Light & Bartlein palettes as described at
+http://geog.uoregon.edu/datagraphics/color_scales.htm
+
+"""
+import itertools as it
+
+from . import colordata
+from . import lightbartlein
+from .. import utils
+
+_PALETTE_TYPE = 'sequential'
+_NAMES_TO_DATA = {
+ 'Blues7': colordata._BLUE_7,
+ 'Blues10': colordata._BLUE_10,
+}
+_MAX_LENS = {
+ 'Blues7': 7,
+ 'Blues10': 10,
+}
+_NAMES_AND_LENGTHS = list(
+ it.chain.from_iterable(
+ utils.make_names_and_lengths([name], range(2, _MAX_LENS[name] + 1))
+ for name in sorted(_NAMES_TO_DATA)
+ )
+)
+
+print_maps = utils.print_maps_factory('sequential Light & Bartlein',
+ _NAMES_AND_LENGTHS,
+ _PALETTE_TYPE)
+
+get_map = utils.get_map_factory('sequential Light & Bartlein',
+ __name__,
+ _NAMES_TO_DATA,
+ _PALETTE_TYPE,
+ lightbartlein.LightBartleinMap,
+ is_evenly_spaced=True)
+
+globals().update(utils.load_all_palettes(_NAMES_AND_LENGTHS, get_map))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/palettable-3.1.1/palettable.egg-info/PKG-INFO
new/palettable-3.2.0/palettable.egg-info/PKG-INFO
--- old/palettable-3.1.1/palettable.egg-info/PKG-INFO 2018-05-14
16:54:51.000000000 +0200
+++ new/palettable-3.2.0/palettable.egg-info/PKG-INFO 2019-07-12
01:24:44.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: palettable
-Version: 3.1.1
+Version: 3.2.0
Summary: Color palettes for Python
Home-page: https://jiffyclub.github.io/palettable/
Author: Matt Davis
@@ -40,11 +40,10 @@
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-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 :: Scientific/Engineering :: Visualization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/palettable-3.1.1/palettable.egg-info/SOURCES.txt
new/palettable-3.2.0/palettable.egg-info/SOURCES.txt
--- old/palettable-3.1.1/palettable.egg-info/SOURCES.txt 2018-05-14
16:54:51.000000000 +0200
+++ new/palettable-3.2.0/palettable.egg-info/SOURCES.txt 2019-07-12
01:24:44.000000000 +0200
@@ -33,6 +33,11 @@
palettable/colorbrewer/data/colorbrewer_schemes_csv_to_json.py
palettable/cubehelix/__init__.py
palettable/cubehelix/cubehelix.py
+palettable/lightbartlein/__init__.py
+palettable/lightbartlein/colordata.py
+palettable/lightbartlein/diverging.py
+palettable/lightbartlein/lightbartlein.py
+palettable/lightbartlein/sequential.py
palettable/matplotlib/__init__.py
palettable/matplotlib/colormaps.py
palettable/matplotlib/matplotlib.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/palettable-3.1.1/setup.py
new/palettable-3.2.0/setup.py
--- old/palettable-3.1.1/setup.py 2018-05-14 16:54:13.000000000 +0200
+++ new/palettable-3.2.0/setup.py 2019-07-12 01:23:46.000000000 +0200
@@ -8,7 +8,7 @@
setup(
name='palettable',
- version='3.1.1',
+ version='3.2.0',
description=(
'Color palettes for Python'),
long_description=long_description,
@@ -21,11 +21,10 @@
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- '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 :: Scientific/Engineering :: Visualization'])