[med-svn] [odil] 02/02: Add missing python dependecies

Julien Lamy lamy-guest at moszumanska.debian.org
Thu Apr 14 11:01:17 UTC 2016


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

lamy-guest pushed a commit to branch master
in repository odil.

commit d7a7a0e44bf2f1767bbc4f63d296a47f86d00c7f
Author: Julien Lamy <lamy at unistra.fr>
Date:   Thu Apr 14 13:01:08 2016 +0200

    Add missing python dependecies
---
 debian/control | 3 +++
 debian/rules   | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 139ff18..d81c389 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
                d-shlibs,
+               dh-python,
                cmake,
                pkg-config,
                libjsoncpp-dev,
@@ -19,6 +20,7 @@ Build-Depends: debhelper (>= 9),
                libboost-test-dev (>= 1.46.1),
                chrpath,
                dcmtk (>= 3.6.0),
+               python,
                python-nose,
                doxygen,
                graphviz
@@ -26,6 +28,7 @@ Standards-Version: 3.9.7
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/odil.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/odil.git
 Homepage: https://github.com/lamyj/odil
+X-Python-Version: >= 2.7
 
 Package: libodil0
 Architecture: any
diff --git a/debian/rules b/debian/rules
index b448e93..2e370b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
 %:
-	dh $@ --builddirectory=build --parallel
+	dh $@ --builddirectory=build --parallel --with python2
 
 override_dh_auto_build:
 	dh_auto_build
@@ -31,4 +31,3 @@ override_dh_install:
                 --override s/libboost_regex.*-dev/libboost-regex-dev/ \
                 --override s/libboost_system.*-dev/libboost-system-dev/ \
 		debian/tmp/usr/lib/*.so
-

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



More information about the debian-med-commit mailing list