[sagemath] 01/02: Add dh_python2 to auto-generate some python helper infrastructure
Ximin Luo
infinity0 at debian.org
Tue Oct 18 02:57:00 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 9c0d29791aed1652a45da6f685ae432893616b1e
Author: Ximin Luo <infinity0 at debian.org>
Date: Tue Oct 18 03:39:45 2016 +0200
Add dh_python2 to auto-generate some python helper infrastructure
It will not auto-generate python dependencies however; Sage upstream does not
declare them in a standard pythonic way, so dh_python2 can't detect them.
---
debian/control.in | 5 +++--
debian/rules | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/control.in b/debian/control.in
index cbd4a1e..ada7cae 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -17,6 +17,7 @@ Build-Depends:
cysignals-tools <!nodoc>,
cython (>= 0.24.1),
debhelper (>= 9),
+ dh-python,
dpkg-dev (>= 1.15.7~),
ecl (>= 15.3.7+dfsg1-2),
eclib-tools (>= 20160720-1+sage1),
@@ -193,7 +194,7 @@ Description: Sage: Open Source Mathematical Software
Mathematica and Matlab.
.
This package contains the main Sage installation.
-Depends: ${misc:Depends}, ${shlibs:Depends}, sagemath-common, sagemath-deps
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, sagemath-common, sagemath-deps
# TODO: missing a *lot* of python and other dependencies here
Suggests: sagemath-doc-en
@@ -210,7 +211,7 @@ Description: Sage: Open Source Mathematical Software
Mathematica and Matlab.
.
This package contains the architecture-independent files of Sage.
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
Package: sagemath-deps
Architecture: any
diff --git a/debian/rules b/debian/rules
index 44428b5..ee2ab05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,7 @@ DOCS_INSTALL = $(LANGS:%=debian/sagemath-doc-%.install)
DOCS_CONTROL = $(LANGS:%=debian/sagemath-doc-%.control)
%:
- dh $@ --parallel --with=sphinxdoc
+ dh $@ --parallel --with=python2,sphinxdoc
build: gencontrol
--
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