[med-svn] [Git][med-team/seqan-needle][master] 2 commits: document autopkgtest fixes

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Thu Nov 7 17:21:37 GMT 2024



Michael R. Crusoe pushed to branch master at Debian Med / seqan-needle


Commits:
feedd770 by Michael R. Crusoe at 2024-11-07T18:20:29+01:00
document autopkgtest fixes

- - - - -
379f00c5 by Michael R. Crusoe at 2024-11-07T18:20:29+01:00
routine-update: Ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/patches/debian-seqan3
- debian/rules
- debian/tests/run-unit-tests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-seqan-needle (1.0.3~rc.2+ds-1) UNRELEASED; urgency=medium
+seqan-needle (1.0.3~rc.2+ds-1) unstable; urgency=medium
 
   * d/watch: rewrite RC versions to Debian style
   * d/copyright: match new layout
@@ -7,8 +7,9 @@ seqan-needle (1.0.3~rc.2+ds-1) UNRELEASED; urgency=medium
   * d/rules: use CPM_USE_LOCAL_PACKAGES=On
   * d/seqan-needle.install: update path
   * Added patch to find and use libseqan3-dev
+  * Autopkgtests: build and run agains the installed needle binary.
 
- -- Michael R. Crusoe <crusoe at debian.org>  Tue, 05 Nov 2024 18:38:27 +0100
+ -- Michael R. Crusoe <crusoe at debian.org>  Thu, 07 Nov 2024 17:28:29 +0100
 
 seqan-needle (1.0.2+ds-2) unstable; urgency=medium
 


=====================================
debian/patches/debian-seqan3
=====================================
@@ -1,3 +1,5 @@
+Author: Michael R. Crusoe <crusoe at debian.org>
+Desecription: support offline building with libseqan3-dev
 --- seqan-needle.orig/cmake/package-lock.cmake
 +++ seqan-needle/cmake/package-lock.cmake
 @@ -11,6 +11,7 @@


=====================================
debian/rules
=====================================
@@ -15,14 +15,16 @@ override_dh_auto_configure:
 	rm -Rf lib/seqan3
 	dh_auto_configure -- -DSEQAN3_NO_LEMON=OFF -DCPM_USE_LOCAL_PACKAGES=On
 
-override_dh_auto_build-arch:
-	dh_auto_build --arch
+execute_after_dh_auto_build-arch:
 	obj-*/bin/needle --export-help man > debian/needle.1
 	obj-*/bin/needle count --export-help man > debian/needle-count.1
 	obj-*/bin/needle estimate --export-help man > debian/needle-estimate.1
 	obj-*/bin/needle ibf --export-help man > debian/needle-ibf.1
 	obj-*/bin/needle minimiser --export-help man > debian/needle-minimiser.1
 
+execute_after_dh_auto_test:
+	rm -Rf obj-*/test
+
 override_dh_auto_build-indep:
 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
 	doxygen doc/doxygen_cfg


=====================================
debian/tests/run-unit-tests
=====================================
@@ -25,5 +25,5 @@ cmake -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON \
 # Run test
 make check
 rm bin/needle
-cd test
-/usr/bin/ctest --output-on-failure
+cd test && /usr/bin/ctest --output-on-failure
+rm -Rf test



View it on GitLab: https://salsa.debian.org/med-team/seqan-needle/-/compare/b919f16a6001e0e230e4944a189d32a31aa8ec6a...379f00c529411760efe0b3fdaef46335d2c4c7e4

-- 
View it on GitLab: https://salsa.debian.org/med-team/seqan-needle/-/compare/b919f16a6001e0e230e4944a189d32a31aa8ec6a...379f00c529411760efe0b3fdaef46335d2c4c7e4
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/20241107/1cc66355/attachment-0001.htm>


More information about the debian-med-commit mailing list