[med-svn] [Git][med-team/sniffles][master] 3 commits: Fix INCLUDE_PATHS. Closes: #963299.
Pranav Ballaney
gitlab at salsa.debian.org
Fri Jul 3 01:37:54 BST 2020
Pranav Ballaney pushed to branch master at Debian Med / sniffles
Commits:
e0a52147 by Pranav Ballaney at 2020-07-03T06:00:15+05:30
Fix INCLUDE_PATHS. Closes: #963299.
- - - - -
e8a8d3db by Pranav Ballaney at 2020-07-03T06:06:05+05:30
Add to Uploaders
- - - - -
8ce66c5c by Pranav Ballaney at 2020-07-03T06:06:20+05:30
Install examples and docs
- - - - -
8 changed files:
- + debian/README.test
- debian/changelog
- debian/control
- debian/docs
- + debian/examples
- debian/rules
- debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/README.test
=====================================
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+ sh run-unit-test
+
+in order to confirm its integrity.
=====================================
debian/changelog
=====================================
@@ -1,3 +1,22 @@
+sniffles (1.0.11+ds-1ubuntu1) UNRELEASED; urgency=medium
+
+ [ Afif Elghraoui ]
+ * Remove myself from Uploaders
+
+ [ Steffen Moeller ]
+ * d/u/metadata: yamllint
+
+ [ Steffen Möller ]
+ * Update metadata with ref to conda
+ * Update metadata / added ref to bio.tools
+
+ [ Pranav Ballaney ]
+ * Fix INCLUDE_PATHS. Closes: #963299.
+ * Add to Uploaders
+ * Install examples and docs
+
+ -- Pranav Ballaney <ballaneypranav at gmail.com> Fri, 03 Jul 2020 06:02:36 +0530
+
sniffles (1.0.11+ds-1) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -1,5 +1,6 @@
Source: sniffles
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Pranav Ballaney <ballaneypranav at gmail.com>
Section: science
Priority: optional
Build-Depends: debhelper (>= 12~),
=====================================
debian/docs
=====================================
@@ -1 +1,3 @@
README.md
+debian/tests/run-unit-test
+debian/README*
\ No newline at end of file
=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+test_set/*
\ No newline at end of file
=====================================
debian/rules
=====================================
@@ -4,17 +4,14 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-INCLUDE_PATHS = /usr/include/bamtools
-
-space=
-space+=
+INCLUDE_PATHS=/usr/include/bamtools
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
- -DCMAKE_INCLUDE_PATH="$(subst $(space),:,$(strip $(INCLUDE_PATHS)))"
+ -DCMAKE_INCLUDE_PATH="${INCLUDE_PATHS}"
override_dh_auto_clean:
dh_auto_clean
=====================================
debian/tests/control
=====================================
@@ -1,2 +1,3 @@
-Test-Command:
- sniffles -m test_set/reads_region.bam -v ${AUTOPKGTEST_TMP}/test.vcf;
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,21 @@
+#!/bin/bash
+set -e
+
+pkg=sniffles
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+ AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+ # Double quote below to expand the temporary directory variable now versus
+ # later is on purpose.
+ # shellcheck disable=SC2064
+ trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+gunzip -r *
+#do_stuff_to_test_package#
+sniffles -m reads_region.bam -v test.vcf
\ No newline at end of file
View it on GitLab: https://salsa.debian.org/med-team/sniffles/-/compare/7d9af156d348796e5a694097750d887e19a7f536...8ce66c5cd09c8b955f6144e3ea7215b37ea631fe
--
View it on GitLab: https://salsa.debian.org/med-team/sniffles/-/compare/7d9af156d348796e5a694097750d887e19a7f536...8ce66c5cd09c8b955f6144e3ea7215b37ea631fe
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/20200703/1e72248c/attachment-0001.html>
More information about the debian-med-commit
mailing list