1 |
commit: 09664039e99b1f7d3a0b36ee6f0ae3993be2904b |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Mon Sep 28 07:33:53 2020 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Sep 28 07:33:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=09664039 |
7 |
|
8 |
sci-biology/gatk: removed package with missing dep |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
sci-biology/gatk/files/settings.xml | 9 ---- |
14 |
sci-biology/gatk/gatk-3.8.1.ebuild | 102 ------------------------------------ |
15 |
sci-biology/gatk/gatk-9999.ebuild | 82 ----------------------------- |
16 |
sci-biology/gatk/metadata.xml | 11 ---- |
17 |
4 files changed, 204 deletions(-) |
18 |
|
19 |
diff --git a/sci-biology/gatk/files/settings.xml b/sci-biology/gatk/files/settings.xml |
20 |
deleted file mode 100644 |
21 |
index 9527ec0b7..000000000 |
22 |
--- a/sci-biology/gatk/files/settings.xml |
23 |
+++ /dev/null |
24 |
@@ -1,9 +0,0 @@ |
25 |
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" |
26 |
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
27 |
- xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 |
28 |
- https://maven.apache.org/xsd/settings-1.0.0.xsd"> |
29 |
- <localRepository>${user.home}/.m2/repository</localRepository> |
30 |
- <interactiveMode>false</interactiveMode> |
31 |
- <usePluginRegistry>false</usePluginRegistry> |
32 |
- <offline>true</offline> |
33 |
-</settings> |
34 |
|
35 |
diff --git a/sci-biology/gatk/gatk-3.8.1.ebuild b/sci-biology/gatk/gatk-3.8.1.ebuild |
36 |
deleted file mode 100644 |
37 |
index 9ad24d86c..000000000 |
38 |
--- a/sci-biology/gatk/gatk-3.8.1.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,102 +0,0 @@ |
41 |
-# Copyright 1999-2020 Gentoo Authors |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
- |
44 |
-EAPI=5 |
45 |
- |
46 |
-inherit java-pkg-2 git-r3 # building from tar.gz snapshots is unsupported |
47 |
- |
48 |
-MY_PV=${PV/.1/-1} # convert 3.8.1 to 3.8-1 |
49 |
-DESCRIPTION="The Genome Analysis Toolkit" |
50 |
-HOMEPAGE="http://www.broadinstitute.org/gsa/wiki/index.php/The_Genome_Analysis_Toolkit" |
51 |
-EGIT_REPO_URI="https://github.com/broadgsa/gatk.git" # git tree for <=gatk-3 |
52 |
-# check out 3.8-1 branch but using a proper commit, not ${MY_PV} |
53 |
-# https://github.com/broadinstitute/gatk/issues/4685#issuecomment-383188772 |
54 |
-EGIT_COMMIT="41147a655594c2aae6e2cad8462bd1648570b32b" |
55 |
-# building outside of git is not possible, |
56 |
-# see https://github.com/broadinstitute/picard/issues/605 |
57 |
- |
58 |
-LICENSE="MIT" |
59 |
-SLOT="0" |
60 |
-KEYWORDS="~amd64" # 608.21 MiB git download and 134MB "${W}"/.m2 download |
61 |
- |
62 |
-DEPEND=" |
63 |
- >=virtual/jdk-1.6 |
64 |
- dev-java/maven-bin:* || ( dev-java/netbeans-java ) |
65 |
- dev-java/cofoja |
66 |
- " |
67 |
-RDEPEND=" |
68 |
- >=virtual/jre-1.6 |
69 |
- >=sci-biology/SnpEff-2.0.5 |
70 |
- " |
71 |
- |
72 |
-#S="${WORKDIR}/${PN}-${MY_PV}" |
73 |
- |
74 |
-# https://maven.apache.org/settings.html |
75 |
-# The two settings files are located at: |
76 |
-# The Maven installation directory: $M2_HOME/conf/settings.xml |
77 |
-# The user's home directory: ${user.home}/.m2/settings.xml |
78 |
-# |
79 |
-# localRepository: This value is the path of this build system's local repository. |
80 |
-# The default value is ${user.home}/.m2/repository. This element is especially |
81 |
-# useful for a main build server allowing all logged-in users to build from a |
82 |
-# common local repository. |
83 |
-# interactiveMode: true if Maven should attempt to interact with the user for input, |
84 |
-# false if not. Defaults to true. |
85 |
-# usePluginRegistry: true if Maven should use the ${user.home}/.m2/plugin-registry.xml |
86 |
-# file to manage plugin versions, defaults to false. Note that for the current version |
87 |
-# of Maven 2.0, the plugin-registry.xml file should not be depended upon. Consider it |
88 |
-# dormant for now. |
89 |
-# offline: true if this build system should operate in offline mode, defaults to false. |
90 |
-# This element is useful for build servers which cannot connect to a remote repository, |
91 |
-# either because of network setup or security reasons. |
92 |
- |
93 |
-src_prepare() { |
94 |
- mvn clean -Dmaven.repo.local="${WORKDIR}"/.m2/repository || die |
95 |
- sed -e 's#mvn_args="#mvn_args="-Dmaven.repo.local=${WORKDIR}/.m2/repository #' -i ant-bridge.sh || die |
96 |
- mkdir -p "${WORKDIR}"/.m2/repository || die |
97 |
- cp "${FILESDIR}"/settings.xml "${WORKDIR}"/.m2/repository/ || die |
98 |
- #export M2_HOME="${EPREFIX}"/usr/share/maven-bin-3.3 |
99 |
- #export MAVEN_HOME="${EPREFIX}"/usr/share/maven-bin-3.3 |
100 |
- export M2="${WORKDIR}"/.m2/repository # not recognized? |
101 |
- #export MAVEN_OPTS="-Xms256m -Xmx512m" # works but not needed actually |
102 |
- sh ant-bridge.sh || die # BUG: this downloads and compiles lot of stuff |
103 |
- java-pkg-2_src_prepare |
104 |
-} |
105 |
- |
106 |
-src_install() { |
107 |
- mvn install -Dmaven.repo.local="${WORKDIR}"/.m2/repository || die |
108 |
- # Java QA Notice: installing versioned jar 'gatk-tools-public-3.8-1.jar' |
109 |
- # Java QA Notice: installing versioned jar 'gatk-queue-extensions-generator-3.8-1.jar' |
110 |
- # Java QA Notice: installing versioned jar 'gatk-engine-3.8-1.jar' |
111 |
- # Java QA Notice: installing versioned jar 'gatk-queue-extensions-public-3.8-1.jar' |
112 |
- # Java QA Notice: installing versioned jar 'gatk-utils-3.8-1.jar' |
113 |
- # Java QA Notice: installing versioned jar 'gatk-queue-3.8-1.jar' |
114 |
- find public -name \*.jar | grep -v tests | grep -v cofoja | while read f; do \ |
115 |
- java-pkg_dojar $f |
116 |
- done |
117 |
-} |
118 |
- |
119 |
-pkg_postinst(){ |
120 |
- einfo "The ebuild also installs bundled SnpEff-2.0.5.jar file until the" |
121 |
- einfo "installation layout gets more testing" |
122 |
-} |
123 |
- |
124 |
-# TODO: adjust the build system to output GenomeAnalysisTK.jar file like in an official |
125 |
-# binary release |
126 |
-# # equery files gatk |
127 |
-# * Searching for gatk ... |
128 |
-# * Contents of sci-biology/gatk-3.8.1: |
129 |
-# /usr |
130 |
-# /usr/share |
131 |
-# /usr/share/gatk |
132 |
-# /usr/share/gatk/lib |
133 |
-# /usr/share/gatk/lib/external-example-1.0-SNAPSHOT.jar |
134 |
-# /usr/share/gatk/lib/gatk-engine-3.8-1.jar |
135 |
-# /usr/share/gatk/lib/gatk-queue-3.8-1.jar |
136 |
-# /usr/share/gatk/lib/gatk-queue-extensions-generator-3.8-1.jar |
137 |
-# /usr/share/gatk/lib/gatk-queue-extensions-public-3.8-1.jar |
138 |
-# /usr/share/gatk/lib/gatk-tools-public-3.8-1.jar |
139 |
-# /usr/share/gatk/lib/gatk-utils-3.8-1.jar |
140 |
-# /usr/share/gatk/lib/original-external-example-1.0-SNAPSHOT.jar |
141 |
-# /usr/share/gatk/lib/snpeff-2.0.5.jar |
142 |
-# /usr/share/gatk/package.env |
143 |
|
144 |
diff --git a/sci-biology/gatk/gatk-9999.ebuild b/sci-biology/gatk/gatk-9999.ebuild |
145 |
deleted file mode 100644 |
146 |
index 70d42cb0a..000000000 |
147 |
--- a/sci-biology/gatk/gatk-9999.ebuild |
148 |
+++ /dev/null |
149 |
@@ -1,82 +0,0 @@ |
150 |
-# Copyright 1999-2020 Gentoo Authors |
151 |
-# Distributed under the terms of the GNU General Public License v2 |
152 |
- |
153 |
-EAPI=5 |
154 |
- |
155 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
156 |
- |
157 |
-inherit java-pkg-2 git-r3 # building from tar.gz snapshots is unsupported |
158 |
- |
159 |
-DESCRIPTION="The Genome Analysis Toolkit" |
160 |
-HOMEPAGE="http://www.broadinstitute.org/gsa/wiki/index.php/The_Genome_Analysis_Toolkit" |
161 |
-EGIT_REPO_URI="https://github.com/broadinstitute/gatk.git" # git tree for >=gatk-4 |
162 |
-EGIT_CLONE_TYPE="mirror" |
163 |
-# building outside of git is not possible, |
164 |
-# see https://github.com/broadinstitute/picard/issues/605 |
165 |
-# |
166 |
-# |
167 |
-# must run 'git clone https://github.com/broadinstitute/gatk.git gatk' |
168 |
-# see https://github.com/broadinstitute/gatk/issues/4687 |
169 |
- |
170 |
-LICENSE="BSD" # since gatk-4 |
171 |
-SLOT="0" |
172 |
- |
173 |
-# gatk-4 needs java-1.8 |
174 |
-DEPEND=" |
175 |
- >=virtual/jdk-1.8 |
176 |
- >=dev-vcs/git-2.5 |
177 |
- >=dev-vcs/git-lfs-1.1.0 |
178 |
- >=dev-java/maven-bin-3.1:* || ( dev-java/netbeans-java ) |
179 |
- dev-java/cofoja |
180 |
- " |
181 |
-RDEPEND=" |
182 |
- >=virtual/jre-1.8 |
183 |
- >=sci-biology/SnpEff-2.0.5 |
184 |
- >=dev-lang/R-3.2.5 |
185 |
- " |
186 |
- |
187 |
-#S="${WORKDIR}/${PN}-${MY_PV}" |
188 |
- |
189 |
-# https://maven.apache.org/settings.html |
190 |
-# The two settings files are located at: |
191 |
-# The Maven installation directory: $M2_HOME/conf/settings.xml |
192 |
-# The user's home directory: ${user.home}/.m2/settings.xml |
193 |
-# |
194 |
-# localRepository: This value is the path of this build system's local repository. |
195 |
-# The default value is ${user.home}/.m2/repository. This element is especially |
196 |
-# useful for a main build server allowing all logged-in users to build from a |
197 |
-# common local repository. |
198 |
-# interactiveMode: true if Maven should attempt to interact with the user for input, |
199 |
-# false if not. Defaults to true. |
200 |
-# usePluginRegistry: true if Maven should use the ${user.home}/.m2/plugin-registry.xml |
201 |
-# file to manage plugin versions, defaults to false. Note that for the current version |
202 |
-# of Maven 2.0, the plugin-registry.xml file should not be depended upon. Consider it |
203 |
-# dormant for now. |
204 |
-# offline: true if this build system should operate in offline mode, defaults to false. |
205 |
-# This element is useful for build servers which cannot connect to a remote repository, |
206 |
-# either because of network setup or security reasons. |
207 |
- |
208 |
-src_prepare() { |
209 |
- default |
210 |
-} |
211 |
- |
212 |
-src_compile(){ |
213 |
- # work around gradle writing $HOME/.gradle, requiring $HOME/.git and $HOME/.m2/ |
214 |
- # https://github.com/samtools/htsjdk/issues/660#issuecomment-232155965 |
215 |
- # make jure SDK-1.8 is available, JRE-1.8 is not enough |
216 |
- # |
217 |
- # https://github.com/broadinstitute/gatk#building |
218 |
- # gradlew tragets are bundle, localJar, sparkJar, ... |
219 |
- GRADLE_USER_HOME="${WORKDIR}" ./gradlew --stacktrace --debug bundle || die |
220 |
-} |
221 |
- |
222 |
-src_install() { |
223 |
- cd build/libs || die |
224 |
- java-pkg_dojar "${PN}".jar |
225 |
- java-pkg_dojar "${PN}"-*-SNAPSHOT.jar |
226 |
- #java-pkg_dolauncher ${PN} --main picard.cmdline.PicardCommandLine |
227 |
- #use source && java-pkg_dosrc "${S}"/src/java/* |
228 |
- #use doc && java-pkg_dojavadoc "${S}"/javadoc |
229 |
- # |
230 |
- # install a bash-completion script gatk-completion.sh into proper place |
231 |
-} |
232 |
|
233 |
diff --git a/sci-biology/gatk/metadata.xml b/sci-biology/gatk/metadata.xml |
234 |
deleted file mode 100644 |
235 |
index 5a54c7fec..000000000 |
236 |
--- a/sci-biology/gatk/metadata.xml |
237 |
+++ /dev/null |
238 |
@@ -1,11 +0,0 @@ |
239 |
-<?xml version="1.0" encoding="UTF-8"?> |
240 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
241 |
-<pkgmetadata> |
242 |
- <maintainer type="project"> |
243 |
- <email>sci-biology@g.o</email> |
244 |
- <name>Gentoo Biology Project</name> |
245 |
- </maintainer> |
246 |
- <upstream> |
247 |
- <remote-id type="github">broadgsa/gatk</remote-id> |
248 |
- </upstream> |
249 |
-</pkgmetadata> |