1 |
commit: 59f44c3fac51829942d16ebdda1b428b86cf53d8 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 1 21:26:37 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 1 21:26:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f44c3f |
7 |
|
8 |
dev-java/sbt: do not specify SV in DEPEND/RDEPEND. |
9 |
|
10 |
This trick is required for Portage to solve forward dependencies and |
11 |
clear QA warnings. |
12 |
|
13 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
14 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
15 |
|
16 |
dev-java/sbt/sbt-0.13.13.ebuild | 17 +++++++++-------- |
17 |
1 file changed, 9 insertions(+), 8 deletions(-) |
18 |
|
19 |
diff --git a/dev-java/sbt/sbt-0.13.13.ebuild b/dev-java/sbt/sbt-0.13.13.ebuild |
20 |
index 16862a31628..7191e9414ff 100644 |
21 |
--- a/dev-java/sbt/sbt-0.13.13.ebuild |
22 |
+++ b/dev-java/sbt/sbt-0.13.13.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2018 Gentoo Foundation |
25 |
+# Copyright 1999-2018 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI="6" |
29 |
@@ -9,8 +9,6 @@ inherit eutils java-pkg-2 # git-r3 |
30 |
L_PN="sbt-launch" |
31 |
L_P="${L_PN}-${PV}" |
32 |
|
33 |
-SV="2.11" |
34 |
- |
35 |
DESCRIPTION="sbt is a build tool for Scala and Java projects that aims to do the basics well" |
36 |
HOMEPAGE="https://www.scala-sbt.org/" |
37 |
EGIT_COMMIT="v${PV}" |
38 |
@@ -30,10 +28,13 @@ SLOT="0" |
39 |
KEYWORDS="amd64 x86" |
40 |
IUSE="binary" |
41 |
|
42 |
-DEPEND=">=virtual/jdk-1.8 |
43 |
- >=dev-lang/scala-2.11.8:${SV}" |
44 |
-RDEPEND=">=virtual/jre-1.8 |
45 |
- >=dev-lang/scala-2.11.8:${SV}" |
46 |
+DEPEND=" |
47 |
+ >=virtual/jdk-1.8 |
48 |
+ dev-lang/scala" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=virtual/jre-1.8 |
52 |
+ dev-lang/scala" |
53 |
|
54 |
# test hangs or fails |
55 |
RESTRICT="test" |
56 |
@@ -155,7 +156,7 @@ src_test() { |
57 |
src_install() { |
58 |
# Place sbt-launch.jar at the end of the CLASSPATH |
59 |
java-pkg_dojar $(find "${WORKDIR}"/.ivy2/local -name \*.jar -print | grep -v sbt-launch.jar) \ |
60 |
- $(find "${WORKDIR}"/.ivy2/local -name sbt-launch.jar -print) |
61 |
+ $(find "${WORKDIR}"/.ivy2/local -name sbt-launch.jar -print) |
62 |
local ja="-Dsbt.version=${PV} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled" |
63 |
java-pkg_dolauncher sbt --jar sbt-launch.jar --java_args "${ja}" |
64 |
} |