[med-svn] [odil] 01/01: Fix install of Python files
Julien Lamy
lamy-guest at moszumanska.debian.org
Tue Oct 17 09:42:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
lamy-guest pushed a commit to branch master
in repository odil.
commit 07677409e5afacf5a80bb3a76f2ca4203d19185a
Author: Julien Lamy <lamy at unistra.fr>
Date: Mon Oct 16 17:21:46 2017 +0200
Fix install of Python files
---
debian/changelog | 7 +++++++
debian/control | 2 +-
debian/python-odil.install | 2 +-
debian/python3-odil.install | 2 +-
debian/rules | 5 ++++-
5 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fcdbe58..d80ca44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+odil (0.8.0-4) unstable; urgency=medium
+
+ * Fix install of Python files (Closes: #878426)
+ * Update standards version
+
+ -- Julien Lamy <lamy at unistra.fr> Mon, 16 Oct 2017 13:49:57 +0000
+
odil (0.8.0-3) unstable; urgency=medium
[ Julien Lamy ]
diff --git a/debian/control b/debian/control
index 5d021d3..86ba949 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,7 @@ Build-Depends: debhelper (>= 10),
python-nose,
python3-nose
Build-Depends-Indep: doxygen, graphviz
-Standards-Version: 4.1.0
+Standards-Version: 4.1.1
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
diff --git a/debian/python-odil.install b/debian/python-odil.install
index 435c988..1c8511e 100644
--- a/debian/python-odil.install
+++ b/debian/python-odil.install
@@ -1 +1 @@
-build-py2.7/wrappers/odil.so usr/lib/python2.7/dist-packages/
+build-pyVERSION/wrappers/odil.so usr/lib/pythonVERSION/dist-packages/
diff --git a/debian/python3-odil.install b/debian/python3-odil.install
index 3d870b1..1c8511e 100644
--- a/debian/python3-odil.install
+++ b/debian/python3-odil.install
@@ -1 +1 @@
-build-py3.5/wrappers/odil.so usr/lib/python3.5/dist-packages/
+build-pyVERSION/wrappers/odil.so usr/lib/pythonVERSION/dist-packages/
diff --git a/debian/rules b/debian/rules
index bb5da8f..e856991 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,7 +64,10 @@ override_dh_auto_install-arch:
dh_auto_install
rm build
-override_dh_install-arch:
+override_dh_install-arch-py%:
+ sed -i 's/VERSION/$*/g' debian/python$(shell dpkg --compare-versions $* ge 3 && echo "3")-odil.install
+
+override_dh_install-arch: $(ALLPY:%=override_dh_install-arch-py%)
dh_install
chrpath -d debian/python*-odil/usr/lib/python*/dist-packages/odil*.so
d-shlibmove \
--
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