[med-svn] [htsjdk] 01/01: Add missing depends on junit4

Vincent Danjean vdanjean at debian.org
Sun Dec 18 10:37:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

vdanjean pushed a commit to branch master
in repository htsjdk.

commit 50741e4ef0977f281c806d9c6d531d21dffc339b
Author: Vincent Danjean <Vincent.Danjean at ens-lyon.org>
Date:   Sun Dec 18 11:37:36 2016 +0100

    Add missing depends on junit4
---
 debian/control                    |  3 ++-
 debian/patches/50-fix-build.patch | 11 +++++++++++
 debian/patches/series             |  1 +
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 25b4643..68974df 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,8 @@ Build-Depends: default-jdk (>= 2:1.8),
 # required for correct dependencies for -doc
                default-jdk-doc,
 # required for tests:
-               testng (>= 6.9.9)
+               testng (>= 6.9.9),
+               junit4
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/htsjdk.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/htsjdk.git
diff --git a/debian/patches/50-fix-build.patch b/debian/patches/50-fix-build.patch
new file mode 100644
index 0000000..b7b6047
--- /dev/null
+++ b/debian/patches/50-fix-build.patch
@@ -0,0 +1,11 @@
+junit JAR is required for tests
+--- a/build.gradle
++++ b/build.gradle
+@@ -23,6 +23,7 @@
+     compile "gov.nih.nlm.ncbi:ngs-java:1.2.4"
+ 
+     testCompile "org.testng:testng:6.9.9"
++    testCompile "junit:junit:4.x"
+ }
+ 
+ sourceCompatibility = 1.8
diff --git a/debian/patches/series b/debian/patches/series
index 1a7872a..52d46d3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 11-snappy-java-compatibility.patch
 13-skip_network_tests
 20-fix-version.patch
+50-fix-build.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/htsjdk.git



More information about the debian-med-commit mailing list