[hdf-compass] 01/02: Initial debianization.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Jul 17 11:07:44 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository hdf-compass.

commit b3da2894c1719d54f2279103e1551fb80e3e450a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Jun 15 16:40:14 2016 +0100

    Initial debianization.
---
 debian/changelog                         |  5 ++
 debian/clean                             |  1 +
 debian/compat                            |  1 +
 debian/control                           | 60 +++++++++++++++++++
 debian/copyright                         | 98 ++++++++++++++++++++++++++++++++
 debian/gbp.conf                          |  9 +++
 debian/hdf-compass-doc.doc-base          |  9 +++
 debian/hdf-compass-doc.docs              |  1 +
 debian/hdf-compass-doc.examples          |  1 +
 debian/hdf-compass-doc.lintian-overrides |  2 +
 debian/hdf-compass.install               |  3 +
 debian/hdf-compass.lintian-overrides     |  4 ++
 debian/hdf-compass.manpages              |  1 +
 debian/pydist-overrides                  |  1 +
 debian/python-hdf-compass.install        |  1 +
 debian/rules                             | 35 ++++++++++++
 debian/source/format                     |  1 +
 debian/upstream/metadata                 |  5 ++
 debian/watch                             |  3 +
 19 files changed, 241 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..92a58e3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+hdf-compass (0.6.0-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #812434)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Thu, 02 Jun 2016 11:57:42 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..45149aa
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+*.egg-info/*
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..6e8cd5d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,60 @@
+Source: hdf-compass
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: science
+Testsuite: autopkgtest-pkg-python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               icoutils,
+               python-all,
+               python-h5py,
+               python-setuptools,
+               python-sphinx,
+               python-wheel
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/hdf-compass.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/hdf-compass.git
+Homepage: https://www.hdfgroup.org/projects/compass/
+
+Package: hdf-compass
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+         python-hdf-compass (= ${binary:Version})
+Suggests: hdf-compass-doc
+Description: viewer for HDF5 and related formats
+ HDF Compass is an experimental viewer program for HDF5 and related formats,
+ designed to complement other more complex applications like HDFView. Strong
+ emphasis is placed on clean minimal design, and maximum extensibility through
+ a plugin system for new formats.
+ .
+ This package provides the HDF Compass application.
+
+Package: hdf-compass-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Description: documentation and examples for the HDF Compass
+ HDF Compass is an experimental viewer program for HDF5 and related formats,
+ designed to complement other more complex applications like HDFView. Strong
+ emphasis is placed on clean minimal design, and maximum extensibility through
+ a plugin system for new formats.
+ .
+ This package provides the documentation and examples for the HDF Compass
+ application.
+
+Package: python-hdf-compass
+Architecture: all
+Section: python
+Depends: ${misc:Depends},
+         ${python:Depends}
+Description: public modules for the HDF Compass
+ HDF Compass is an experimental viewer program for HDF5 and related formats,
+ designed to complement other more complex applications like HDFView. Strong
+ emphasis is placed on clean minimal design, and maximum extensibility through
+ a plugin system for new formats.
+ .
+ This package provides the public modules used by the HDF Compass application
+ and third-party plugins.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3564b39
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,98 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hdf-compass
+Upstream-Contact: The HDF Group <help at hdfgroup.org>
+Source: https://pypi.python.org/pypi/hdf_compass/
+
+Files: *
+Copyright: 2014-2015 The HDF Group
+License: BSD-HDF-Group
+
+Files: debian/*
+Copyright: 2016 Ghislain Antony Vaillant <ghisvail at gmail.com>
+License: BSD-3-Clause
+
+Files: hdf_compass/compass_viewer/icons/*
+Copyright: 2007-2009 KDE Oxygen project
+License: LGPL-3
+
+Files: hdf_compass/compass_viewer/icons/favicon*.png
+ HDFCompass.icns
+ HDFCompass.ico
+Copyright: Ben Fleming <mediadesign.deviantart.com>
+License: Permissive
+
+Files: hdf_compass/compass_viewer/icons/logo.png
+Copyright: Heliosphere Research LLC
+License: BSD-HDF-Group
+
+License: BSD-3-Clause
+ 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 the copyright holder 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 COPYRIGHT HOLDER 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: BSD-HDF-Group
+ Redistribution and use in source and binary forms, with or without 
+ modification, are permitted for any purpose (including commercial purposes) 
+ 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 materials provided with the distribution.
+ .
+ 3. In addition, redistributions of modified forms of the source or binary 
+    code must carry prominent notices stating that the original code was 
+    changed and the date of the change.
+ .
+ 4. All publications or advertising materials mentioning features or use of 
+    this software are asked, but not required, to acknowledge that it was 
+    developed by The HDF Group and credit the contributors.
+ .
+ 5. Neither the name of The HDF Group, nor the name of any Contributor may 
+    be used to endorse or promote products derived from this software 
+    without specific prior written permission from The HDF Group or the 
+    Contributor, respectively.
+ .
+ DISCLAIMER: 
+ THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS 
+ "AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED.  In no 
+ event shall The HDF Group or the Contributors be liable for any damages 
+ suffered by the users arising out of the use of this software, even if 
+ advised of the possibility of such damage.
+
+License: LGPL-3
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; version 3 of the License.
+ .
+ On Debian systems, the complete text of version 3 of the GNU Lesser
+ General Public License can be found in `/usr/share/common-licenses/LGPL-3'.
+
+License: Permissive
+ These icons are now available for commercial use!
+ You don't have to ask permission to use them, however it would be nice
+ if you could inform me that you're using them, and what you're using 
+ them for.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..ea5c858
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,9 @@
+[DEFAULT]
+upstream-branch = upstream/latest
+debian-branch = debian/master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+
+[pq]
+patch-numbers = False
diff --git a/debian/hdf-compass-doc.doc-base b/debian/hdf-compass-doc.doc-base
new file mode 100644
index 0000000..77ef927
--- /dev/null
+++ b/debian/hdf-compass-doc.doc-base
@@ -0,0 +1,9 @@
+Document: hdf-compass-doc
+Title: HDF Compass Documentation
+Author: HDF Group
+Abstract: This is the reference documentation for the HDF Compass.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/hdf-compass-doc/html/index.html
+Files: /usr/share/doc/hdf-compass-doc/html/*.html
diff --git a/debian/hdf-compass-doc.docs b/debian/hdf-compass-doc.docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/hdf-compass-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/hdf-compass-doc.examples b/debian/hdf-compass-doc.examples
new file mode 100644
index 0000000..60baa9c
--- /dev/null
+++ b/debian/hdf-compass-doc.examples
@@ -0,0 +1 @@
+data/*
diff --git a/debian/hdf-compass-doc.lintian-overrides b/debian/hdf-compass-doc.lintian-overrides
new file mode 100644
index 0000000..7f7e4d4
--- /dev/null
+++ b/debian/hdf-compass-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# False positive due to docs/license.rst.
+extra-license-file usr/share/doc/hdf-compass-doc/html/_sources/license.txt
diff --git a/debian/hdf-compass.install b/debian/hdf-compass.install
new file mode 100644
index 0000000..b45f536
--- /dev/null
+++ b/debian/hdf-compass.install
@@ -0,0 +1,3 @@
+build/HDFCompass.desktop usr/share/applications
+build/HDFCompass.png usr/share/icons/hicolor/256x256/apps
+usr/bin
diff --git a/debian/hdf-compass.lintian-overrides b/debian/hdf-compass.lintian-overrides
new file mode 100644
index 0000000..d11692f
--- /dev/null
+++ b/debian/hdf-compass.lintian-overrides
@@ -0,0 +1,4 @@
+# The manpage is generated by sphinx.
+# Some formatting errors are yet to be addressed upstream, see:
+# https://github.com/HDFGroup/hdf-compass/issues/171
+manpage-has-errors-from-man
diff --git a/debian/hdf-compass.manpages b/debian/hdf-compass.manpages
new file mode 100644
index 0000000..b19f8c8
--- /dev/null
+++ b/debian/hdf-compass.manpages
@@ -0,0 +1 @@
+build/man/*
diff --git a/debian/pydist-overrides b/debian/pydist-overrides
new file mode 100644
index 0000000..84cfd2b
--- /dev/null
+++ b/debian/pydist-overrides
@@ -0,0 +1 @@
+wxpython python-wxgtk3.0
diff --git a/debian/python-hdf-compass.install b/debian/python-hdf-compass.install
new file mode 100644
index 0000000..607c065
--- /dev/null
+++ b/debian/python-hdf-compass.install
@@ -0,0 +1 @@
+usr/lib/python*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fe713e7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	# Generate documentation and manpages.
+	PYTHONPATH=. http_proxy='127.0.0.1:9' \
+		sphinx-build -N -b html docs build/html
+	PYTHONPATH=. http_proxy='127.0.0.1:9' \
+		sphinx-build -N -b man docs build/man
+	mv build/man/hdfcompass.1 build/man/HDFCompass.1
+	# Correct and stage desktop file.
+	sed 's/\r//g' HDFCompass.desktop > build/HDFCompass.desktop
+	# Generate application icon.
+	icotool -x HDFCompass.ico -w 256 -o build/HDFCompass.png
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="{interpreter} -m unittest \
+		hdf_compass.array_model.test \
+		hdf_compass.asc_model.test \
+		hdf_compass.filesystem_model.test \
+		hdf_compass.hdf5_model.test" \
+		dh_auto_test
+
+override_dh_install:
+	dh_install --exclude=license.txt
+
+override_dh_compress:
+	dh_compress --exclude=examples
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..1f2a849
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Bug-Database: https://github.com/HDFGroup/hdf-compass/issues
+Bug-Submit: https://github.com/HDFGroup/hdf-compass/issues/new
+Name: hdf-compass
+Repository: git at github.com:HDFGroup/hdf-compass.git
+Repository-Browse: https://github.com/HDFGroup/hdf-compass
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..22522f0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/hdf_compass/hdf_compass-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-compass.git



More information about the debian-science-commits mailing list