[sagemath] 01/01: Fix installation of sagelib to debian/build.
Tobias Hansen
thansen at moszumanska.debian.org
Wed Oct 26 00:46:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch sage-7.4
in repository sagemath.
commit 1a396d51645eef5bdc7903096db2bb0d289c51f3
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date: Tue Oct 25 23:27:36 2016 +0000
Fix installation of sagelib to debian/build.
---
debian/patches/debian-install-paths.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/patches/debian-install-paths.patch b/debian/patches/debian-install-paths.patch
index aa61e9d..12ae6ee 100644
--- a/debian/patches/debian-install-paths.patch
+++ b/debian/patches/debian-install-paths.patch
@@ -253,3 +253,14 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
if os.path.lexists(static_dir):
if os.path.isdir(static_dir) and not os.path.islink(static_dir):
shutil.rmtree(static_dir)
+--- a/sage/src/Makefile.in
++++ b/sage/src/Makefile.in
+@@ -40,7 +40,7 @@
+ SAGE_BUILD_DIR=/doesnotexist \
+ SAGE_PKGS=$(abs_top_srcdir)/build/pkgs \
+ SAGE_CYTHONIZED=$(abs_builddir)/build/cythonized \
+- && python -u setup.py build install)
++ && python -u setup.py build install --root ../../debian/build --install-layout deb -O2)
+
+ clean:
+ @echo "Deleting Sage library build artifacts..."
--
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