[vistrails] 02/06: Debian 2.1.1-1
Alastair McKinstry
mckinstry at moszumanska.debian.org
Mon Jun 8 14:37:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch master
in repository vistrails.
commit 2d6d94908e2b7d74dd08ff468d9edad3ff07f805
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon Jun 8 14:04:01 2015 +0100
Debian 2.1.1-1
---
debian/changelog | 28 ++++++
debian/compat | 1 +
debian/control | 23 +++++
debian/copyright | 26 ++++++
debian/patches/indent_fixes.patch | 178 ++++++++++++++++++++++++++++++++++++++
debian/patches/paths.patch | 19 ++++
debian/patches/run.patch | 15 ++++
debian/patches/series | 3 +
debian/rules | 24 +++++
debian/source/format | 1 +
debian/source/options | 1 +
debian/vistrails.dirs | 3 +
debian/vistrails.docs | 5 ++
debian/vistrails.examples | 1 +
debian/vistrails.install | 4 +
15 files changed, 332 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2fa0142
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,28 @@
+vistrails (2.1.1-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #728986.
+ * Standards-Version: 3.9.5
+ * Now at DH_COMPAT=9
+ * Now use dh-python not python-support
+ * Patches needed to prevent auto-installing packages, fix paths for files.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 16 May 2014 16:09:29 +0100
+
+vistrails (2.0.alpha~1-3) unstable; urgency=low
+
+ * Make vistrails Architecture: all. Closes: #654910.
+ * Add build-dep on python-support. Closes: 652288.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Sun, 29 Jan 2012 15:37:24 +0000
+
+vistrails (2.0.alpha~1-2) unstable; urgency=low
+
+ * Add runtime dependency on python-qt4-gl. Closes: #644355
+
+ -- Alastair McKinstry <mckinstry at debian.org> Wed, 05 Oct 2011 10:13:32 +0100
+
+vistrails (2.0.alpha~1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #644096)
+
+ -- Alastair McKinstry <mckinstry at debian.org> Tue, 04 Oct 2011 11:09:27 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5c706a5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: vistrails
+Section: science
+Priority: extra
+Maintainer: Alastair McKinstry <mckinstry at debian.org>
+Build-Depends: debhelper (>= 9), python-all-dev, python-numpy
+Standards-Version: 3.9.5
+Homepage: http://www.vistrails.org/index.php/Main_Page
+
+Package: vistrails
+Section: science
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-numpy, python-scipy, python-qt4, python-matplotlib, python-suds, python-sip, python-vtk, python-qt4-gl, python-qt4-sql
+Description: Science visualisation workflow toolkit
+ VisTrails is an open-source scientific workflow and provenance management
+ system developed at the University of Utah that provides support for
+ data exploration and visualization. Whereas workflows have been traditionally
+ used to automate repetitive tasks, for applications that are exploratory
+ in nature, such as simulations, data analysis and visualization, very little
+ is repeated---change is the norm. As an engineer or scientist generates and
+ evaluates hypotheses about data under study, a series of different, albeit
+ related, workflows are created while a workflow is adjusted in an interactive
+ process. VisTrails was designed to manage these rapidly-evolving workflows.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6eee675
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+VisTrails is distributed under the "Modified BSD License".
+
+Copyright (c) 2006-2011, University of Utah.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * 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.
+ * Neither the name of the University of Utah 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 COPYRIGHT HOLDER 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.
diff --git a/debian/patches/indent_fixes.patch b/debian/patches/indent_fixes.patch
new file mode 100644
index 0000000..77b596d
--- /dev/null
+++ b/debian/patches/indent_fixes.patch
@@ -0,0 +1,178 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Fix indentation, which broke on install.
+Last-Updated: 2014-05-14
+Forwarded: no
+
+Index: vistrails-2.1.1/contrib/cdat/scripts/cdatwindow_init_inc.py
+===================================================================
+--- vistrails-2.1.1.orig/contrib/cdat/scripts/cdatwindow_init_inc.py
++++ vistrails-2.1.1/contrib/cdat/scripts/cdatwindow_init_inc.py
+@@ -1,85 +1,85 @@
+
+- ##########################################################################
+- # included from cdatwindow_init_inc.py
+- #display = sip.unwrapinstance(QtGui.QX11Info.display())
+- #vcs._vcs.setdisplay(display)
+-
+- #cdat GUI modules
+- global cdatWindow
+- cdatWindow = QCDATWindow()
+- cdatWindow.show()
+-
+- reg.add_module(CDATCell,namespace='cdat')
+- reg.add_input_port(CDATCell, 'slab1',
+- (TransientVariable, "variable to be plotted"))
+- reg.add_input_port(CDATCell, 'slab2',
+- (TransientVariable, "variable to be plotted"))
+- reg.add_input_port(CDATCell, 'plotType',
+- (core.modules.basic_modules.String, "Plot type"))
+- reg.add_input_port(CDATCell, 'template',
+- (core.modules.basic_modules.String, "template name"))
+- reg.add_input_port(CDATCell, 'gmName',
+- (core.modules.basic_modules.String, "graphics method name"))
+- reg.add_input_port(CDATCell, 'canvas',
+- (Canvas, "Canvas object"))
+- reg.add_input_port(CDATCell, 'col',
+- (core.modules.basic_modules.Integer, "Cell Col"))
+- reg.add_input_port(CDATCell, 'row',
+- (core.modules.basic_modules.Integer, "Cell Row"))
+- reg.add_input_port(CDATCell, 'continents',
+- (core.modules.basic_modules.Integer,
+- "continents type number"), True)
+-
+- reg.add_module(Variable, namespace='cdat')
+- reg.add_module(Quickplot, namespace='cdat')
+- reg.add_input_port(Variable, 'id',
+- (core.modules.basic_modules.String,
+- ""))
+- reg.add_input_port(Variable, 'type',
+- (core.modules.basic_modules.String,
+- "variable, axis, or weighted-axis"))
+- reg.add_input_port(Variable, 'inputVariable',
+- (core.modules.basic_modules.List,
+- ""))
+- reg.add_output_port(Variable, 'variable',
+- (get_late_type('cdms2.tvariable.TransientVariable'),
+- ""))
+- reg.add_input_port(Variable, 'axes',
+- (core.modules.basic_modules.String, "Axes of variables"))
+- reg.add_input_port(Variable, 'axesOperations',
+- (core.modules.basic_modules.String, "Axes Operations"))
+- reg.add_input_port(Variable, 'cdmsfile',
+- (CdmsFile, "cdmsfile"))
+-
+- reg.add_module(GraphicsMethod, namespace='cdat')
+- reg.add_input_port(GraphicsMethod, 'gmName',
+- (core.modules.basic_modules.String,
+- "Get the graphics method object of the given name."))
+- reg.add_input_port(GraphicsMethod, 'plotType',
+- (core.modules.basic_modules.String, "Plot type"))
+- reg.add_input_port(GraphicsMethod, 'slab1',
+- (get_late_type('cdms2.tvariable.TransientVariable'),
+- "slab1"))
+- reg.add_input_port(GraphicsMethod, 'slab2',
+- (get_late_type('cdms2.tvariable.TransientVariable'),
+- "slab2"))
+- reg.add_input_port(GraphicsMethod, 'color_1',
+- (core.modules.basic_modules.Integer, "color_1"), True)
+- reg.add_input_port(GraphicsMethod, 'color_2',
+- (core.modules.basic_modules.Integer, "color_2"), True)
+- reg.add_input_port(GraphicsMethod, 'level_1',
+- (core.modules.basic_modules.Float, "level_1"), True)
+- reg.add_input_port(GraphicsMethod, 'level_2',
+- (core.modules.basic_modules.Float, "level_2"), True)
+- reg.add_output_port(GraphicsMethod, 'slab1',
+- (get_late_type('cdms2.tvariable.TransientVariable'),
+- "slab1"))
+- reg.add_output_port(GraphicsMethod, 'slab2',
+- (get_late_type('cdms2.tvariable.TransientVariable'),
+- "slab2"))
+- reg.add_output_port(GraphicsMethod, 'canvas', (Canvas, "Canvas object"))
+-
+- # end of cdatwindow_init_inc.py
+- ##########################################################################
++##########################################################################
++# included from cdatwindow_init_inc.py
++#display = sip.unwrapinstance(QtGui.QX11Info.display())
++#vcs._vcs.setdisplay(display)
++
++#cdat GUI modules
++global cdatWindow
++cdatWindow = QCDATWindow()
++cdatWindow.show()
++
++reg.add_module(CDATCell,namespace='cdat')
++reg.add_input_port(CDATCell, 'slab1',
++ (TransientVariable, "variable to be plotted"))
++reg.add_input_port(CDATCell, 'slab2',
++ (TransientVariable, "variable to be plotted"))
++reg.add_input_port(CDATCell, 'plotType',
++ (core.modules.basic_modules.String, "Plot type"))
++reg.add_input_port(CDATCell, 'template',
++ (core.modules.basic_modules.String, "template name"))
++reg.add_input_port(CDATCell, 'gmName',
++ (core.modules.basic_modules.String, "graphics method name"))
++reg.add_input_port(CDATCell, 'canvas',
++ (Canvas, "Canvas object"))
++reg.add_input_port(CDATCell, 'col',
++ (core.modules.basic_modules.Integer, "Cell Col"))
++reg.add_input_port(CDATCell, 'row',
++ (core.modules.basic_modules.Integer, "Cell Row"))
++reg.add_input_port(CDATCell, 'continents',
++ (core.modules.basic_modules.Integer,
++ "continents type number"), True)
++
++reg.add_module(Variable, namespace='cdat')
++reg.add_module(Quickplot, namespace='cdat')
++reg.add_input_port(Variable, 'id',
++ (core.modules.basic_modules.String,
++ ""))
++reg.add_input_port(Variable, 'type',
++ (core.modules.basic_modules.String,
++ "variable, axis, or weighted-axis"))
++reg.add_input_port(Variable, 'inputVariable',
++ (core.modules.basic_modules.List,
++ ""))
++reg.add_output_port(Variable, 'variable',
++ (get_late_type('cdms2.tvariable.TransientVariable'),
++ ""))
++reg.add_input_port(Variable, 'axes',
++ (core.modules.basic_modules.String, "Axes of variables"))
++reg.add_input_port(Variable, 'axesOperations',
++ (core.modules.basic_modules.String, "Axes Operations"))
++reg.add_input_port(Variable, 'cdmsfile',
++ (CdmsFile, "cdmsfile"))
++
++reg.add_module(GraphicsMethod, namespace='cdat')
++reg.add_input_port(GraphicsMethod, 'gmName',
++ (core.modules.basic_modules.String,
++ "Get the graphics method object of the given name."))
++reg.add_input_port(GraphicsMethod, 'plotType',
++ (core.modules.basic_modules.String, "Plot type"))
++reg.add_input_port(GraphicsMethod, 'slab1',
++ (get_late_type('cdms2.tvariable.TransientVariable'),
++ "slab1"))
++reg.add_input_port(GraphicsMethod, 'slab2',
++ (get_late_type('cdms2.tvariable.TransientVariable'),
++ "slab2"))
++reg.add_input_port(GraphicsMethod, 'color_1',
++ (core.modules.basic_modules.Integer, "color_1"), True)
++reg.add_input_port(GraphicsMethod, 'color_2',
++ (core.modules.basic_modules.Integer, "color_2"), True)
++reg.add_input_port(GraphicsMethod, 'level_1',
++ (core.modules.basic_modules.Float, "level_1"), True)
++reg.add_input_port(GraphicsMethod, 'level_2',
++ (core.modules.basic_modules.Float, "level_2"), True)
++reg.add_output_port(GraphicsMethod, 'slab1',
++ (get_late_type('cdms2.tvariable.TransientVariable'),
++ "slab1"))
++reg.add_output_port(GraphicsMethod, 'slab2',
++ (get_late_type('cdms2.tvariable.TransientVariable'),
++ "slab2"))
++reg.add_output_port(GraphicsMethod, 'canvas', (Canvas, "Canvas object"))
++
++# end of cdatwindow_init_inc.py
++##########################################################################
++
+
+-
diff --git a/debian/patches/paths.patch b/debian/patches/paths.patch
new file mode 100644
index 0000000..4e304aa
--- /dev/null
+++ b/debian/patches/paths.patch
@@ -0,0 +1,19 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Search in the correct locations for stuff on Debian.
+Last-Updated: 2014-05-16
+Forwarded: not-needed
+
+Index: vistrails-2.1.1/vistrails/core/system/__init__.py
+===================================================================
+--- vistrails-2.1.1.orig/vistrails/core/system/__init__.py
++++ vistrails-2.1.1/vistrails/core/system/__init__.py
+@@ -121,7 +121,8 @@ if systemType in ['Darwin'] and not os.p
+ __fileDir = os.path.realpath(os.path.join(__rootDir,
+ '/'.join(['..']*6),'examples'))
+
+-__examplesDir = __fileDir
++# Examples directory on Debian.
++__examplesDir = '/usr/share/doc/vistrails/examples'
+
+ __defaultFileType = '.vt'
+
diff --git a/debian/patches/run.patch b/debian/patches/run.patch
new file mode 100644
index 0000000..90fc7a3
--- /dev/null
+++ b/debian/patches/run.patch
@@ -0,0 +1,15 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Standardize the install of vistrails for packaging.
+ Don't call apt, etc. in distribution packages.
+Forwarded: not-needed
+Last-Updated: 2014-04-06
+
+Index: vistrails-2.1.1/vistrails/run.py
+===================================================================
+--- vistrails-2.1.1.orig/vistrails/run.py 2014-04-05 00:17:37.000000000 +0100
++++ vistrails-2.1.1/vistrails/run.py 2014-04-05 02:25:55.061984526 +0100
+@@ -1,3 +1,4 @@
++#!/usr/bin/python2.7
+ ###############################################################################
+ ##
+ ## Copyright (C) 2011-2014, NYU-Poly.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a40e270
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+paths.patch
+indent_fixes.patch
+run.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5824075
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+# export DH_VERBOSE=1
+
+# The magic debhelper rule:
+%:
+ dh $@ --with python2
+
+override_dh_compress:
+ dh_compress -X.vt -X.py
+
+override_dh_auto_install:
+ dh_auto_install
+ dh_install
+ mkdir -p debian/vistrails/usr/lib/python2.7/dist-packages/vistrails
+ cp -a vistrails/* debian/vistrails/usr/lib/python2.7/dist-packages/vistrails
+ mv debian/vistrails/usr/lib/python2.7/dist-packages/vistrails/run.py debian/vistrails/usr/bin/vistrails
+ # Move the images to a more normal location.
+ mkdir -p debian/vistrails/usr/share/vistrails/resources
+ mv debian/vistrails/usr/lib/python2.7/dist-packages/vistrails/gui/resources/images debian/vistrails/usr/share/vistrails/resources/images
+ # Symlinks to the right places.
+ dh_link -p vistrails /usr/share/vistrails/resources/images /usr/lib/python2.7/dist-packages/vistrails/gui/resources/images
+ find debian/vistrails -type f -exec chmod 644 {} \;
+ dh_numpy
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..b7bc1f2
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+compression = "xz"
diff --git a/debian/vistrails.dirs b/debian/vistrails.dirs
new file mode 100644
index 0000000..6bf422d
--- /dev/null
+++ b/debian/vistrails.dirs
@@ -0,0 +1,3 @@
+/usr/bin
+/usr/share/pyshared/vistrails
+/usr/share/vistrails/contrib
diff --git a/debian/vistrails.docs b/debian/vistrails.docs
new file mode 100644
index 0000000..1e73100
--- /dev/null
+++ b/debian/vistrails.docs
@@ -0,0 +1,5 @@
+doc/*
+RELEASE
+README.md
+LICENSE
+contrib/* contrib
diff --git a/debian/vistrails.examples b/debian/vistrails.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/vistrails.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/vistrails.install b/debian/vistrails.install
new file mode 100644
index 0000000..d325dcb
--- /dev/null
+++ b/debian/vistrails.install
@@ -0,0 +1,4 @@
+contrib/* usr/share/vistrails/contrib
+scripts/* usr/share/vistrails/scripts
+extensions/mediawiki/* usr/share/mediawiki/extensions/vistrails
+data/* usr/share/vistrails/data
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vistrails.git
More information about the debian-science-commits
mailing list