Skip to content

Commit

Permalink
dev-lang/ammonite-repl-bin: add 2.5.8
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Schmaus <[email protected]>
  • Loading branch information
Flowdalic committed Feb 10, 2023
1 parent c05c68d commit e9916bd
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-lang/ammonite-repl-bin/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ DIST ammonite-repl-bin-2.5.5-3.1 54766874 BLAKE2B 5bcf183eedad202b34c971253f73cf
DIST ammonite-repl-bin-2.5.6-2.13 54860357 BLAKE2B 9a3cdbfb0c9ed228214353f5e25a22b7c3cb7480024de680185e8399564012c895e6f73d20555a11e1724fc8b36c9f597af5a67e5d7e951b104f8089eacb06f9 SHA512 97ff31819cbf45384175df899fe7b72bbc8fa97ff97de62c70d2d20f536a4066fb1a4e262364ef9c49865f57062d50fdd87338034fcc108b688fb3b424d7e2c0
DIST ammonite-repl-bin-2.5.6-3.0 60096793 BLAKE2B 4f4218ea1e09f879be72eb67c8c3538004ba221369a172ff7b3da3c6b0d5538c3499f620fb7e9af9a7b23011456452a94fcd2cde04e1b666693e1f1ff5a7f3b0 SHA512 e1968fc2b838e08bd2f7c2dabdeb5f612088549dbc4091b169eab26bcdc16c4c9f2e1d37857a4c161efdff8f05dd5579eff185683ecc758b86f9702d5932d592
DIST ammonite-repl-bin-2.5.6-3.1 61179318 BLAKE2B 84be1ee7d862ff05bab8bd9f168f77ade35235778fb09c9cd46c02fa8c22b648103615dc04bef517737b41f0799c69ac801a094752736903839d724163fa1c40 SHA512 709d721797c6aeeb1cd72c8ec75b1fa37cdefcc9ddde4de2e9231e7a3745958788128dc4a3d39e289bd35132051d77b06a73f3de8a9a34d157b68330b30437a8
DIST ammonite-repl-bin-2.5.8-2.13 54860380 BLAKE2B 0cd77d60a540591ea8ad1fa5d85e318120c3605d486a29d631e7a68081f680bc8fe3e28b9dd569bfa478d10b69505416f425368ef9b976ece0f6f1362523f872 SHA512 111a5c1de707fab79b46ce78c31bd66d1370ce1c7f61bd53a4cb5be941426389f5c1bafec09555c39922dff4a221e3b9f2c72175c32e3fb0c47336080cb8a5e2
DIST ammonite-repl-bin-2.5.8-3.0 60096866 BLAKE2B 3b48b6beb3000d16c8e5564435a38003dabf168b3ec28e54c50e5220b55a73b7b7aafd9995d3a17f16646366374938b67d528b4351125a66113fe0befcb3057f SHA512 90c87cf9c5525f8a5810a9cb10b0001883df9980b861ae5e60e80792cdd7481b8d15615c006a032a8bd7bd6d365c2270379d9fc525f9a87eade67273a3145d15
DIST ammonite-repl-bin-2.5.8-3.1 61179360 BLAKE2B d6c538bd88146024ef83e3aa651e2b1759aaa148758a3ccdbc47c071826b7f38fb6f013b9a49f2e0eb9d997e2cafcd28ea9f00d5d3120a9ad2eea86aa2d05862 SHA512 70aef39a7ef0f7a5022192474bde19d13591b5c4d069c91a8e63b2649fc744c02718b231faba8ec91779fde602b930b3e50926c6efa6532996ee5afb6358d74c
45 changes: 45 additions & 0 deletions dev-lang/ammonite-repl-bin/ammonite-repl-bin-2.5.8.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Scala language-based scripting and REPL"
HOMEPAGE="https://ammonite.io/"

SRC_URI="
scala2-13? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/2.13-${PV} -> ${P}-2.13 )
scala3-0? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.0-${PV} -> ${P}-3.0 )
scala3-1? ( https://github.com/com-lihaoyi/Ammonite/releases/download/${PV}/3.1-${PV} -> ${P}-3.1 )
"

KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"

S="${WORKDIR}"

RDEPEND=">=virtual/jre-1.8:*"

IUSE="+scala2-13 scala3-0 +scala3-1"
REQUIRED_USE="|| ( scala2-13 scala3-0 scala3-1 )"

src_unpack() {
:
}

src_install() {
local last_amm
if use scala3-1; then
newbin "${DISTDIR}"/${P}-3.1 amm-3.1
last_amm=amm-3.1
fi
if use scala3-0; then
newbin "${DISTDIR}"/${P}-3.0 amm-3.0
last_amm=amm-3.0
fi
if use scala2-13; then
newbin "${DISTDIR}"/${P}-2.13 amm-2.13
last_amm=amm-2.13
fi
dosym $last_amm /usr/bin/amm
}

0 comments on commit e9916bd

Please sign in to comment.