[esys-particle] 03/07: Prevent epydoc from putting timestamp in docs

Anton Gladky gladk at moszumanska.debian.org
Tue Jun 23 22:00:19 UTC 2015


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

gladk pushed a commit to branch master
in repository esys-particle.

commit 6c7087abb81e535c1c81de476e37399bc11c65e5
Author: Anton Gladky <gladk at debian.org>
Date:   Tue Jun 23 20:20:03 2015 +0200

    Prevent epydoc from putting timestamp in docs
---
 debian/control                               |  2 +-
 debian/patches/05_fix_epydoc_timestamp.patch | 16 ++++++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 6ea20ef..257d8f5 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,7 @@ Build-Depends:
  texlive-latex-extra,
  texlive-fonts-recommended,
  texlive-latex-recommended,
- python-epydoc
+ python-epydoc (>= 3.0.1+dfsg-6)
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders:
  Anton Gladky <gladk at debian.org>
diff --git a/debian/patches/05_fix_epydoc_timestamp.patch b/debian/patches/05_fix_epydoc_timestamp.patch
new file mode 100644
index 0000000..7a440f7
--- /dev/null
+++ b/debian/patches/05_fix_epydoc_timestamp.patch
@@ -0,0 +1,16 @@
+Description: Prevent epydoc from putting timestamp in doc.
+ Fix toward reproducible built.
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2015-06-23
+
+--- esys-particle-2.3.3+dfsg1.orig/Python/Makefile.am
++++ esys-particle-2.3.3+dfsg1/Python/Makefile.am
+@@ -43,7 +43,7 @@ install-exec-hook:
+ 	if test -d "$(LSMDATADOCDIR)"; then chmod 755 "$(LSMDATADOCDIR)"; else ${INSTALL} -m 755 -d "$(LSMDATADOCDIR)"; fi; \
+ 	if test -d "$(PYTHONAPIDOCDIR)"; then chmod 755 "$(PYTHONAPIDOCDIR)"; else ${INSTALL} -m 755 -d "$(PYTHONAPIDOCDIR)"; fi; \
+ 	if test -f "$(LSMDIR)/__init__.py"; then cd $(PYTHONAPIDOCDIR) && \
+-		$(EPYDOC_EXE) --verbose --html --no-sourcecode --top "esys.lsm.LsmPy" --css accessBlue.css --name "$(PACKAGE_NAME) $(VERSION)" --url "$(PACKAGE_HOMEPAGE)" `${FIND} $(ESYSDIR) -name *.py` `${FIND} $(ESYSDIR) -name [^lib]*Py$(PYTHON_DLL_EXT)`; fi
++		$(EPYDOC_EXE) --verbose --no-include-build-time --html --no-sourcecode --top "esys.lsm.LsmPy" --css accessBlue.css --name "$(PACKAGE_NAME) $(VERSION)" --url "$(PACKAGE_HOMEPAGE)" `${FIND} $(ESYSDIR) -name *.py` `${FIND} $(ESYSDIR) -name [^lib]*Py$(PYTHON_DLL_EXT)`; fi
+ 
+ uninstall-local:
+ 	if test -d "$(PYTHONAPIDOCDIR)"; then chmod -R +rw "$(PYTHONAPIDOCDIR)" &&\
diff --git a/debian/patches/series b/debian/patches/series
index 435432e..ba69ef1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02_remove_bzr_version.patch
 03_ax-boost.patch
 04_FixDocGeneration.patch
+05_fix_epydoc_timestamp.patch

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



More information about the debian-science-commits mailing list