[SCM] Packaging for ViTables branch, master, updated. debian/2.1-1-5-gda7e233
Picca Frédéric-Emma?==?UTF-8?Q?nuel
picca at debian.org
Fri Feb 24 19:57:04 UTC 2012
The following commit has been merged in the master branch:
commit dd5d5ecd0edb8cc8e0ff95421ba943ac0382c523
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date: Sat Dec 3 18:46:22 2011 +0100
!fix sphinxdoc installation
diff --git a/debian/changelog b/debian/changelog
index e87f8e4..63e9525 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-vitables (2.1-2) unstable; urgency=low
+vitables (2.1-2) UNRELEASED; urgency=low
* use dh_sphinxdoc (>= 1.0.7+dfsg)
* upstream hosting changed, update the relevant files.
diff --git a/debian/control b/debian/control
index fbb1e84..c9ed030 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,11 @@ Uploaders: Dmitrijs Ledkovs <dmitrij.ledkov at gmail.com>,
Picca Frédéric-Emmanuel <picca at debian.org>
Build-Depends: debhelper (>= 8),
python (>= 2.6.6-3~),
- python-sphinx (>= 1.0.7+dfsg)
+ python-sphinx (>= 1.0.7+dfsg),
+ texlive-latex-base,
+ texlive-latex-recommended,
+ texlive-latex-extra,
+ texlive-fonts-recommended
Standards-Version: 3.9.2
Homepage: http://vitables.org/
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/vitables.git
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..5afa010
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/share/vitables/vitables/htmldocs usr/share/doc/vitables/html
\ No newline at end of file
diff --git a/debian/patches/0001-do-not-remove-the-_spurces-from-the-documentation.patch b/debian/patches/0001-do-not-remove-the-_spurces-from-the-documentation.patch
new file mode 100644
index 0000000..768e1ef
--- /dev/null
+++ b/debian/patches/0001-do-not-remove-the-_spurces-from-the-documentation.patch
@@ -0,0 +1,23 @@
+From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca at debian.org>
+Date: Sat, 3 Dec 2011 18:34:22 +0100
+Subject: do not remove the _spurces from the documentation
+
+---
+ setup.py | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 9da2401..cfa0e02 100644
+--- a/setup.py
++++ b/setup.py
+@@ -99,7 +99,8 @@ if sphinx_found:
+ if not os.access(output_dir, os.F_OK):
+ # Include the HTML guide and the license in the package
+ copy_tree(os.path.join(self.build_dir,"html"), output_dir)
+- shutil.rmtree(os.path.join(output_dir,"_sources"))
++ # do not remove _sources on Debian it breaks dh_sphinxdoc
++ #shutil.rmtree(os.path.join(output_dir,"_sources"))
+ copy_file('LICENSE.html', output_dir)
+ copy_file(os.path.join(builder_latex_dir,
+ "UsersGuide.pdf"), "doc")
+--
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..466537e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-do-not-remove-the-_spurces-from-the-documentation.patch
diff --git a/debian/rules b/debian/rules
index 1914a37..8c862ea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,17 @@
%:
dh $@ --with python2 --with sphinxdoc
+override_dh_clean:
+ dh_clean
+ -rm -rf build
+ -rm -f doc/index.rst
+
+override_dh_auto_build:
+ dh_auto_build -- build_sphinx
+
+override_dh_sphinxdoc:
+ dh_sphinxdoc usr/share/vitables/vitables/htmldocs
+
override_dh_auto_install:
dh_auto_install -- --install-lib=/usr/share/vitables \
--install-scripts=/usr/share/vitables
--
Packaging for ViTables
More information about the debian-science-commits
mailing list