mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
shells/ammonite: Update to 2.5.1 and MOVE
The authors removed the shell functionality but it is still a good dev-tool. Changelog --------- * Added support for Scala 2.13.8 * Re-added old Main entry point for better compatibility with Ammonite 2.4 and older * Dropped built-in support for shell operations * move from shells/ammonite to devel/ammonite PR: 261191 Reported by: freebsd-ports@jan0sch.de (maintainer)
This commit is contained in:
parent
61375c027e
commit
2d46959df2
1
MOVED
1
MOVED
@ -16773,3 +16773,4 @@ devel/maven31|devel/maven|2022-01-15|Has expired: Outdated, unsupported upstream
|
||||
devel/wasi-compiler-rt12||2022-01-15|Has expired: this ports exists solely for building Firefox 95+ in 2021Q4
|
||||
devel/e2fsprogs-libss||2022-01-17|Folded back into sysutils/e2fsprogs, which was the sole user
|
||||
lang/spidermonkey60|lang/spidermonkey78|2022-01-18|Has expired: Requires python2 to build
|
||||
shells/ammonite|devel/ammonite|2022-01-18|Ammonite dropped built-in shell support
|
||||
|
@ -149,6 +149,7 @@
|
||||
SUBDIR += allegro5
|
||||
SUBDIR += alog
|
||||
SUBDIR += aml
|
||||
SUBDIR += ammonite
|
||||
SUBDIR += amqp-cpp
|
||||
SUBDIR += android-tools-adb
|
||||
SUBDIR += android-tools-fastboot
|
||||
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= ammonite
|
||||
DISTVERSION= 2.5.0
|
||||
CATEGORIES= shells java
|
||||
DISTVERSION= 2.5.1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= https://github.com/lihaoyi/Ammonite/releases/download/${PORTVERSION}/
|
||||
DISTNAME= 2.13-${PORTVERSION}
|
||||
EXTRACT_SUFX=
|
3
devel/ammonite/distinfo
Normal file
3
devel/ammonite/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1642522194
|
||||
SHA256 (ammonite/2.13-2.5.1) = aeaf122ed8f4adbdf9bdcbcfb02ce10c647ddc48c7a14e8a021123b3658803aa
|
||||
SIZE (ammonite/2.13-2.5.1) = 48408804
|
18
devel/ammonite/pkg-message
Normal file
18
devel/ammonite/pkg-message
Normal file
@ -0,0 +1,18 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
To use ammonite fully you should setup a configuration file
|
||||
~/.ammonite/predef.sc. Below is an example:
|
||||
|
||||
interp.load.ivy("com.lihaoyi" %% "os-lib" % "0.8.0")
|
||||
interp.load.ivy("org.typelevel" %% "cats-core" % "2.7.0")
|
||||
|
||||
// This @ is necessary for Ammonite to process the `interp.load.ivy`
|
||||
// before continuing.
|
||||
@
|
||||
import cats._
|
||||
import cats.data._
|
||||
import cats.syntax.all._
|
||||
EOM
|
||||
}
|
||||
]
|
@ -1,7 +1,6 @@
|
||||
COMMENT = Shells
|
||||
|
||||
SUBDIR += 44bsd-csh
|
||||
SUBDIR += ammonite
|
||||
SUBDIR += anongitssh
|
||||
SUBDIR += antibody
|
||||
SUBDIR += ast-ksh
|
||||
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1639380918
|
||||
SHA256 (ammonite/2.13-2.5.0) = 9799063cff2db988b5eadeaef19780639e32a80589651e54ba8a52190ebdbfd6
|
||||
SIZE (ammonite/2.13-2.5.0) = 48405047
|
@ -1,25 +0,0 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
To use ammonite as a shell you must(!) setup a configuration file
|
||||
~/.ammonite/predef.sc with a least the following minimal content:
|
||||
|
||||
interp.load.ivy(
|
||||
"com.lihaoyi" %% "ammonite-ops" % ammonite.Constants.version
|
||||
)
|
||||
interp.load.ivy(
|
||||
"com.lihaoyi" %
|
||||
s"ammonite-shell_${scala.util.Properties.versionNumberString}" %
|
||||
ammonite.Constants.version
|
||||
)
|
||||
// This @ is necessary for Ammonite to process the `interp.load.ivy`
|
||||
// before continuing.
|
||||
@
|
||||
val shellSession = ammonite.shell.ShellSession()
|
||||
import shellSession._
|
||||
import ammonite.ops._
|
||||
import ammonite.shell._
|
||||
ammonite.shell.Configure(interp, repl, wd)
|
||||
EOM
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user