commit:     5a6f8a2dbf1e270b1555fdcd97d3dadece38127d
Author:     Florian Schmaus <flo <AT> geekplace <DOT> eu>
AuthorDate: Fri May 28 21:33:28 2021 +0000
Commit:     Florian Schmaus <flo <AT> geekplace <DOT> eu>
CommitDate: Fri May 28 21:33:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a6f8a2d

dev-lang/ammonite-repl-bin: initial import

Signed-off-by: Florian Schmaus <flo <AT> geekplace.eu>

 dev-lang/ammonite-repl-bin/Manifest                |  1 +
 .../ammonite-repl-bin-2.3.8.ebuild                 | 27 ++++++++++++++++++++++
 dev-lang/ammonite-repl-bin/metadata.xml            |  8 +++++++
 3 files changed, 36 insertions(+)

diff --git a/dev-lang/ammonite-repl-bin/Manifest 
b/dev-lang/ammonite-repl-bin/Manifest
new file mode 100644
index 000000000..70f4c1e25
--- /dev/null
+++ b/dev-lang/ammonite-repl-bin/Manifest
@@ -0,0 +1 @@
+DIST ammonite-2.3.8 46433303 BLAKE2B 
630691d48bc276bb650dc97488a9dc3f76fb1ac48320fbf840acd409ac819682da79995214b0d232bb4735e481b77ae40e820b1f07d852156ad4737deeeffb42
 SHA512 
26d3cbc33e4a2e768789d0764563740fcbc29772bac3d999cb7cddb93f9372c76fd2a9da22cb4bd45d7243eb2cb8d74606a92860fe439a737d6ad862dafe88bd

diff --git a/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.3.8.ebuild 
b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.3.8.ebuild
new file mode 100644
index 000000000..e94379d54
--- /dev/null
+++ b/dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.3.8.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+SCALA_VERSION="2.13"
+
+DESCRIPTION="Scala language-based scripting and REPL"
+HOMEPAGE="https://ammonite.io/";
+SRC_URI="https://github.com/lihaoyi/Ammonite/releases/download/${PV}/${SCALA_VERSION}-${PV}
 -> ammonite-${PV}"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+# Ammonite release binaries seem to package also a full scala
+# distribution, no need ot depend on dev-lang/scala(-bin).
+# RDEPEND="
+#      >=dev-lang/scala-bin-${SCALA_VERSION}
+# "
+
+S="${WORKDIR}"
+
+src_install() {
+       newbin "${DISTDIR}/ammonite-${PV}" amm
+}

diff --git a/dev-lang/ammonite-repl-bin/metadata.xml 
b/dev-lang/ammonite-repl-bin/metadata.xml
new file mode 100644
index 000000000..bdf5f6f4f
--- /dev/null
+++ b/dev-lang/ammonite-repl-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type='person'>
+               <email>f...@geekplace.eu</email>
+               <name>Florian Schmaus</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to