[med-svn] r16549 - trunk/packages/python-biom-format/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Tue Apr 1 07:17:15 UTC 2014
Author: tille
Date: 2014-04-01 07:17:15 +0000 (Tue, 01 Apr 2014)
New Revision: 16549
Added:
trunk/packages/python-biom-format/trunk/debian/doc-base
trunk/packages/python-biom-format/trunk/debian/examples
trunk/packages/python-biom-format/trunk/debian/install
trunk/packages/python-biom-format/trunk/debian/linktrees
Removed:
trunk/packages/python-biom-format/trunk/debian/docs
Modified:
trunk/packages/python-biom-format/trunk/debian/control
trunk/packages/python-biom-format/trunk/debian/copyright
trunk/packages/python-biom-format/trunk/debian/rules
Log:
Provide doc-base input file; use linktrees
Modified: trunk/packages/python-biom-format/trunk/debian/control
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/control 2014-04-01 07:00:52 UTC (rev 16548)
+++ trunk/packages/python-biom-format/trunk/debian/control 2014-04-01 07:17:15 UTC (rev 16549)
@@ -4,6 +4,7 @@
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
+ dh-linktree,
python-all,
python-numpy,
help2man,
Modified: trunk/packages/python-biom-format/trunk/debian/copyright
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/copyright 2014-04-01 07:00:52 UTC (rev 16548)
+++ trunk/packages/python-biom-format/trunk/debian/copyright 2014-04-01 07:17:15 UTC (rev 16549)
@@ -1,7 +1,7 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: biom-format.org
Upstream-Contact: Greg Caporaso <gregcaporaso at gmail.com>
-Source: http://biom-format.org/ -> links to Github download
+Source: https://pypi.python.org/pypi/biom-format/
Files-Excluded:
doc/_build
Added: trunk/packages/python-biom-format/trunk/debian/doc-base
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/doc-base (rev 0)
+++ trunk/packages/python-biom-format/trunk/debian/doc-base 2014-04-01 07:17:15 UTC (rev 16549)
@@ -0,0 +1,14 @@
+Document: python-biom-format
+Title: The Biological Observation Matrix (BIOM) format
+Author: Greg Caporaso <gregcaporaso at gmail.com>
+Abstract: Biological Observation Matrix (BIOM) format
+ The BIOM file format (canonically pronounced biome) is designed to be a
+ general-use format for representing biological sample by observation
+ contingency tables. BIOM is a recognized standard for the Earth
+ Microbiome Project and is a Genomics Standards Consortium candidate
+ project.
+Section: Science/Biology
+
+Format: html
+Index: /usr/share/doc/python-biom-format/html/index.html
+Files: /usr/share/doc/python-biom-format/html/
Deleted: trunk/packages/python-biom-format/trunk/debian/docs
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/docs 2014-04-01 07:00:52 UTC (rev 16548)
+++ trunk/packages/python-biom-format/trunk/debian/docs 2014-04-01 07:17:15 UTC (rev 16549)
@@ -1,2 +0,0 @@
-examples
-doc/_build/singlehtml
Added: trunk/packages/python-biom-format/trunk/debian/examples
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/examples (rev 0)
+++ trunk/packages/python-biom-format/trunk/debian/examples 2014-04-01 07:17:15 UTC (rev 16549)
@@ -0,0 +1 @@
+examples/*
Added: trunk/packages/python-biom-format/trunk/debian/install
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/install (rev 0)
+++ trunk/packages/python-biom-format/trunk/debian/install 2014-04-01 07:17:15 UTC (rev 16549)
@@ -0,0 +1 @@
+doc/_build/singlehtml/* usr/share/doc/python-biom-format/html
Added: trunk/packages/python-biom-format/trunk/debian/linktrees
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/linktrees (rev 0)
+++ trunk/packages/python-biom-format/trunk/debian/linktrees 2014-04-01 07:17:15 UTC (rev 16549)
@@ -0,0 +1,4 @@
+replace usr/share/sphinx/themes/basic/static/doctools.js usr/share/doc/python-biom-format/html/_static/doctools.js
+replace usr/share/sphinx/themes/basic/static/jquery.js usr/share/doc/python-biom-format/html/_static/jquery.js
+replace usr/share/sphinx/themes/basic/static/underscore.js usr/share/doc/python-biom-format/html/_static/underscore.js
+replace usr/share/sphinx/themes/basic/static/websupport.js usr/share/doc/python-biom-format/html/_static/websupport.js
Modified: trunk/packages/python-biom-format/trunk/debian/rules
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/rules 2014-04-01 07:00:52 UTC (rev 16548)
+++ trunk/packages/python-biom-format/trunk/debian/rules 2014-04-01 07:17:15 UTC (rev 16549)
@@ -16,7 +16,7 @@
pybuilddir := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)-$(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
%:
- dh $@ --with python2
+ dh $@ --with python2 --with linktree
override_dh_auto_build:
dh_auto_build
@@ -42,15 +42,6 @@
# give one binary a less generic name
mv $(bindir)/add_metadata $(bindir)/add_biom_metadata
-override_dh_installdocs:
- dh_installdocs
- # Replace jquery.js and underscore.js with symlink, and fail if no file found
- for jq in jquery underscore ; do \
- find debian/$(pkg) -name $$jq.js -print \
- -exec ln -sf /usr/share/javascript/$$jq/$$jq.js '{}' ';' | grep -q . ;\
- done
- echo "js:Depends=libjs-jquery,libjs-underscore" >> debian/$(pkg).substvars
-
override_dh_installman:
dh_installman
# try to create man pages whereever possible
More information about the debian-med-commit
mailing list