[med-svn] [Git][med-team/phast][master] 3 commits: Build-Depends: s/libpcre3-dev/libpcre2-dev/
Andreas Tille (@tille)
gitlab at salsa.debian.org
Thu Nov 18 13:55:59 GMT 2021
Andreas Tille pushed to branch master at Debian Med / phast
Commits:
b94f01e4 by Andreas Tille at 2021-11-18T14:37:10+01:00
Build-Depends: s/libpcre3-dev/libpcre2-dev/
- - - - -
8bf5ab98 by Andreas Tille at 2021-11-18T14:52:21+01:00
debian/patches/fix_test_makefile.patch
- - - - -
68f54e60 by Andreas Tille at 2021-11-18T14:54:53+01:00
Upload to unstable
- - - - -
6 changed files:
- debian/changelog
- debian/control
- + debian/examples
- debian/rules
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+phast (1.6+dfsg-2) unstable; urgency=medium
+
+ * Build-Depends: s/libpcre3-dev/libpcre2-dev/
+ Closes: #1000000
+ * Add autopkgtest
+
+ -- Andreas Tille <tille at debian.org> Thu, 18 Nov 2021 14:52:47 +0100
+
phast (1.6+dfsg-1) unstable; urgency=medium
* Fix watchfile to detect new versions on github (routine-update)
=====================================
debian/control
=====================================
@@ -7,7 +7,7 @@ Build-Depends: debhelper-compat (= 13),
liblapack-dev,
libblas-dev,
libtmglib-dev,
- libpcre3-dev,
+ libpcre2-dev,
libf2c2-dev,
libatlas-base-dev,
help2man
=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+test/*
=====================================
debian/rules
=====================================
@@ -15,3 +15,7 @@ override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd test && PATH=$(CURDIR)/bin:$(PATH) make msa_view
endif
+
+override_dh_installexamples:
+ dh_installexamples
+ find debian/*/usr/share/doc/*/examples -type f -size +1k -exec xz \{\} \;
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,20 @@
+#!/bin/bash
+set -e
+
+pkg=phast
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+ AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+ trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+unxz *.xz
+
+# we just run one part of the test suite as in debian/patches/fix_test_makefile.patch
+make msa_view
+
View it on GitLab: https://salsa.debian.org/med-team/phast/-/compare/df3fd3230f06287c15a31689f2797f360d373733...68f54e60b848c5c080ac08a0994be3f52271e3e4
--
View it on GitLab: https://salsa.debian.org/med-team/phast/-/compare/df3fd3230f06287c15a31689f2797f360d373733...68f54e60b848c5c080ac08a0994be3f52271e3e4
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/20211118/92fdaaac/attachment-0001.htm>
More information about the debian-med-commit
mailing list