[sagemath] 03/03: Install .pxd and other data files into the right place

Ximin Luo infinity0 at debian.org
Sun Oct 16 20:52:43 UTC 2016


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit 9aa6956070480c462b4c872be3d8a0e16e0c28df
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sun Oct 16 22:38:01 2016 +0200

    Install .pxd and other data files into the right place
---
 debian/patches/fixsage-allow-override-sage-local.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/fixsage-allow-override-sage-local.patch b/debian/patches/fixsage-allow-override-sage-local.patch
index d2f472f..c9ed409 100644
--- a/debian/patches/fixsage-allow-override-sage-local.patch
+++ b/debian/patches/fixsage-allow-override-sage-local.patch
@@ -93,3 +93,14 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
          SAGE_INST=${ac_abs_top_builddir}/local/var/lib/sage/installed
          for d in "$SAGE_LOGS" "$SAGE_LOCAL" \
              "$SAGE_LOCAL/bin" "$SAGE_LOCAL/etc" \
+--- a/sage/src/setup.py
++++ b/sage/src/setup.py
+@@ -615,7 +615,7 @@
+ python_packages, python_modules = find_python_sources(
+     SAGE_SRC, ['sage', 'sage_setup'])
+ python_data_files = find_extra_files(python_packages,
+-    ".", SAGE_CYTHONIZED, SAGE_LIB, ["ntlwrap.cpp"])
++    ".", SAGE_CYTHONIZED, os.path.relpath(SAGE_LIB, SAGE_LOCAL), ["ntlwrap.cpp"])
+ 
+ print('python_packages = {0}'.format(python_packages))
+ print('python_modules = {0}'.format(python_modules))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list