[med-svn] [odil] 05/06: Add python-odil package
Julien Lamy
lamy-guest at moszumanska.debian.org
Wed Apr 13 16:12:55 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 af62e4318b9d6778ee109b8570e06c20e944ec70
Author: Julien Lamy <lamy at unistra.fr>
Date: Wed Apr 13 13:44:03 2016 +0200
Add python-odil package
---
debian/control | 16 ++++++++++++++++
debian/python-odil.install | 1 +
debian/rules | 1 +
3 files changed, 18 insertions(+)
diff --git a/debian/control b/debian/control
index 54a4a37..01a1473 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends: debhelper (>= 9),
libboost-regex-dev,
libboost-python-dev,
libboost-test-dev (>= 1.46.1),
+ chrpath,
dcmtk (>= 3.6.0),
python-nose,
doxygen,
@@ -80,3 +81,18 @@ Description: Odil is a C++11 library for the DICOM standard (documentation)
.
This package contains the documentation files.
+Package: python-odil
+Architecture: any
+Section: python
+Depends: libodil0 (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${python:Depends},
+ ${misc:Depends}
+Description: Odil is a C++11 library for the DICOM standard (Python wrappers)
+ Odil leverages C++ constructs to provide a user-friendly API of the
+ different parts of the DICOM standard. Included in Odil are exception-based
+ error handling, generic access to datasets elements, standard JSON and XML
+ representation of datasets, and generic implementation of messages, clients
+ and servers for the various DICOM protocols.
+ .
+ This package contains the Python wrappers.
diff --git a/debian/python-odil.install b/debian/python-odil.install
new file mode 100644
index 0000000..d55417f
--- /dev/null
+++ b/debian/python-odil.install
@@ -0,0 +1 @@
+build/wrappers/odil.so usr/lib/python2.7/dist-packages/
diff --git a/debian/rules b/debian/rules
index af0641f..b448e93 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,7 @@ override_dh_auto_test:
override_dh_install:
dh_install
+ chrpath -d debian/python-odil/usr/lib/python*/dist-packages/odil.so
d-shlibmove \
--commit --multiarch --exclude-a --exclude-la \
--movedev debian/tmp/usr/include/* usr/include \
--
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