[xdmf] 10/38: Fix for python install
Alastair McKinstry
mckinstry at moszumanska.debian.org
Thu Apr 13 15:16:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository xdmf.
commit 2b4d110706dfc7eecbb440b8f2d3b6ef119a9c5b
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Sun Apr 3 14:25:50 2016 +0100
Fix for python install
---
debian/changelog | 4 +++-
debian/patches/python-install-dir.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index ad07385..7d7fd8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
-xdmf (2.1.dfsg.1-15) UNRELEASED; urgency=medium
+xdmf (2.1.dfsg.1-15) unstable; urgency=medium
* Fix Typo in depends lib*gz*stream-dev. Closes: 819872
+ * Patch from Katsuhiko Nishimra fixes wrong byte-compiles of python
+ Closes: 819879
-- Alastair McKinstry <mckinstry at debian.org> Sun, 03 Apr 2016 14:18:21 +0100
diff --git a/debian/patches/python-install-dir.patch b/debian/patches/python-install-dir.patch
new file mode 100644
index 0000000..ef8f249
--- /dev/null
+++ b/debian/patches/python-install-dir.patch
@@ -0,0 +1,19 @@
+Author: Katsuhiko Nishimra <ktns.87 at gmail.com>
+Description: Fix install dir that leads to python pyc files in wrong dir.
+Bug-Origin: https://bugs.debian.org/819879
+Forwarded: no
+Last-Updated: 2016-04-03
+
+Index: xdmf-2.1.dfsg.1/libsrc/CMakeLists.txt
+===================================================================
+--- xdmf-2.1.dfsg.1.orig/libsrc/CMakeLists.txt
++++ xdmf-2.1.dfsg.1/libsrc/CMakeLists.txt
+@@ -506,7 +506,7 @@ IF(XDMF_WRAP_PYTHON)
+
+ # Compile Byte Code
+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${Xdmf_SOURCE_DIR}/CMake/CompileXdmfByteCode.py
+- ${CMAKE_INSTALL_PREFIX}/${XDMF_WRAP_PYTHON_INSTALL_PY_DIR})")
++ ${CMAKE_INSTALL_PREFIX}/${XDMF_WRAP_PYTHON_INSTALL_DIR})")
+
+ ENDIF(XDMF_WRAP_PYTHON)
+
diff --git a/debian/patches/series b/debian/patches/series
index 9cc31b2..fd12ad6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ header-fix.patch
reproducible-build.patch
c++11.patch
gzstream.patch
+python-install-dir.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xdmf.git
More information about the debian-science-commits
mailing list