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

Andreas Tille tille at moszumanska.debian.org
Tue Apr 1 07:43:12 UTC 2014


Author: tille
Date: 2014-04-01 07:43:12 +0000 (Tue, 01 Apr 2014)
New Revision: 16550

Removed:
   trunk/packages/python-biom-format/trunk/debian/biom.1
Modified:
   trunk/packages/python-biom-format/trunk/debian/changelog
   trunk/packages/python-biom-format/trunk/debian/manpages
   trunk/packages/python-biom-format/trunk/debian/rules
Log:
Do not install scripts printing "This script no longer exists. ..." any more; Use manpage created by sphinx


Deleted: trunk/packages/python-biom-format/trunk/debian/biom.1
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/biom.1	2014-04-01 07:17:15 UTC (rev 16549)
+++ trunk/packages/python-biom-format/trunk/debian/biom.1	2014-04-01 07:43:12 UTC (rev 16550)
@@ -1,24 +0,0 @@
-.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.43.3.
-.TH BIOM "1" "November 2013" "biom 1.2.0" "User Commands"
-.SH NAME
-biom \- wrapper for Biological Observation Matrix
-.SH SYNOPSIS
-.B biom
-<\fBcommand\fR> [<\fBargs\fR>]
-.SH DESCRIPTION
-.PP
-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.
-.PP
-To see a list of all available commands, run the following command:
-.IP
-biom
-.PP
-See
-.IP
-biom help <command>
-.PP
-for more information on a specific command.
\ No newline at end of file

Modified: trunk/packages/python-biom-format/trunk/debian/changelog
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/changelog	2014-04-01 07:17:15 UTC (rev 16549)
+++ trunk/packages/python-biom-format/trunk/debian/changelog	2014-04-01 07:43:12 UTC (rev 16550)
@@ -8,6 +8,9 @@
   * Incorporate changes by BioLinux
   * debian/patches/no-web-adds.patch: Save user privacy by preventing inclusion
     of web adds
+  * Do not install scripts printing "This script no longer exists. ..."
+    any more
+  * Use manpage created by sphinx
 
  -- Andreas Tille <tille at debian.org>  Thu, 27 Mar 2014 11:52:15 +0100
 

Modified: trunk/packages/python-biom-format/trunk/debian/manpages
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/manpages	2014-04-01 07:17:15 UTC (rev 16549)
+++ trunk/packages/python-biom-format/trunk/debian/manpages	2014-04-01 07:43:12 UTC (rev 16550)
@@ -1,2 +1 @@
 doc/_build/man/*
-debian/*.1

Modified: trunk/packages/python-biom-format/trunk/debian/rules
===================================================================
--- trunk/packages/python-biom-format/trunk/debian/rules	2014-04-01 07:17:15 UTC (rev 16549)
+++ trunk/packages/python-biom-format/trunk/debian/rules	2014-04-01 07:43:12 UTC (rev 16550)
@@ -20,11 +20,15 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	cd doc && make man singlehtml
+	cd doc && make singlehtml
 	env PYTHONPATH=. pyqi make-bash-completion \
 	    --command-config-module biom.interfaces.optparse.config \
 	    --driver-name biom -o debian/bash-completion
 
+override_dh_installman:
+	cd doc && make man
+	dh_installman
+
 override_dh_auto_clean:
 	rm -rf build/tests
 	dh_auto_clean
@@ -36,32 +40,10 @@
 override_dh_install:
 	dh_install
 	dh_bash-completion
-	# These commands are deprecated but in the upstream they are still present
-	# remove language extension
-	rename 's/\.py$$//;' $(bindir)/*
-	# give one binary a less generic name
-	mv $(bindir)/add_metadata $(bindir)/add_biom_metadata 
+	# All *.py scripts simply say
+	#   "This script no longer exists. ..."
+	rm -f $(bindir)/*.py
 
-override_dh_installman:
-	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_biom_metadata > $(mandir)/add_biom_metadata.1 ; \
-	    help2man --no-info --version-string="$(version)" \
-		--name='Test a biom file for adherence to the format specification' \
-		$(bindir)/biom_validator > $(mandir)/biom_validator.1 ; \
-	    help2man --no-info --name='Script to convert biom formatted files' \
-		$(bindir)/convert_biom > $(mandir)/convert_biom.1 ; \
-	    help2man --no-info --version-string="$(version)" \
-		--name='summarize sample or observation data in BIOM-formatted files' \
-		$(bindir)/print_biom_table_summary > $(mandir)/print_biom_table_summary.1 ; \
-	    help2man --no-info --version-string="$(version)" \
-		--name='subset a BIOM file, over either the observations or samples' \
-		$(bindir)/subset_biom > $(mandir)/subset_biom.1
-
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e -x;\




More information about the debian-med-commit mailing list