[med-svn] [Git][med-team/libfastahack][master] 4 commits: Generate a manual page with help2man
Michael R. Crusoe
gitlab at salsa.debian.org
Wed Jan 8 09:58:05 GMT 2020
Michael R. Crusoe pushed to branch master at Debian Med / libfastahack
Commits:
8cdcd4da by Michael R. Crusoe at 2020-01-08T10:54:52+01:00
Generate a manual page with help2man
- - - - -
4fa93f5e by Michael R. Crusoe at 2020-01-08T10:54:53+01:00
Run some basic tests
- - - - -
0b6c6e39 by Michael R. Crusoe at 2020-01-08T10:54:53+01:00
Use those tests as an autopkgtest
- - - - -
acd41d84 by Michael R. Crusoe at 2020-01-08T10:57:23+01:00
1.0.0+dfsg-4
- - - - -
5 changed files:
- debian/changelog
- debian/control
- debian/manpages → debian/fastahack.manpages
- debian/rules
- + debian/tests/control
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+libfastahack (1.0.0+dfsg-4) unstable; urgency=medium
+
+ * Team upload.
+ * Generate a manual page with help2man
+ * Run some basic tests
+ * Use those tests as an autopkgtest
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com> Wed, 08 Jan 2020 10:55:37 +0100
+
libfastahack (1.0.0+dfsg-3) unstable; urgency=medium
[ Steve Langasek ]
=====================================
debian/control
=====================================
@@ -5,7 +5,8 @@ Section: science
Priority: optional
Build-Depends: debhelper-compat (= 12),
d-shlibs,
- libdisorder-dev
+ libdisorder-dev,
+ help2man
Standards-Version: 4.4.1
Vcs-Browser: https://salsa.debian.org/med-team/libfastahack
Vcs-Git: https://salsa.debian.org/med-team/libfastahack.git
@@ -40,7 +41,6 @@ Package: libfastahack-dev
Architecture: any
Section: libdevel
Depends: libfastahack0 (= ${binary:Version}),
- ${shlibs:Depends},
${misc:Depends}
Description: library for indexing and sequence extraction from FASTA files (devel)
fastahack is a small application for indexing and extracting sequences and
=====================================
debian/manpages → debian/fastahack.manpages
=====================================
=====================================
debian/rules
=====================================
@@ -3,10 +3,27 @@
# DH_VERBOSE := 1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+include /usr/share/dpkg/default.mk
%:
dh $@
+override_dh_installman:
+ help2man --no-discard-stderr --no-info --version-string=$(DEB_VERSION) \
+ --name="fastahack - indexing and extracting sequences and subsequences from FASTA files" \
+ ./fastahack > debian/fastahack.1
+ dh_installman
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ ./fastahack tests/correct.fasta 2>&1 | grep -v ERROR
+ ./fastahack tests/crlf.fasta 2>&1 | grep -v ERROR
+ ./fastahack tests/embedded_newline.fasta 2>&1 | grep 'ERROR: embedded newline'
+ ./fastahack tests/mismatched_lines.fasta 2>&1 | grep 'ERROR: mismatched line lengths'
+ ./fastahack tests/trailing_newlines.fasta 2>&1 | grep -v ERROR
+ rm tests/*.fai
+endif
+
override_dh_install:
dh_install
d-shlibmove --commit \
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Test-Command: /usr/bin/fastahack tests/correct.fasta 2>&1 | grep -v ERROR && /usr/bin/fastahack tests/crlf.fasta 2>&1 | grep -v ERROR && /usr/bin/fastahack tests/embedded_newline.fasta 2>&1 | grep 'ERROR: embedded newline' && /usr/bin/fastahack tests/mismatched_lines.fasta 2>&1 | grep 'ERROR: mismatched line lengths' && /usr/bin/fastahack tests/trailing_newlines.fasta 2>&1 | grep -v ERROR
+Depends: fastahack
+Restrictions: allow-stderr
View it on GitLab: https://salsa.debian.org/med-team/libfastahack/compare/1a301ead5d82c007174501c7f4dfb99f93f91039...acd41d841052e5c9d44116e98cb00bfe3e2d517b
--
View it on GitLab: https://salsa.debian.org/med-team/libfastahack/compare/1a301ead5d82c007174501c7f4dfb99f93f91039...acd41d841052e5c9d44116e98cb00bfe3e2d517b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200108/79f264d5/attachment-0001.html>
More information about the debian-med-commit
mailing list