[med-svn] [Git][med-team/python-colormap][upstream] New upstream version 1.0.4

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Wed Oct 20 23:24:00 BST 2021



Nilesh Patra pushed to branch upstream at Debian Med / python-colormap


Commits:
c825eb84 by Nilesh Patra at 2021-10-21T03:33:10+05:30
New upstream version 1.0.4
- - - - -


8 changed files:

- PKG-INFO
- README.rst
- setup.py
- src/colormap.egg-info/PKG-INFO
- src/colormap.egg-info/SOURCES.txt
- src/colormap.egg-info/dependency_links.txt
- src/colormap.egg-info/top_level.txt
- src/colormap/get_cmap.py


Changes:

=====================================
PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: colormap
-Version: 1.0.3
+Version: 1.0.4
 Summary: Utilities to ease manipulation of matplotlib colormaps and color codecs (e.g., hex2rgb)
 Home-page: http://github.com/cokelaer/colormap
 Author: Thomas Cokelaer
@@ -19,14 +19,14 @@ Description: #############################
         .. image:: https://badge.fury.io/py/colormap.svg
             :target: https://pypi.python.org/pypi/colormap
         
-        .. image:: https://secure.travis-ci.org/cokelaer/colormap.png
-            :target: http://travis-ci.org/cokelaer/colormap
-        
+        .. image:: https://github.com/cokelaer/colormap/actions/workflows/ci.yml/badge.svg?branch=master
+            :target: https://github.com/cokelaer/colormap/actions/workflows/ci.yml
+            
         .. image:: https://coveralls.io/repos/cokelaer/colormap/badge.png?branch=master
             :target: https://coveralls.io/r/cokelaer/colormap?branch=master
         
         
-        :version: Python 2.7, 3.4, 3.5, 3.6, 3.7
+        :version: Python  3.6, 3.7, 3.8, 3.9
         :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
@@ -91,12 +91,10 @@ Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Science/Research
 Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.7
-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: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Requires: matplotlib
 Requires: easydev


=====================================
README.rst
=====================================
@@ -8,14 +8,14 @@ Please see : http://colormap.readthedocs.io/ for an up-to-date documentation.
 .. image:: https://badge.fury.io/py/colormap.svg
     :target: https://pypi.python.org/pypi/colormap
 
-.. image:: https://secure.travis-ci.org/cokelaer/colormap.png
-    :target: http://travis-ci.org/cokelaer/colormap
-
+.. image:: https://github.com/cokelaer/colormap/actions/workflows/ci.yml/badge.svg?branch=master
+    :target: https://github.com/cokelaer/colormap/actions/workflows/ci.yml
+    
 .. image:: https://coveralls.io/repos/cokelaer/colormap/badge.png?branch=master
     :target: https://coveralls.io/r/cokelaer/colormap?branch=master
 
 
-:version: Python 2.7, 3.4, 3.5, 3.6, 3.7
+:version: Python  3.6, 3.7, 3.8, 3.9
 :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


=====================================
setup.py
=====================================
@@ -7,7 +7,7 @@ import glob
 
 _MAJOR               = 1
 _MINOR               = 0
-_MICRO               = 3
+_MICRO               = 4
 version              = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
 release              = '%d.%d' % (_MAJOR, _MINOR)
 
@@ -27,12 +27,10 @@ metainfo = {
           'Intended Audience :: Science/Research',
           'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
           'Operating System :: OS Independent',
-          'Programming Language :: Python :: 2.7',
-          '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',
+          'Programming Language :: Python :: 3.8',
+          'Programming Language :: Python :: 3.9',
           'Topic :: Software Development :: Libraries :: Python Modules'
           ]
     }


=====================================
src/colormap.egg-info/PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: colormap
-Version: 1.0.3
+Version: 1.0.4
 Summary: Utilities to ease manipulation of matplotlib colormaps and color codecs (e.g., hex2rgb)
 Home-page: http://github.com/cokelaer/colormap
 Author: Thomas Cokelaer
@@ -19,14 +19,14 @@ Description: #############################
         .. image:: https://badge.fury.io/py/colormap.svg
             :target: https://pypi.python.org/pypi/colormap
         
-        .. image:: https://secure.travis-ci.org/cokelaer/colormap.png
-            :target: http://travis-ci.org/cokelaer/colormap
-        
+        .. image:: https://github.com/cokelaer/colormap/actions/workflows/ci.yml/badge.svg?branch=master
+            :target: https://github.com/cokelaer/colormap/actions/workflows/ci.yml
+            
         .. image:: https://coveralls.io/repos/cokelaer/colormap/badge.png?branch=master
             :target: https://coveralls.io/r/cokelaer/colormap?branch=master
         
         
-        :version: Python 2.7, 3.4, 3.5, 3.6, 3.7
+        :version: Python  3.6, 3.7, 3.8, 3.9
         :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
@@ -91,12 +91,10 @@ Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: Science/Research
 Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.7
-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: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Requires: matplotlib
 Requires: easydev


=====================================
src/colormap.egg-info/SOURCES.txt
=====================================


=====================================
src/colormap.egg-info/dependency_links.txt
=====================================


=====================================
src/colormap.egg-info/top_level.txt
=====================================


=====================================
src/colormap/get_cmap.py
=====================================
@@ -32,6 +32,14 @@ def cmap_builder(name, name2=None, name3=None):
 
     """
     c = Colormap()
+
+    # if the colormap is already a colormap, nothing to do
+    try:
+        name.get_bad()
+        return name
+    except AttributeError:
+        pass
+
     # an R colormap
     if name and name2 and name3:
         return c.cmap_linear(name, name2, name3)



View it on GitLab: https://salsa.debian.org/med-team/python-colormap/-/commit/c825eb840c08404c286221f7713e94377fb3eabf

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-colormap/-/commit/c825eb840c08404c286221f7713e94377fb3eabf
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211020/94104ade/attachment-0001.htm>


More information about the debian-med-commit mailing list