diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2018-11-01 22:26:37 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-11-01 22:26:37 +0100 |
commit | 59f44c3fac51829942d16ebdda1b428b86cf53d8 (patch) | |
tree | 3ee0513ccda811f7bf97612e2fbe076cc1464284 /dev-java | |
parent | x11-base/xorg-server: Don't install empty directory (diff) | |
download | gentoo-59f44c3fac51829942d16ebdda1b428b86cf53d8.tar.gz gentoo-59f44c3fac51829942d16ebdda1b428b86cf53d8.tar.bz2 gentoo-59f44c3fac51829942d16ebdda1b428b86cf53d8.zip |
dev-java/sbt: do not specify SV in DEPEND/RDEPEND.
This trick is required for Portage to solve forward dependencies and
clear QA warnings.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sbt/sbt-0.13.13.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-java/sbt/sbt-0.13.13.ebuild b/dev-java/sbt/sbt-0.13.13.ebuild index 16862a31628e..7191e9414ff8 100644 --- a/dev-java/sbt/sbt-0.13.13.ebuild +++ b/dev-java/sbt/sbt-0.13.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -9,8 +9,6 @@ inherit eutils java-pkg-2 # git-r3 L_PN="sbt-launch" L_P="${L_PN}-${PV}" -SV="2.11" - DESCRIPTION="sbt is a build tool for Scala and Java projects that aims to do the basics well" HOMEPAGE="https://www.scala-sbt.org/" EGIT_COMMIT="v${PV}" @@ -30,10 +28,13 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="binary" -DEPEND=">=virtual/jdk-1.8 - >=dev-lang/scala-2.11.8:${SV}" -RDEPEND=">=virtual/jre-1.8 - >=dev-lang/scala-2.11.8:${SV}" +DEPEND=" + >=virtual/jdk-1.8 + dev-lang/scala" + +RDEPEND=" + >=virtual/jre-1.8 + dev-lang/scala" # test hangs or fails RESTRICT="test" @@ -155,7 +156,7 @@ src_test() { src_install() { # Place sbt-launch.jar at the end of the CLASSPATH java-pkg_dojar $(find "${WORKDIR}"/.ivy2/local -name \*.jar -print | grep -v sbt-launch.jar) \ - $(find "${WORKDIR}"/.ivy2/local -name sbt-launch.jar -print) + $(find "${WORKDIR}"/.ivy2/local -name sbt-launch.jar -print) local ja="-Dsbt.version=${PV} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled" java-pkg_dolauncher sbt --jar sbt-launch.jar --java_args "${ja}" } |