[med-svn] [fastaq] 01/01: Only errors form lintian are now ITP missing and missing manpages, but man page for fastaq_trim_Ns_at_end should be present.

Jorge Soares jssoares-guest at moszumanska.debian.org
Fri Oct 10 15:42:39 UTC 2014


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

jssoares-guest pushed a commit to branch master
in repository fastaq.

commit c2545e139770ff4a7748bde2d1ba73a69fba8608
Author: Jorge Soares <j.s.soares at gmail.com>
Date:   Fri Oct 10 16:42:27 2014 +0100

    Only errors form lintian are now ITP missing and missing manpages, but man page for fastaq_trim_Ns_at_end should be present.
---
 debian/control                |  9 ++++++--
 debian/rules                  | 11 +++++++++-
 debian/watch                  |  3 ++-
 man/fastaq_trim_Ns_at_end.txt | 51 +++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 70 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 1cc35e3..2a3d03f 100644
--- a/debian/control
+++ b/debian/control
@@ -8,10 +8,15 @@ Build-Depends: debhelper (>= 9),
 	       python3-setuptools,
 	       python3-numpy,
 	       python3-nose,
-	       samtools
+	       samtools,
+               libxml2-utils,
+	       docbook,
+               docbook-xsl,
+	       xsltproc,
+	       asciidoc
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-med/fastaq.git
-Homepage: https://github.com/js21/fastaq
+Homepage: https://github.com/js21/Fastaq
 
 Package: fastaq
 Architecture: any
diff --git a/debian/rules b/debian/rules
index e3a716e..0dbc9bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 export DH_VERBOSE := 1
 export PYBUILD_NAME=fastaq
 
+sourcedir := $(CURDIR)/man
+mandir := $(CURDIR)/debian/man
+
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
@@ -13,4 +16,10 @@ override_dh_auto_build:
 	cd $(CURDIR)/doc
 
 override_dh_auto_clean:
-	rm -rf build .pybuild
\ No newline at end of file
+	rm -rf build .pybuild
+
+override_dh_installman:
+	mkdir -p $(mandir)
+	for textfile in $(sourcedir)/*.txt; do a2x --no-xmllint -f manpage $$textfile; done
+	mv $(sourcedir)/*.1 $(mandir)
+	dh_installman --
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
index 1140c71..2762d35 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
 version=3
-https://github.com/sanger-pathogens/fastaq/releases .*/archive/(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+https://github.com/js21/Fastaq/releases .*/archive/(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+#https://github.com/sanger-pathogens/fastaq/releases .*/archive/(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
 
diff --git a/man/fastaq_trim_Ns_at_end.txt b/man/fastaq_trim_Ns_at_end.txt
new file mode 100644
index 0000000..927ce56
--- /dev/null
+++ b/man/fastaq_trim_Ns_at_end.txt
@@ -0,0 +1,51 @@
+FASTAQ_TRIM_Ns_AT_ENDDOC(1)
+===========================
+:doctype: manpage
+
+
+NAME
+----
+fastaq_trim_Ns_at_end - Trims any Ns off each sequence in a fasta/q file
+
+SYNOPSIS
+--------
+fastaq_trim_Ns_at_end [fasta/q in] [fasta/q out]
+
+DESCRIPTION
+-----------
+Trims any Ns off each sequence in a fasta/q file. Does nothing to gaps in the middle, just trims the ends
+
+OPTIONS
+-------
+
+positional arguments:
+
+*infile*::
+		Name of input fasta/q file
+*outfile*::
+		Name of output fasta/q file
+
+optional arguments
+
+*-h, --help*::
+		Show this help message
+
+EXAMPLES
+--------
+fastaq_trim_Ns_at_end foo.fa trimmed_ns_foo.fa
+
+fastaq_trim_Ns_at_end foo.fq trimmed_ns_foo.fq
+
+fastaq_trim_Ns_at_end foo.fa.gz trimmed_ns_foo.fa.gz
+
+fastaq_trim_Ns_at_end foo.fq.gz trimmed_ns_foo.fq.gz
+
+AUTHOR
+------
+fastaq_trim_Ns_at_end was originally written by Martin Hunt (mh12 at sanger.ac.uk)
+
+COPYING
+-------
+Wellcome Trust Sanger Institute Copyright (C) 2013 Wellcome Trust Sanger Institute
+This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fastaq.git



More information about the debian-med-commit mailing list