[med-svn] [pymia] 02/02: add debian directory

Gert Wollny gert-guest at moszumanska.debian.org
Wed Dec 4 16:09:28 UTC 2013


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

gert-guest pushed a commit to branch master
in repository pymia.

commit b06d523949e354ff668ebd78e4f9aabd6e22a995
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Wed Dec 4 17:06:39 2013 +0100

    add debian directory
---
 debian/changelog               |  5 +++
 debian/compat                  |  1 +
 debian/control                 | 82 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright               | 27 ++++++++++++++
 debian/files                   |  4 +++
 debian/python-mia-dbg.install  |  1 +
 debian/python-mia.install      |  3 ++
 debian/python3-mia-dbg.install |  1 +
 debian/python3-mia.install     |  2 ++
 debian/rules                   | 53 +++++++++++++++++++++++++++
 debian/source/format           |  1 +
 debian/watch                   | 11 ++++++
 12 files changed, 191 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4fa23c0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pymia (0.1.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #694439)
+
+ -- Gert Wollny <gw.fossdev at gmail.com>  Wed, 04 Dec 2013 13:37:20 +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..974b4a6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,82 @@
+Source: pymia
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Gert Wollny <gw.fossdev at gmail.com>
+Build-Depends: debhelper (>= 9),
+ python-dev,
+ python-all-dbg,
+ python3-dev,
+ python3-all-dbg,
+ python-numpy-dbg (>= 1.6),
+ python3-numpy-dbg (>= 1.6),
+ python-numpy (>= 1.6),
+ python3-numpy (>= 1.6),
+ python-setuptools,
+ python3-setuptools
+Standards-Version: 3.9.4
+Homepage: http://mia.sourceforge.net
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
+Vcs-Git: git://anonscm.debian.org/debian-med/pymia.git
+Vcs-Browser: http://anonscm.debian.org/?p=debian-med/pymia.git;a=summary
+
+Package: python-mia
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, 
+ ${misc:Depends}, 
+ ${python:Depends},
+ python-numpy 
+Description: Python-2 bindings for the MIA image processing library 
+ MIA comprises a set of tools, libraries, and plug-ins for general purpose 
+ 2D and 3D gray scale image processing and basic handling of triangular 
+ meshes. The libraries provide a basic infrastructure and  generic 
+ algorithms, that can be specialized by specifying the apropriate plug-ins.
+ This package provides the Python-2 bindings. 
+
+Package: python-mia-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${shlibs:Depends}, 
+ ${misc:Depends}, 
+ ${python:Depends},
+ python-mia (= ${binary:Version}), 
+ python-numpy 
+Description: Debug information for Python-2 bindings for MIA
+ MIA comprises a set of tools, libraries, and plug-ins for general purpose 
+ 2D and 3D gray scale image processing and basic handling of triangular 
+ meshes. The libraries provide a basic infrastructure and  generic 
+ algorithms, that can be specialized by specifying the apropriate plug-ins.
+ This package provides the Debug information for the Python-2 bindings.
+
+Package: python3-mia
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, 
+ ${misc:Depends}, 
+ ${python:Depends},
+ python3-numpy 
+Description: Python-2 bindings for the MIA image processing library 
+ MIA comprises a set of tools, libraries, and plug-ins for general purpose 
+ 2D and 3D gray scale image processing and basic handling of triangular 
+ meshes. The libraries provide a basic infrastructure and  generic 
+ algorithms, that can be specialized by specifying the apropriate plug-ins.
+ This package provides the Python-3 bindings. 
+
+Package: python3-mia-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${shlibs:Depends}, 
+ ${misc:Depends}, 
+ ${python:Depends},
+ python3-mia (= ${binary:Version}), 
+ python3-numpy 
+Description: Debug information for Python-3 bindings for MIA
+ MIA comprises a set of tools, libraries, and plug-ins for general purpose 
+ 2D and 3D gray scale image processing and basic handling of triangular 
+ meshes. The libraries provide a basic infrastructure and  generic 
+ algorithms, that can be specialized by specifying the apropriate plug-ins.
+ This package provides the Debug information for the Python-3 bindings.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..92ad6f9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Upstream-Name: pymia
+Source: http://mia.sourceforge.net
+
+Files: *
+Copyright: Gert Wollny  <gw.fossdev at gmail.com>
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2012 wollny <gw.fossdev at gmail.com>
+License: GPL-3.0+
+
+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, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ 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 <http://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/files b/debian/files
new file mode 100644
index 0000000..2ffc905
--- /dev/null
+++ b/debian/files
@@ -0,0 +1,4 @@
+python-mia_0.1.4-1_amd64.deb python optional
+python-mia-dbg_0.1.4-1_amd64.deb debug extra
+python3-mia_0.1.4-1_amd64.deb python optional
+python3-mia-dbg_0.1.4-1_amd64.deb debug extra
diff --git a/debian/python-mia-dbg.install b/debian/python-mia-dbg.install
new file mode 100644
index 0000000..e3b1e17
--- /dev/null
+++ b/debian/python-mia-dbg.install
@@ -0,0 +1 @@
+usr/lib/python2.*/*-packages/mia_d.so
diff --git a/debian/python-mia.install b/debian/python-mia.install
new file mode 100644
index 0000000..9411874
--- /dev/null
+++ b/debian/python-mia.install
@@ -0,0 +1,3 @@
+usr/lib/python2.*/*-packages/mia.so
+usr/lib/python2.*/*-packages/*.egg-info
+
diff --git a/debian/python3-mia-dbg.install b/debian/python3-mia-dbg.install
new file mode 100644
index 0000000..c7a8528
--- /dev/null
+++ b/debian/python3-mia-dbg.install
@@ -0,0 +1 @@
+usr/lib/python3*/*-packages/*dm.so
\ No newline at end of file
diff --git a/debian/python3-mia.install b/debian/python3-mia.install
new file mode 100644
index 0000000..69ec51c
--- /dev/null
+++ b/debian/python3-mia.install
@@ -0,0 +1,2 @@
+usr/lib/python3*/*-packages/*.egg-info
+usr/lib/python3*/*-packages/*m.so
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f79a898
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+PACKAGE_DIR=$(CURDIR)/debian/python$(if $(patsubst 3.%,,$(1)),,3)-mia
+INSTALL_DIR=$(CURDIR)/debian/tmp/
+PYTHON2=$(shell pyversions -vr)
+PYTHON3=$(shell py3versions -vr)
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+DEB_CXXFLAGS_MAINT_STRIP=-O2
+DEB_CXXFLAGS_MAINT_APPEND=-O0
+endif
+
+%:
+	dh $@ --with python2,python3
+
+
+override_dh_auto_build:
+	dh_auto_build --buildsystem=python_distutils
+	set -e; \
+	for python in $(PYTHON3); do \
+		python$$python setup.py build; \
+		python$$python-dbg setup.py build; \
+	done
+
+override_dh_auto_install:
+	set -e; \
+	for python in $(PYTHON2); do \
+	        python$$python setup.py install --install-layout=deb --root=$(INSTALL_DIR); \
+	done
+	set -e; \
+	for python in $(PYTHON2); do \
+	        python$$python-dbg setup.py install --install-layout=deb --root=$(INSTALL_DIR); \
+	done
+	set -e; \
+        for python in $(PYTHON3); do \
+	        python$$python setup.py install --install-layout=deb --root=$(INSTALL_DIR); \
+	done
+	set -e; \
+	for python in $(PYTHON3); do \
+	        python$$python-dbg setup.py install --install-layout=deb --root=$(INSTALL_DIR); \
+	done
+	dh_numpy
+	dh_numpy3
+
+
+override_dh_strip:
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+	dh_strip -ppython-mia --dbg-package=python-mia-dbg
+	dh_strip -ppython3-mia --dbg-package=python3-mia-dbg
+endif
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/watch b/debian/watch
new file mode 100644
index 0000000..3124d77
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,11 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+http://sf.net/mia/pymia-(.*)\.tar\.gz
+

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/pymia.git



More information about the debian-med-commit mailing list