commit: 6f225eb9ffab9a85d300feebf090439d8a5db8e1
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 14:50:18 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 14:50:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f225eb9
dev-lang/scala-bin: minor cleanup.
Package-Manager: portage-2.3.0
dev-lang/scala-bin/scala-bin-2.11.8.ebuild | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/dev-lang/scala-bin/scala-bin-2.11.8.ebuild
b/dev-lang/scala-bin/scala-bin-2.11.8.ebuild
index e89885f..6c3ec37 100644
--- a/dev-lang/scala-bin/scala-bin-2.11.8.ebuild
+++ b/dev-lang/scala-bin/scala-bin-2.11.8.ebuild
@@ -1,26 +1,29 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-
EAPI=6
JAVA_PKG_IUSE="doc"
inherit java-pkg-2
+MY_PN="${PN%-*}"
+MY_P="${MY_PN}-${PV}"
+
DESCRIPTION="The Scala Programming Language"
HOMEPAGE="http://scala.epfl.ch/"
-SRC_URI="http://downloads.typesafe.com/scala/${PV}/scala-${PV}.tgz"
+SRC_URI="http://downloads.lightbend.com/${MY_PN}/${PV}/${MY_P}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
-RDEPEND=">=virtual/jre-1.6
+RDEPEND="
+ >=virtual/jre-1.6
!dev-lang/scala"
-S="${WORKDIR}/scala-${PV}"
+S="${WORKDIR}/${MY_P}"
src_prepare() {
default