[med-svn] [Git][med-team/ufasta][master] Try to get full functionality including boost_regexp but failed

Andreas Tille gitlab at salsa.debian.org
Sun Jun 21 17:40:19 BST 2020



Andreas Tille pushed to branch master at Debian Med / ufasta


Commits:
8bb50576 by Andreas Tille at 2020-06-21T18:39:50+02:00
Try to get full functionality including boost_regexp but failed

- - - - -


6 changed files:

- debian/control
- + debian/examples
- + debian/patches/include_dgrep.patch
- + debian/patches/series
- debian/rules
- debian/tests/run-unit-test


Changes:

=====================================
debian/control
=====================================
@@ -4,7 +4,8 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-               yaggo
+               yaggo,
+               libboost-regex-dev
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/ufasta
 Vcs-Git: https://salsa.debian.org/med-team/ufasta.git


=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+tests/*


=====================================
debian/patches/include_dgrep.patch
=====================================
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 21 Jun 2020 15:41:52 +0200
+Description: Add dgrep.cc to provoke break in case BOOST library is not found
+FIXME: This patch should be unneeded once automake is called correctly
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -25,7 +25,7 @@ YAGGO_SRCS = # Append all file to be bui
+ # Build binaries #
+ ##################
+ SUB_CMDS = one.cc sizes.cc head.cc tail.cc rc.cc n50.cc extract.cc	\
+-           format.cc sort.cc dsort.cc split.cc rsort.cc
++           format.cc sort.cc dgrep.cc dsort.cc split.cc rsort.cc
+ 
+ if HAVE_BOOST_REGEX
+ AM_LDFLAGS += -lboost_regex


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+include_dgrep.patch


=====================================
debian/rules
=====================================
@@ -20,6 +20,9 @@ include /usr/share/dpkg/default.mk
 %:
 	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- BOOST_ROOT=/usr/include HAVE_BOOST_REGEX=yes
+
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	dh_auto_test || true


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 
-pkg=#PACKAGENAME#
+pkg=ufasta
 
 export LC_ALL=C.UTF-8
 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
@@ -13,4 +13,4 @@ cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
 
 cd "${AUTOPKGTEST_TMP}"
 
-#do_stuff_to_test_package#
+sh testsh



View it on GitLab: https://salsa.debian.org/med-team/ufasta/-/commit/8bb50576163836a5944792f3cfcd4791e8baf0ab

-- 
View it on GitLab: https://salsa.debian.org/med-team/ufasta/-/commit/8bb50576163836a5944792f3cfcd4791e8baf0ab
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/20200621/c2abafd6/attachment-0001.html>


More information about the debian-med-commit mailing list