pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/elixir Update to 1.14.2. From the changelog:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acd203fe8eaf
branches:  trunk
changeset: 390706:acd203fe8eaf
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Dec 27 16:55:12 2022 +0000

description:
Update to 1.14.2. From the changelog:


## v1.14.2 (2022-11-11)

### 1. Enhancements

#### Elixir

  * [Code] Add `Code.eval_quoted_with_env/4` with support for the
    `:prune_binding` option

#### ExUnit

  * [ExUnit.Case] Allow test cases to not be registered on use
  * [ExUnit.DocTest] Include `:doctest` and `:doctest_line` as meta tags
  * [ExUnit.Formatter] Expose `ExUnit.Formatter.format_assertion_diff/4`

#### Mix

  * [Mix] `Mix.install/2` accepts atoms as paths

### 2. Bug fixes

#### Elixir

  * [Code.Formatter] Fix `size*unit` shortcut in bitstring
  * [Kernel] Generate unique variables for macro expansion of `defguard`
  * [Protocol] Expand `:for` in protocols with the appropriate env

#### ExUnit

  * [ExUnit] Do not run duplicate cases on `ExUnit.run/1`

#### Mix

  * [mix test] Ensure proper error message when there is no test directory


## v1.14.1 (2022-10-10)

### 1. Enhancements

#### Elixir

  * [Kernel] Perform partial expansion of literals in module attributes
  * [Kernel] Do not add compile-time dependencies for literals as
    defaults in `Application.compile_env/3` inside module attributes
  * [Macro] Add `Macro.expand_literals/2` and `Macro.expand_literals/3`
  * [System] Add `:close_stdin` to `System.shell/2`

#### Mix

  * [mix test] Accept `--all-warnings` option

## 2. Bug fixes

#### Elixir

  * [Kernel] Fix misleading warning when `:uniq` is given in `for`
    comprehensions and the result is unused
  * [Kernel] Improve error message for when there is a conflicting
    struct and ignoring module conflict
  * [Kernel] Do not delete `@enforce_keys` attribute after `defstruct`
    declaration
  * [Kernel] Do not crash the checker on modules with missing
    `:debug_info` chunk
  * [Macro] Fix error in `Macro.to_string/2` when converting an AST with
    `:erlang.binary_to_atom/2`
  * [String] Fix `String.split/3` and `String.next_grapheme/1` returning
    invalid results on invalid UTF-8 encoding
  * [System] Do not close stdin by default in `System.shell/2`
  * [URI] Do not return `uri.port` as `:undefined` in certain cases in
    `URI.new/1`

#### ExUnit

  * [ExUnit.DocTest] Do not crash when both `:moduledoc` and functions
    are specified in `:only`

#### IEx

  * [CLI] Fix invalid argument handling when `--no-pry` is given

#### Mix

  * [mix format] Do not cache inputs from `.formatter.exs` so they are
    properly re-evaluted on every call

diffstat:

 lang/elixir/Makefile |  6 +++---
 lang/elixir/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r c2bb780120d5 -r acd203fe8eaf lang/elixir/Makefile
--- a/lang/elixir/Makefile      Tue Dec 27 16:51:21 2022 +0000
+++ b/lang/elixir/Makefile      Tue Dec 27 16:55:12 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2022/10/15 18:13:42 triaxx Exp $
+# $NetBSD: Makefile,v 1.29 2022/12/27 16:55:12 schmonz Exp $
 
-DISTNAME=      elixir-1.14.0
+DISTNAME=      elixir-1.14.2
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=elixir-lang/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -10,7 +10,7 @@
 COMMENT=       Functional, meta-programming aware language built on top of Erlang VM
 LICENSE=       apache-2.0
 
-DEPENDS+=      erlang>=21.0:../../lang/erlang
+DEPENDS+=      erlang>=23.0:../../lang/erlang
 
 UNLIMIT_RESOURCES=     datasize virtualsize
 
diff -r c2bb780120d5 -r acd203fe8eaf lang/elixir/distinfo
--- a/lang/elixir/distinfo      Tue Dec 27 16:51:21 2022 +0000
+++ b/lang/elixir/distinfo      Tue Dec 27 16:55:12 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.26 2022/10/15 18:13:42 triaxx Exp $
+$NetBSD: distinfo,v 1.27 2022/12/27 16:55:12 schmonz Exp $
 
-BLAKE2s (elixir-1.14.0.tar.gz) = 8e66a58fe06219b363b7b0c9c495c39dcb4761534dcf0d1bb7204e697162fd26
-SHA512 (elixir-1.14.0.tar.gz) = 74fa0364260710e7139474437846035aaa764fcc138bedd7c15dd729c72242f56a9d99232524d99701b811e2ddebed84c27586351f4b88cb0091f89fada43ad6
-Size (elixir-1.14.0.tar.gz) = 3067581 bytes
+BLAKE2s (elixir-1.14.2.tar.gz) = e46e4be8fd1f56437625e7603b2b4b9f50dc29ada4d6f5d6ebc3c58d30820eb8
+SHA512 (elixir-1.14.2.tar.gz) = ec492464553aa6bdaa37dbfd07b1fdc00d398242e269e73893d75b615e0fc44d360b2347378c45982281feed8d0c34c7fbdd09101ca12df0f7073cf52e43f04e
+Size (elixir-1.14.2.tar.gz) = 3085613 bytes
 SHA1 (patch-Makefile) = 9b7a1aeef4367b7315fd7a91c53ff533aeaa0aff



Home | Main Index | Thread Index | Old Index