From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A8E4D1395E2 for ; Sun, 27 Nov 2016 16:45:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A8DEE0944; Sun, 27 Nov 2016 16:45:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3E37E0944 for ; Sun, 27 Nov 2016 16:45:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CCF2C34112A for ; Sun, 27 Nov 2016 16:45:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45F6D49A for ; Sun, 27 Nov 2016 16:45:43 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1480265139.282fac066f28a0d442ab5a0833aae810bc0f7317.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/scala-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/scala-bin/Manifest dev-lang/scala-bin/scala-bin-2.11.8.ebuild X-VCS-Directories: dev-lang/scala-bin/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 282fac066f28a0d442ab5a0833aae810bc0f7317 X-VCS-Branch: master Date: Sun, 27 Nov 2016 16:45:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9a6978c7-43cc-4c63-8aa7-8c8502805dff X-Archives-Hash: f86d358c45873ae6834d3c2e3399dc3d commit: 282fac066f28a0d442ab5a0833aae810bc0f7317 Author: Patrice Clement gentoo org> AuthorDate: Sun Nov 27 16:45:23 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sun Nov 27 16:45:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=282fac06 dev-lang/scala-bin: version bump. Package-Manager: portage-2.3.0 dev-lang/scala-bin/Manifest | 1 + dev-lang/scala-bin/scala-bin-2.11.8.ebuild | 81 ++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/dev-lang/scala-bin/Manifest b/dev-lang/scala-bin/Manifest index 63f678a..9e39424 100644 --- a/dev-lang/scala-bin/Manifest +++ b/dev-lang/scala-bin/Manifest @@ -1 +1,2 @@ DIST scala-2.11.7.tgz 28460530 SHA256 ffe4196f13ee98a66cf54baffb0940d29432b2bd820bd0781a8316eec22926d0 SHA512 1603fc6a0a6b3656146eee5650e0a57402d8ce65382220055a4934acb8fa15a81721b3b732ca856566e99c564e8b0a9448c8887668a814765798bea57933e6a3 WHIRLPOOL 808db0b2eddf356ad259b21681a6465b666875da3ebc6f49be3f4c9da7358b36dec0b25b6c243725e92f27311a109f559ffc6f2c31dd19f115d665cff95ed8b5 +DIST scala-2.11.8.tgz 28678231 SHA256 87fc86a19d9725edb5fd9866c5ee9424cdb2cd86b767f1bb7d47313e8e391ace SHA512 c00a0eaa4317c3ffbdbbd9c817f06c5262f0549f22bd7f1886cc22643e34e8909648bbfb58f3a63c453baf045381a52128ff0b18b7a39274ef03aad7daea9fdf WHIRLPOOL dfdd640218b0fa39acb4ba3bb0b43fc82b24b6f5442ab4bca1140b90022dccfd222d9d05c8b790184735e6d254e5d7a06b06f066b7d6ec74166c010298723069 diff --git a/dev-lang/scala-bin/scala-bin-2.11.8.ebuild b/dev-lang/scala-bin/scala-bin-2.11.8.ebuild new file mode 100644 index 00000000..4b58588 --- /dev/null +++ b/dev-lang/scala-bin/scala-bin-2.11.8.ebuild @@ -0,0 +1,81 @@ +# 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 + +DESCRIPTION="The Scala Programming Language" +HOMEPAGE="http://scala.epfl.ch/" +SRC_URI="http://downloads.typesafe.com/scala/${PV}/scala-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=">=virtual/jre-1.6 + !dev-lang/scala" + +S="${WORKDIR}/scala-${PV}" + +src_prepare() { + default + ebegin 'Cleaning .bat files' + rm -f bin/*.bat || die + eend $? + + ebegin 'Patching SCALA_HOME variable in bin/ directory' + for f in bin/*; do + sed -i -e 's#\(SCALA_HOME\)=.*#\1=/usr/share/scala-bin#' $f || die + done + eend $? +} + +src_compile() { + :; +} + +src_install() { + ebegin 'Installing bin scripts' + dobin bin/* + eend $? + + ebegin 'Installing jar files' + cd lib/ || die + + # Unversion those libs + java-pkg_newjar scala-continuations-library_*.jar scala-continuations-library.jar + java-pkg_newjar akka-actor_*.jar akka-actor.jar + java-pkg_newjar config-*.jar config.jar + java-pkg_newjar scala-actors-2.11.0.jar scala-actors.jar + java-pkg_newjar scala-actors-migration_*.jar scala-actors-migration.jar + java-pkg_newjar scala-swing_*.jar scala-swing.jar + java-pkg_newjar scala-parser-combinators_*.jar scala-parser-combinators.jar + java-pkg_newjar scala-xml_*.jar scala-xml.jar + java-pkg_newjar jline-*.jar jline.jar + java-pkg_newjar scala-continuations-plugin_*.jar scala-continuations-plugin.jar + java-pkg_newjar scalap-*.jar scalap.jar + + # Install these the usual way + java-pkg_dojar scala-compiler.jar + java-pkg_dojar scala-library.jar + java-pkg_dojar scala-reflect.jar + + eend $? + + cd ../ || die + + ebegin 'Installing man pages' + doman man/man1/*.1 + eend $? + + if use doc; then + ebegin 'Installing documentation' + java-pkg_dohtml -r doc/tools + eend $? + fi +}