[med-svn] [Git][med-team/nim-hts][master] 3 commits: Fix install location for example
Nilesh Patra
gitlab at salsa.debian.org
Thu Nov 5 05:58:53 GMT 2020
Nilesh Patra pushed to branch master at Debian Med / nim-hts
Commits:
f9c733ac by Nilesh Patra at 2020-11-05T11:23:04+05:30
Fix install location for example
- - - - -
992c2c59 by Nilesh Patra at 2020-11-05T11:24:26+05:30
Regenerate files during build so there are no install problems if tests are not run
- - - - -
e40e33e4 by Nilesh Patra at 2020-11-05T11:26:07+05:30
Upload to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/nim-hts-examples.install
- debian/rules
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+nim-hts (0.3.12+ds-4) unstable; urgency=medium
+
+ * Remove wrong path while running tests
+ * Fix install location for example
+ * Regenerate files during build
+
+ -- Nilesh Patra <npatra974 at gmail.com> Thu, 05 Nov 2020 11:25:28 +0530
+
nim-hts (0.3.12+ds-3) unstable; urgency=medium
* Add test dependency on build-essential
=====================================
debian/nim-hts-examples.install
=====================================
@@ -1,10 +1,10 @@
-tests/*.nim usr/share/doc/hts-nim-examples
-tests/*.sam usr/share/doc/hts-nim-examples
-tests/test_files usr/share/doc/hts-nim-examples
-tests/*.vcf usr/share/doc/hts-nim-examples
-tests/*.bcf* usr/share/doc/hts-nim-examples
-tests/*.bam* usr/share/doc/hts-nim-examples
-tests/*.fa* usr/share/doc/hts-nim-examples
-debian/missing-sources/* usr/share/doc/hts-nim-examples
-debian/tests/run-unit-test usr/share/doc/hts-nim-examples
-debian/tests/*.nim usr/share/doc/hts-nim-examples
+tests/*.nim usr/share/doc/nim-hts-examples
+tests/*.sam usr/share/doc/nim-hts-examples
+tests/test_files usr/share/doc/nim-hts-examples
+tests/*.vcf usr/share/doc/nim-hts-examples
+tests/*.bcf* usr/share/doc/nim-hts-examples
+tests/*.bam* usr/share/doc/nim-hts-examples
+tests/*.fa* usr/share/doc/nim-hts-examples
+debian/missing-sources/* usr/share/doc/nim-hts-examples
+debian/tests/run-unit-test usr/share/doc/nim-hts-examples
+debian/tests/*.nim usr/share/doc/nim-hts-examples
=====================================
debian/rules
=====================================
@@ -5,8 +5,8 @@ DEB_BUILD_OPTIONS += nodoc
%:
dh $@
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_build:
+ dh_auto_build
# Regenerate repacked files
cat tests/sa.sam | samtools view -Sb - > tests/sa.bam
samtools index tests/sa.bam tests/sa.bam.bai
@@ -14,6 +14,9 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
samtools index tests/HG02002.bam tests/HG02002.bam.bai
tabix tests/test.vcf.gz
bcftools index tests/test.bcf
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
nim c --nimcache:$(CURDIR)/tests/nimcache tests/all.nim
tests/all
endif
=====================================
debian/tests/run-unit-test
=====================================
@@ -8,7 +8,7 @@ if [ "$AUTOPKGTEST_TMP" = "" ] ; then
trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi
-cp -a /usr/share/doc/hts-nim-examples/* $AUTOPKGTEST_TMP
+cp -a /usr/share/doc/nim-hts-examples/* $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
gunzip -r *
View it on GitLab: https://salsa.debian.org/med-team/nim-hts/-/compare/2be53f8b0b0c83c275815693018756ac440d6c67...e40e33e4b818cc3b84cd0d9db81fe711f5904afa
--
View it on GitLab: https://salsa.debian.org/med-team/nim-hts/-/compare/2be53f8b0b0c83c275815693018756ac440d6c67...e40e33e4b818cc3b84cd0d9db81fe711f5904afa
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/20201105/262ad2b6/attachment-0001.html>
More information about the debian-med-commit
mailing list