public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/scala-bin/
Date: Tue, 31 Mar 2020 18:18:56 +0000 (UTC)	[thread overview]
Message-ID: <1585678733.db6fe940274c722b5efe3957e66a0a830cace815.monsieurp@gentoo> (raw)

commit:     db6fe940274c722b5efe3957e66a0a830cace815
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 31 18:18:09 2020 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Mar 31 18:18:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6fe940

dev-lang/scala-bin: version bump.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-lang/scala-bin/Manifest                |  1 +
 dev-lang/scala-bin/scala-bin-2.13.1.ebuild | 76 ++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-lang/scala-bin/Manifest b/dev-lang/scala-bin/Manifest
index 28df49eaab8..f631039e862 100644
--- a/dev-lang/scala-bin/Manifest
+++ b/dev-lang/scala-bin/Manifest
@@ -1 +1,2 @@
 DIST scala-2.12.4.tgz 19741785 BLAKE2B e782a4ac000ffcebc2faaac077cbb3cc13f8cc56deb9b3a78f1bddd3d0e6fd282d70f10cfef0780e4ab6a13e8d51b0401f84829b7974bd8823aecab54476ab02 SHA512 e6a9e11974d3bacc5f5dcdfdb379bdd1b430b1682141bed688f02f8b49395aff7c55cdb8da3319dff55da7bd7cfe7545e9b26db9558316ac8b3e29f6bb2c6d74
+DIST scala-2.13.1.tgz 19685743 BLAKE2B aaff6db71023f539d08da521ab1ff505a626605d9c298472d0c2e98a9a13d6b8440e89cf5ff4a53b7b9bcc48cbc1e3b55cc253563f54f18c369e13fc8c00a6c2 SHA512 028aa237c471cada1501cd5764b3c384c3f50e9fc327cddd3fa7c79e9cc909d86bf84d5fc28103054600f879a60c546fc45a837cdca54964eb57ec77f9c1613e

diff --git a/dev-lang/scala-bin/scala-bin-2.13.1.ebuild b/dev-lang/scala-bin/scala-bin-2.13.1.ebuild
new file mode 100644
index 00000000000..27531fa3d55
--- /dev/null
+++ b/dev-lang/scala-bin/scala-bin-2.13.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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.lightbend.com/${MY_PN}/${PV}/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+	>=virtual/jre-1.6
+	!dev-lang/scala"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+	ebegin 'Cleaning .bat files'
+	rm -f bin/*.bat || die
+	eend $?
+
+	ebegin 'Patching SCALA_HOME variable in bin/ directory'
+	local f
+	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 jline-*.jar jline.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
+}


             reply	other threads:[~2020-03-31 18:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-31 18:18 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-29  6:09 [gentoo-commits] repo/gentoo:master commit in: dev-lang/scala-bin/ Miroslav Šulc
2023-06-28 17:43 Sam James
2023-06-28 13:54 Sam James
2022-09-28 15:39 Florian Schmaus
2021-07-12  7:51 Miroslav Šulc
2021-07-12  6:35 Agostino Sarubbo
2021-07-11 20:51 Sam James
2021-06-08 13:25 Patrice Clement
2021-06-08 13:25 Patrice Clement
2020-06-20 14:37 Patrice Clement
2020-06-20 14:37 Patrice Clement
2019-06-01 21:56 Patrice Clement
2018-06-24 16:53 Patrice Clement
2018-01-05 15:02 Patrice Clement
2017-11-25 14:08 Patrick Lauer
2016-12-19 14:51 Patrice Clement
2016-12-19 14:51 Patrice Clement
2016-12-19 14:51 Patrice Clement
2016-11-27 16:45 Patrice Clement
2015-09-25 20:28 Patrice Clement
2015-09-25 20:28 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1585678733.db6fe940274c722b5efe3957e66a0a830cace815.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox