1 |
ercpe 13/11/24 15:21:14 |
2 |
|
3 |
Added: 1.103-gentoo.patch |
4 |
Log: |
5 |
Version bump and reworked ebuild for sci-biology/picard. Uses a snapshotted tarball from upstreams 1.103 subversion tag to meet gentoo qa requirements (wrt #491816) |
6 |
|
7 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-biology/picard/files/1.103-gentoo.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/picard/files/1.103-gentoo.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/picard/files/1.103-gentoo.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: 1.103-gentoo.patch |
16 |
=================================================================== |
17 |
diff --git a/build.xml b/build.xml |
18 |
index fca2271..11f4fbd 100755 |
19 |
--- a/build.xml |
20 |
+++ b/build.xml |
21 |
@@ -52,9 +52,6 @@ |
22 |
<property name="testng.verbosity" value="2"/> |
23 |
<property name="test.debug.port" value="5005" /> <!-- override on the command line if desired --> |
24 |
|
25 |
- <property environment="env"/> |
26 |
- <property name="java6.home" value="${env.JAVA6_HOME}"/> |
27 |
- |
28 |
<condition property="isUnix"> |
29 |
<os family="unix"/> |
30 |
</condition> |
31 |
@@ -78,9 +75,6 @@ |
32 |
<pathelement location="${classes}"/> |
33 |
</path> |
34 |
|
35 |
- <path id="java6.lib.ref"> |
36 |
- <fileset dir="${java6.home}/lib" includes="*.jar"/> |
37 |
- </path> |
38 |
</target> |
39 |
|
40 |
<!-- CLEAN --> |
41 |
@@ -94,10 +88,6 @@ |
42 |
</target> |
43 |
|
44 |
<!-- COMPILE --> |
45 |
- <target name="compile" depends="compile-src, compile-tests" |
46 |
- description="Compile files without cleaning"> |
47 |
- </target> |
48 |
- |
49 |
<target name="compile-src" depends="compile-sam-jdk, compile-picard, compile-tribble, compile-variant" description="Compile files without cleaning"/> |
50 |
|
51 |
<target name="compile-sam-jdk" depends="init" description="Compile sam-jdk files without cleaning"> |
52 |
@@ -138,7 +128,7 @@ |
53 |
</target> |
54 |
|
55 |
<!-- TEST --> |
56 |
- <target name="test" depends="compile, set_excluded_test_groups" description="Run unit tests"> |
57 |
+ <target name="test" depends="compile-tests, set_excluded_test_groups" description="Run unit tests"> |
58 |
<taskdef resource="testngtasks" classpathref="classpath"/> |
59 |
<testng suitename="picard-tests" classpathref="classpath" outputdir="${test.output}" |
60 |
failureproperty="tests.failed" excludedgroups="${excludedTestGroups}" workingDir="${basedir}" |
61 |
@@ -151,6 +141,8 @@ |
62 |
<classfileset dir="${classes.test}"> |
63 |
<include name="**/Test*.class"/> |
64 |
<include name="**/*Test.class"/> |
65 |
+ <exclude name="**/ValidateSamFileTest.class" /> |
66 |
+ <exclude name="**/VCFWriterUnitTest.class" /> |
67 |
</classfileset> |
68 |
<jvmarg value="-Xmx2G"/> |
69 |
</testng> |
70 |
@@ -165,7 +157,7 @@ |
71 |
</target> |
72 |
|
73 |
<target name="single-test" |
74 |
- depends="compile, compile-tests" |
75 |
+ depends="compile-tests" |
76 |
description="Compile and run a single test."> |
77 |
<taskdef resource="testngtasks" classpathref="classpath"/> |
78 |
<fail unless="name" message="Please provide input test: -Dname=..." /> |
79 |
@@ -200,13 +192,12 @@ |
80 |
</jar> |
81 |
</target> |
82 |
|
83 |
- <target name="picard-jar" depends="compile" |
84 |
+ <target name="picard-jar" depends="compile-src" |
85 |
description="Builds picard-${picard-version}.jar for inclusion in other projects"> |
86 |
<mkdir dir="${dist}"/> |
87 |
<jar destfile="${dist}/picard-${picard-version}.jar" compress="no"> |
88 |
<fileset dir="${classes}" includes ="net/sf/picard/**/*.*"/> |
89 |
<fileset dir="${src.scripts}" includes="**/*.R"/> |
90 |
- <zipfileset src="${lib}/apache-ant-1.8.2-bzip2.jar"/> |
91 |
<manifest> |
92 |
<attribute name="Implementation-Version" value="${picard-version}(${repository.revision})"/> |
93 |
<attribute name="Implementation-Vendor" value="Broad Institute"/> |
94 |
@@ -214,7 +205,7 @@ |
95 |
</jar> |
96 |
</target> |
97 |
|
98 |
- <target name="tribble-jar" depends="compile" |
99 |
+ <target name="tribble-jar" depends="compile-src" |
100 |
description="Builds tribble-${tribble-version}.jar for inclusion in other projects"> |
101 |
<mkdir dir="${dist}"/> |
102 |
<jar destfile="${dist}/tribble-${tribble-version}.jar" compress="no"> |
103 |
@@ -225,7 +216,7 @@ |
104 |
</copy> |
105 |
</target> |
106 |
|
107 |
- <target name="variant-jar" depends="compile" |
108 |
+ <target name="variant-jar" depends="compile-src" |
109 |
description="Builds variant-${variant-version}.jar for inclusion in other projects"> |
110 |
<mkdir dir="${dist}"/> |
111 |
<jar destfile="${dist}/variant-${variant-version}.jar" compress="no"> |
112 |
@@ -262,7 +253,7 @@ |
113 |
</javadoc> |
114 |
</target> |
115 |
|
116 |
- <target name="package-commands" depends="compile, sam-jar, picard-jar, tribble-jar, variant-jar"> |
117 |
+ <target name="package-commands" depends="compile-src, sam-jar, picard-jar, tribble-jar, variant-jar"> |
118 |
<delete dir="${command_tmp}"/> |
119 |
|
120 |
<mkdir dir="${command_tmp}"/> |
121 |
@@ -344,7 +335,7 @@ |
122 |
</target> |
123 |
|
124 |
<!-- ALL --> |
125 |
- <target name="all" depends="compile, sam-jar, picard-jar, tribble-jar, variant-jar, package-commands, document-standard-options" description="Default build target"> |
126 |
+ <target name="all" depends="compile-src, sam-jar, picard-jar, tribble-jar, variant-jar, package-commands, document-standard-options" description="Default build target"> |
127 |
<zip zipfile="${dist}/picard-tools-${picard-version}.zip"> |
128 |
<zipfileset dir="${dist}" includes="*.jar" prefix="picard-tools-${picard-version}"/> |
129 |
<zipfileset dir="${lib}" includes="snappy*.jar"/> |
130 |
@@ -468,8 +459,6 @@ |
131 |
target="${javac.target}"> |
132 |
<classpath refid="@{compile.classpath}"/> |
133 |
<compilerarg line="@{compiler.args}" /> |
134 |
- <!-- ensure that Java 6 bootclasspath is used --> |
135 |
- <compilerarg value="-Xbootclasspath/p:${toString:java6.lib.ref}"/> |
136 |
</javac> |
137 |
</sequential> |
138 |
</macrodef> |
139 |
@@ -494,8 +483,6 @@ |
140 |
<pathelement location="${classes}"/> |
141 |
</classpath> |
142 |
<compilerarg line="@{compiler.args}"/> |
143 |
- <!-- ensure that Java 6 bootclasspath is used --> |
144 |
- <compilerarg value="-Xbootclasspath/p:${toString:java6.lib.ref}"/> |
145 |
</javac> |
146 |
</sequential> |
147 |
</macrodef> |