[med-svn] [Git][med-team/python-colormap][master] 9 commits: New upstream version 1.0.3
Nilesh Patra
gitlab at salsa.debian.org
Wed Sep 23 11:12:33 BST 2020
Nilesh Patra pushed to branch master at Debian Med / python-colormap
Commits:
ab694f25 by Nilesh Patra at 2020-09-23T15:38:14+05:30
New upstream version 1.0.3
- - - - -
13fe3b2f by Nilesh Patra at 2020-09-23T15:38:14+05:30
routine-update: New upstream version
- - - - -
0a0c997f by Nilesh Patra at 2020-09-23T15:38:15+05:30
Update upstream source from tag 'upstream/1.0.3'
Update to upstream version '1.0.3'
with Debian dir 20a933eea6cee930e022473eb1f74a36f4a1996f
- - - - -
2764c2ee by Nilesh Patra at 2020-09-23T15:38:15+05:30
routine-update: Standards-Version: 4.5.0
- - - - -
d067a067 by Nilesh Patra at 2020-09-23T15:38:15+05:30
routine-update: debhelper-compat 13
- - - - -
bb4d97a9 by Nilesh Patra at 2020-09-23T15:38:19+05:30
routine-update: Add salsa-ci file
- - - - -
171aba7b by Nilesh Patra at 2020-09-23T15:38:19+05:30
routine-update: Rules-Requires-Root: no
- - - - -
9b5449f8 by Nilesh Patra at 2020-09-23T15:38:20+05:30
Set upstream metadata fields: Bug-Database, Bug-Submit, Repository.
Changes-By: lintian-brush
Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html
- - - - -
651b9d18 by Nilesh Patra at 2020-09-23T15:38:21+05:30
routine-update: Ready to upload to unstable
- - - - -
10 changed files:
- PKG-INFO
- README.rst
- debian/changelog
- debian/control
- + debian/salsa-ci.yml
- debian/upstream/metadata
- 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
=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+python-colormap (1.0.3-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream version
+ * Standards-Version: 4.5.0 (routine-update)
+ * debhelper-compat 13 (routine-update)
+ * Add salsa-ci file (routine-update)
+ * Rules-Requires-Root: no (routine-update)
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository.
+
+ -- Nilesh Patra <npatra974 at gmail.com> Wed, 23 Sep 2020 15:38:21 +0530
+
python-colormap (1.0.2-2) unstable; urgency=medium
* Afif Elghraoui himself from Uploaders
=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Uploaders: Andreas Tille <tille at debian.org>
Section: python
Testsuite: autopkgtest-pkg-python
Priority: optional
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
dh-python,
python3-all,
python3-setuptools,
@@ -13,10 +13,11 @@ Build-Depends: debhelper-compat (= 12),
python3-easydev,
python3-tk <!nocheck>,
python3-nose <!nocheck>
-Standards-Version: 4.4.1
+Standards-Version: 4.5.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/
+Rules-Requires-Root: no
Package: python3-colormap
Architecture: all
=====================================
debian/salsa-ci.yml
=====================================
@@ -0,0 +1,4 @@
+---
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
=====================================
debian/upstream/metadata
=====================================
@@ -1,2 +1,4 @@
-Repository: https://github.com/cokelaer/colormap
+Bug-Database: https://github.com/cokelaer/colormap/issues
+Bug-Submit: https://github.com/cokelaer/colormap/issues/new
+Repository: https://github.com/cokelaer/colormap.git
Repository-Browse: https://github.com/cokelaer/colormap
=====================================
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/-/compare/2cbd25cadfd3b3e3c488572aa50e9df7cd408bd7...651b9d1881b89cf087a96ba7b685fc3e383fedde
--
View it on GitLab: https://salsa.debian.org/med-team/python-colormap/-/compare/2cbd25cadfd3b3e3c488572aa50e9df7cd408bd7...651b9d1881b89cf087a96ba7b685fc3e383fedde
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/b30f7c9b/attachment-0001.html>
More information about the debian-med-commit
mailing list