FreeBSD Bugzilla – Attachment 231088 Details for
Bug 261191
shells/ammonite: Update to 2.5.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update and move ammonite
ports-shells-ammonite.patch (text/plain), 4.23 KB, created by
Jens Grassel
on 2022-01-17 17:37:14 UTC
(
hide
)
Description:
Patch to update and move ammonite
Filename:
MIME Type:
Creator:
Jens Grassel
Created:
2022-01-17 17:37:14 UTC
Size:
4.23 KB
patch
obsolete
>From f1a9fd5ccfd05554adc1974019e99dd3dc9cbe76 Mon Sep 17 00:00:00 2001 >From: Jens Grassel <freebsd-ports@jan0sch.de> >Date: Mon, 17 Jan 2022 18:31:03 +0100 >Subject: [PATCH] Remove shells/ammonite and move to devel/ammonite > >--- > MOVED | 1 + > {shells => devel}/ammonite/Makefile | 2 +- > devel/ammonite/distinfo | 3 +++ > {shells => devel}/ammonite/pkg-descr | 0 > devel/ammonite/pkg-message | 18 ++++++++++++++++++ > shells/ammonite/distinfo | 3 --- > shells/ammonite/pkg-message | 25 ------------------------- > 7 files changed, 23 insertions(+), 29 deletions(-) > rename {shells => devel}/ammonite/Makefile (97%) > create mode 100644 devel/ammonite/distinfo > rename {shells => devel}/ammonite/pkg-descr (100%) > create mode 100644 devel/ammonite/pkg-message > delete mode 100644 shells/ammonite/distinfo > delete mode 100644 shells/ammonite/pkg-message > >diff --git a/MOVED b/MOVED >index 3076d08f0273..80be2e8f8b73 100644 >--- a/MOVED >+++ b/MOVED >@@ -16771,3 +16771,4 @@ math/gotoblas|math/openblas|2022-01-15|Remove obsoleted port. Use math/openblas > net/pipsecd||2022-01-15|Has expired: Abandonware, current release is from 1999 and uses insecure encryption algorithms > 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 >+shells/ammonite|devel/ammonite|2022-01-14|Ammonite dropped built-in shell support >diff --git a/shells/ammonite/Makefile b/devel/ammonite/Makefile >similarity index 97% >rename from shells/ammonite/Makefile >rename to devel/ammonite/Makefile >index bcab6b71ccaf..6f1fe681e247 100644 >--- a/shells/ammonite/Makefile >+++ b/devel/ammonite/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= ammonite >-DISTVERSION= 2.5.0 >+DISTVERSION= 2.5.1 > CATEGORIES= shells java > MASTER_SITES= https://github.com/lihaoyi/Ammonite/releases/download/${PORTVERSION}/ > DISTNAME= 2.13-${PORTVERSION} >diff --git a/devel/ammonite/distinfo b/devel/ammonite/distinfo >new file mode 100644 >index 000000000000..9dc3b8f48f66 >--- /dev/null >+++ b/devel/ammonite/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1642153131 >+SHA256 (ammonite/2.13-2.5.1) = aeaf122ed8f4adbdf9bdcbcfb02ce10c647ddc48c7a14e8a021123b3658803aa >+SIZE (ammonite/2.13-2.5.1) = 48408804 >diff --git a/shells/ammonite/pkg-descr b/devel/ammonite/pkg-descr >similarity index 100% >rename from shells/ammonite/pkg-descr >rename to devel/ammonite/pkg-descr >diff --git a/devel/ammonite/pkg-message b/devel/ammonite/pkg-message >new file mode 100644 >index 000000000000..d4757da96fbd >--- /dev/null >+++ b/devel/ammonite/pkg-message >@@ -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 >+} >+] >diff --git a/shells/ammonite/distinfo b/shells/ammonite/distinfo >deleted file mode 100644 >index 7c8d111db107..000000000000 >--- a/shells/ammonite/distinfo >+++ /dev/null >@@ -1,3 +0,0 @@ >-TIMESTAMP = 1639380918 >-SHA256 (ammonite/2.13-2.5.0) = 9799063cff2db988b5eadeaef19780639e32a80589651e54ba8a52190ebdbfd6 >-SIZE (ammonite/2.13-2.5.0) = 48405047 >diff --git a/shells/ammonite/pkg-message b/shells/ammonite/pkg-message >deleted file mode 100644 >index eda1d943cdce..000000000000 >--- a/shells/ammonite/pkg-message >+++ /dev/null >@@ -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 >-} >-] >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261191
:
230999
| 231088