[med-svn] [python-colormap] 02/05: Initial packaging

Afif Elghraoui afif at moszumanska.debian.org
Thu Oct 19 01:22:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository python-colormap.

commit 66da87ad1c79a2bfa0feda8563d42d2853930a8e
Author: Afif Elghraoui <afif at debian.org>
Date:   Wed Oct 18 21:09:22 2017 -0400

    Initial packaging
---
 debian/changelog               |  5 ++++
 debian/compat                  |  1 +
 debian/control                 | 62 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright               | 60 ++++++++++++++++++++++++++++++++++++++++
 debian/matplotlib/matplotlibrc |  2 ++
 debian/rules                   | 13 +++++++++
 debian/source/format           |  1 +
 debian/source/options          |  1 +
 debian/watch                   |  5 ++++
 9 files changed, 150 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9c61e4f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-colormap (1.0.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #878963)
+
+ -- Afif Elghraoui <afif at debian.org>  Tue, 17 Oct 2017 23:43:50 -0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..874ab0f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,62 @@
+Source: python-colormap
+Section: python
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Afif Elghraoui <afif at debian.org>
+Build-Depends:
+	debhelper (>= 10),
+	dh-python,
+	python-all,
+	python-setuptools,
+	python-matplotlib,
+	python-numpy,
+	python-easydev,
+	python3-all,
+	python3-setuptools,
+	python3-matplotlib,
+	python3-numpy,
+	python3-easydev,
+	python-tk <!notest>,
+	python-nose <!notest>,
+	python3-tk <!notest>,
+	python3-nose <!notest>,
+Standards-Version: 4.1.1
+Homepage: https://colormap.readthedocs.io/
+Vcs-Git: https://anonscm.debian.org/git/debian-med/python-colormap.git
+Vcs-Browser: https://anonscm.debian.org/git/debian-med/python-colormap.git
+
+Package: python-colormap
+Architecture: all
+Depends:
+	${python:Depends},
+	${misc:Depends},
+# not sure why these didn't get added by dh-python
+	python-matplotlib,
+	python-numpy,
+	python-easydev,
+Description: ease manipulation of matplotlib colormaps and color codecs (Python 2)
+ The colormap package provides simple utilities to convert colors between RGB,
+ HEX, HLS, HUV and a class to easily build colormaps for matplotlib. All
+ matplotlib colormaps and some R colormaps are available altogether. The
+ plot_colormap method (see below) is handy to quickly pick up a colormaps and
+ the test_colormap is useful to see test a new colormap.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-colormap
+Architecture: all
+Depends:
+	${python3:Depends},
+	${misc:Depends},
+# not sure why these didn't get added by dh-python
+	python3-matplotlib,
+	python3-numpy,
+	python3-easydev,
+Description: ease manipulation of matplotlib colormaps and color codecs (Python 3)
+ The colormap package provides simple utilities to convert colors between RGB,
+ HEX, HLS, HUV and a class to easily build colormaps for matplotlib. All
+ matplotlib colormaps and some R colormaps are available altogether. The
+ plot_colormap method (see below) is handy to quickly pick up a colormaps and
+ the test_colormap is useful to see test a new colormap.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a30847b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,60 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: colormap
+Source: https://pypi.python.org/pypi/colormap
+
+Files: *
+Copyright: 2014 Thomas Cokelaer <cokelaer at gmail.com>
+License: BSD-3-Clause/colormap
+
+Files:
+	src/colormap/colors.py
+	src/colormap/__init__.py
+	src/colormap/xfree86.py
+	src/colormap/get_cmap.py
+Copyright: 2011-2014 Thomas Cokelaer <cokelaer at gmail.com>
+License: GPL-3.0
+
+Files: debian/*
+Copyright: 2017 Afif Elghraoui <afif at debian.org>
+License: GPL-3.0
+
+License: BSD-3-Clause/colormap
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of colormap nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
+ A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE HOLDERS OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: GPL-3.0
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/matplotlib/matplotlibrc b/debian/matplotlib/matplotlibrc
new file mode 100644
index 0000000..69a4d96
--- /dev/null
+++ b/debian/matplotlib/matplotlibrc
@@ -0,0 +1,2 @@
+# headless graphics
+backend: Agg
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f843269
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export LC_ALL=C.UTF-8
+
+export PYBUILD_NAME=colormap
+
+export NOSE_VERBOSE=2
+
+# headless graphics when running tests
+export MPLCONFIGDIR=$(CURDIR)/debian/matplotlib
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9907826
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+
+# pypi.debian.net appears to be down.
+# there are no tags in the github repository <https://github.com/cokelaer/colormap>
+# https://pypi.debian.net/python-colormap/python-colormap-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-colormap.git



More information about the debian-med-commit mailing list