[statsmodels] 01/01: Add sphinx-common to Build-Depends
Diane Trout
diane at moszumanska.debian.org
Fri Sep 29 23:53:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
diane pushed a commit to branch debian
in repository statsmodels.
commit c25fd2e575729097db4c32154890bd20b381b267
Author: Diane Trout <diane at ghic.org>
Date: Fri Sep 29 16:50:12 2017 -0700
Add sphinx-common to Build-Depends
* Team Upload
* add sphinx-common to Build-Depends which fixes a FTBFS caused by
Sphinxdoc.pm not being present when building binary only packages.
* Split dh_auto_build-arch and dh_auto_build-indep targets so we only
build the docs once.
---
debian/changelog | 12 ++++++++++++
debian/control | 1 +
debian/rules | 13 +++++++------
3 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fb3f21e..3ddb141 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+statsmodels (0.8.0-5) unstable; urgency=medium
+
+ * Team Upload
+
+ [ Diane Trout ]
+ * add sphinx-common to Build-Depends which fixes a FTBFS caused by
+ Sphinxdoc.pm not being present when building binary only packages.
+ * Split dh_auto_build-arch and dh_auto_build-indep targets so we only
+ build the docs once.
+
+ -- Diane Trout <diane at ghic.org> Fri, 29 Sep 2017 16:48:20 -0700
+
statsmodels (0.8.0-4) unstable; urgency=medium
* Team upload
diff --git a/debian/control b/debian/control
index ca922ee..e1a2577 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Yaroslav Halchenko <debian at onerussian.com>, Michael Hanke <michael.hanke at gmail.com>
Build-Depends: debhelper (>= 9),
+ sphinx-common,
python-all-dev, python-setuptools,
python-dateutil,
python-numpy (>= 1:1.4.0),
diff --git a/debian/rules b/debian/rules
index 15bd969..7bd8361 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,14 +24,13 @@ endif
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719384
$(HOME):
mkdir "$@"
-
-override_dh_auto_build: $(HOME)
- dh_auto_build
: # Hardcode backend to Agg to avoid doc build and tests failures
echo "backend : Agg" >| $(MPLCONFIGDIR)/matplotlibrc
-# Build docs during build
-override_dh_installdocs:
+override_dh_auto_build-arch: $(HOME)
+ dh_auto_build
+
+override_dh_auto_build-indep: $(HOME)
: # I: Generate documentation
: # Build Documentation -- assure existence of build/html for nodoc
mkdir -p build/html
@@ -50,9 +49,11 @@ ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
| xargs -r sed -i -e 's,https://\S*.com/ajax/libs/require.js/.*/require.min.js,file:///usr/share/javascript/requirejs/require.min.js,g'
grep -l '/jquery/' -R build/html/examples/notebooks \
| xargs -r sed -i -e 's,https://\S*.com/ajax/libs/jquery/.*/jquery.min.js,file:///usr/share/javascript/jquery/jquery.min.js,g'
+endif
+
+override_dh_installdocs:
rm -rf docs/source/generated/
dh_installdocs
-endif
override_dh_auto_clean:
dh_auto_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/statsmodels.git
More information about the debian-science-commits
mailing list