[med-svn] r14459 - trunk/packages/python-biom-format/trunk/debian

Andreas Tille tille at alioth.debian.org
Thu Aug 15 20:06:04 UTC 2013


Author: tille
Date: 2013-08-15 20:06:03 +0000 (Thu, 15 Aug 2013)
New Revision: 14459

Modified:
   trunk/packages/python-biom-format/trunk/debian/changelog
   trunk/packages/python-biom-format/trunk/debian/control
   trunk/packages/python-biom-format/trunk/debian/rules
Log:
Start with creating manpages via help2man


Modified: trunk/packages/python-biom-format/trunk/debian/changelog
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/changelog	2013-08-15 19:50:35 UTC (rev 14458)
+++ trunk/packages/python-biom-format/trunk/debian/changelog	2013-08-15 20:06:03 UTC (rev 14459)
@@ -8,6 +8,8 @@
      - cme fix dpkg-control
   * Remove workaround cython problem which was needed when 1.0.0 was
     released because cython at this time was suffering from #682652
+  * debian/rules:
+     - use help2man to create manpages
 
  -- Andreas Tille <tille at debian.org>  Thu, 15 Aug 2013 01:17:43 +0200
 

Modified: trunk/packages/python-biom-format/trunk/debian/control
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/control	2013-08-15 19:50:35 UTC (rev 14458)
+++ trunk/packages/python-biom-format/trunk/debian/control	2013-08-15 20:06:03 UTC (rev 14459)
@@ -6,11 +6,15 @@
 Build-Depends: debhelper (>= 9),
                python-all-dev,
                python-numpy,
-               cython
+               cython (>= 0.17),
+               help2man,
+               python-dateutil,
+               python-cogent
 Standards-Version: 3.9.4
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/python-biom-format/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/python-biom-format/trunk/
 Homepage: http://biom-format.org/
+X-Python-Version: >= 2.6
 
 Package: python-biom-format
 Architecture: any

Modified: trunk/packages/python-biom-format/trunk/debian/rules
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/rules	2013-08-15 19:50:35 UTC (rev 14458)
+++ trunk/packages/python-biom-format/trunk/debian/rules	2013-08-15 20:06:03 UTC (rev 14459)
@@ -28,5 +28,13 @@
 	# remove language extension
 	rename 's/\.py$$//;' $(bindir)/*
 
+override_dh_installman:
+	# try to create man pages whereever possible
+	mkdir -p $(mandir)
+	export PYTHONPATH=$(CURDIR)/python-code ; \
+	    help2man --no-info --version-string="$(version)" \
+		 --name="Script to add sample and/or observation metadata to BIOM-formatted files." \
+		$(bindir)/add_metadata > $(mandir)/add_metadata.1
+
 get-orig-source:
 	. debian/get-orig-source




More information about the debian-med-commit mailing list