Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (4)
Generate a manual page with help2man
· 8cdcd4da
Michael R. Crusoe
authored
Jan 08, 2020
8cdcd4da
Run some basic tests
· 4fa93f5e
Michael R. Crusoe
authored
Jan 08, 2020
4fa93f5e
Use those tests as an autopkgtest
· 0b6c6e39
Michael R. Crusoe
authored
Jan 08, 2020
0b6c6e39
1.0.0+dfsg-4
· acd41d84
Michael R. Crusoe
authored
Jan 08, 2020
acd41d84
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
acd41d84
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@gmail.com> Wed, 08 Jan 2020 10:55:37 +0100
libfastahack (1.0.0+dfsg-3) unstable; urgency=medium
[ Steve Langasek ]
...
...
debian/control
View file @
acd41d84
...
...
@@ -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
View file @
acd41d84
File moved
debian/rules
View file @
acd41d84
...
...
@@ -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 → 100644
View file @
acd41d84
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