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

Nilesh Patra gitlab at salsa.debian.org
Wed Sep 23 11:12:36 BST 2020



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


Commits:
ab694f25 by Nilesh Patra at 2020-09-23T15:38:14+05:30
New upstream version 1.0.3
- - - - -


6 changed files:

- PKG-INFO
- README.rst
- setup.cfg
- setup.py
- src/colormap.egg-info/PKG-INFO
- src/colormap/colors.py


Changes:

=====================================
PKG-INFO
=====================================
@@ -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: cokelaer at ebi.ac.uk
+Maintainer: Thomas Cokelaer
+Maintainer-email: cokelaer at ebi.ac.uk
 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 @@ Description: #############################
         .. 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 :: 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: Topic :: Software Development :: Libraries :: Python Modules
 Requires: matplotlib
 Requires: easydev


=====================================
README.rst
=====================================
@@ -14,11 +14,8 @@ Please see : http://colormap.readthedocs.io/ for an up-to-date documentation.
 .. 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


=====================================
setup.cfg
=====================================
@@ -9,7 +9,7 @@ build_dir = doc/build
 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 = 


=====================================
setup.py
=====================================
@@ -7,7 +7,7 @@ import glob
 
 _MAJOR               = 1
 _MINOR               = 0
-_MICRO               = 2
+_MICRO               = 3
 version              = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
 release              = '%d.%d' % (_MAJOR, _MINOR)
 
@@ -15,8 +15,8 @@ metainfo = {
     'authors': {'Cokelaer':('Thomas Cokelaer','cokelaer at ebi.ac.uk')},
     '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 @@ metainfo = {
           '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'
           ]
     }


=====================================
src/colormap.egg-info/PKG-INFO
=====================================
@@ -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: cokelaer at ebi.ac.uk
+Maintainer: Thomas Cokelaer
+Maintainer-email: cokelaer at ebi.ac.uk
 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 @@ Description: #############################
         .. 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 :: 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: Topic :: Software Development :: Libraries :: Python Modules
 Requires: matplotlib
 Requires: easydev


=====================================
src/colormap/colors.py
=====================================
@@ -270,10 +270,11 @@ def hls2rgb(h, l, s, normalised=True):
 
 
 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
 



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

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-colormap/-/commit/ab694f25342f2a98f562e94ff098c781c11628b3
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/20200923/a6baf590/attachment-0001.html>


More information about the debian-med-commit mailing list