[hdf-compass] 294/295: Initial debianization.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun May 8 10:35:56 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 ca7cb2a490188df6b55025debd05a2db32934fe5
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sun Jan 24 15:35:33 2016 +0000

    Initial debianization.
---
 debian/changelog                     |  5 ++
 debian/clean                         |  1 +
 debian/compat                        |  1 +
 debian/control                       | 42 +++++++++++++++
 debian/copyright                     | 99 ++++++++++++++++++++++++++++++++++++
 debian/gbp.conf                      |  9 ++++
 debian/hdf-compass.install           |  3 ++
 debian/hdf-compass.lintian-overrides |  1 +
 debian/pydist-overrides              |  1 +
 debian/python-hdf-compass.install    |  1 +
 debian/rules                         | 30 +++++++++++
 debian/source/format                 |  1 +
 debian/upstream/metadata             |  5 ++
 debian/watch                         |  3 ++
 14 files changed, 202 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4cef109
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+hdf-compass (0.6.0b5-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #812434)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Wed, 27 Apr 2016 19:11:26 +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..09b2195
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+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
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               icoutils,
+               python,
+               python-setuptools,
+               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})
+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: 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..4d1f8bb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,99 @@
+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://github.com/HDFGroup/hdf-compass
+
+Files: *
+Copyright: 2014-2015 The HDF Group
+License: BSD-HDF-Group
+
+Files: debian/*
+Copyright: 2016 Ghislain Antony Vaillant
+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
+ hdf_compass/compass_viewer/icons/logo.xcf
+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..f116ecd
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,9 @@
+[DEFAULT]
+upstream-branch = develop
+debian-branch = debian/master
+upstream-tag = v%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+
+[pq]
+patch-numbers = False
diff --git a/debian/hdf-compass.install b/debian/hdf-compass.install
new file mode 100644
index 0000000..d8e6fca
--- /dev/null
+++ b/debian/hdf-compass.install
@@ -0,0 +1,3 @@
+usr/bin/HDFCompass
+HDFCompass.desktop usr/share/applications
+build/icons/* usr/share/icons
diff --git a/debian/hdf-compass.lintian-overrides b/debian/hdf-compass.lintian-overrides
new file mode 100644
index 0000000..61d258a
--- /dev/null
+++ b/debian/hdf-compass.lintian-overrides
@@ -0,0 +1 @@
+binary-without-manpage
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..bbb4919
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_DISABLE=test
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	# Generate application icons.
+	icotool -x HDFCompass.ico
+	mkdir -p build/icons/hicolor/256x256/apps
+	mv HDFCompass_1_256x256x32.png build/icons/hicolor/256x256/apps/HDFCompass.png
+	mkdir -p build/icons/hicolor/48x48/apps
+	mv HDFCompass_2_48x48x32.png build/icons/hicolor/48x48/apps/HDFCompass.png
+	mkdir -p build/icons/hicolor/32x32/apps
+	mv HDFCompass_3_32x32x32.png build/icons/hicolor/32x32/apps/HDFCompass.png
+	mkdir -p build/icons/hicolor/24x24/apps
+	mv HDFCompass_4_24x24x32.png build/icons/hicolor/24x24/apps/HDFCompass.png
+	mkdir -p build/icons/hicolor/16x16/apps
+	mv HDFCompass_5_16x16x32.png build/icons/hicolor/16x16/apps/HDFCompass.png
+
+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..0cfa9fc
--- /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: HDFCompass
+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..f93bf4d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/hdf-compass-$1\.tar\.gz/ \
+https://github.com/HDFGroup/hdf-compass/tags .*/v?(\d\S*)\.tar\.gz

-- 
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