[med-svn] [Git][med-team/python-colormap][master] 4 commits: New upstream version 1.0.4

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



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


Commits:
46ac6018 by Nilesh Patra at 2021-10-21T03:43:42+05:30
New upstream version 1.0.4
- - - - -
d1708cbe by Nilesh Patra at 2021-10-21T03:43:42+05:30
Bump Standards-Version to 4.6.0 (no changes needed)

- - - - -
299e24eb by Nilesh Patra at 2021-10-21T03:43:42+05:30
d/rules: Fix permissions of a few files

- - - - -
011f1ea5 by Nilesh Patra at 2021-10-21T03:43:42+05:30
Upload to unstable

- - - - -


11 changed files:

- PKG-INFO
- README.rst
- debian/changelog
- debian/control
- debian/rules
- 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


=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+python-colormap (1.0.4-1) unstable; urgency=medium
+
+  * Team Upload.
+  * New upstream version 1.0.4
+  * Bump Standards-Version to 4.6.0 (no changes needed)
+  * d/rules: Fix permissions of a few files
+
+ -- Nilesh Patra <nilesh at debian.org>  Thu, 21 Oct 2021 03:33:56 +0530
+
 python-colormap (1.0.3-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -13,7 +13,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-easydev,
                python3-tk <!nocheck>,
                python3-nose <!nocheck>
-Standards-Version: 4.5.0
+Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-colormap
 Vcs-Git: https://salsa.debian.org/med-team/python-colormap.git
 Homepage: https://colormap.readthedocs.io/


=====================================
debian/rules
=====================================
@@ -11,3 +11,7 @@ export MPLCONFIGDIR=$(CURDIR)/debian/matplotlib
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_fixperms:
+	dh_fixperms
+	find debian/ -name PKG-INFO -o -name *.txt | xargs chmod -x


=====================================
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/-/compare/651b9d1881b89cf087a96ba7b685fc3e383fedde...011f1ea5da070a230332bb4adcd10480267ef027

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-colormap/-/compare/651b9d1881b89cf087a96ba7b685fc3e383fedde...011f1ea5da070a230332bb4adcd10480267ef027
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/e4dec3c0/attachment-0001.htm>


More information about the debian-med-commit mailing list