pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/elixir



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Tue Sep  4 13:49:25 UTC 2018

Modified Files:
        pkgsrc/lang/elixir: Makefile PLIST distinfo

Log Message:
lang/elixir: Update to 1.7.3.

v1.7.3
======

1. Bug fixes

ExUnit
- [ExUnit.Assertions] Do not attempt to expand `try/1` as it is a
  special form

Mix
- [mix compile.app] Do not include applications with `runtime: false`
  as a runtime dependency for applications coming from Hex

v1.7.2
======

1. Bug fixes

Elixir
- [DateTime] Take negative years into account in
  `DateTime.from_iso8601/1`
- [Kernel] Do not emit warnings for repeated docs over different
  clauses due to false positives

Mix
- [mix compile] Properly mark top-level dependencies as optional and
  as runtime. This fixes a bug where Mix attempted to start optional
  dependencies of a package when those optional dependencies were not
  available
- [mix compile] Avoid deadlock when a config has a timestamp later
  than current time
- [mix help] Show task and alias help when both are available
- [mix test] Do not fail suite if there are no test files

v1.7.1
======

1. Bug fixes

Elixir
- [Calendar] Work-around a Dialyzer bug that causes it to loop for a
  long time, potentially indefinitely

v1.7.0
======

1. Enhancements

Elixir
- [Calendar.ISO] Support negative dates in `Calendar.ISO`
- [Calendar] Add `Calendar.months_in_year/1` callback
- [Code] Add `Code.compile_file/2` that compiles files without leaving
  footprints on the system
- [Code] Add `Code.purge_compiler_modules/0` that purges any compiler
  module left behind. This is useful for live systems dynamically
  compiling code
- [Code] Add `Code.fetch_docs/1` that returns docs in the [EEP
  48](http://erlang.org/eep/eeps/eep-0048.html) format
- [Date] Add `Date.months_in_year/1` function
- [DynamicSupervisor] Use the name of the `DynamicSupervisor` as the
  ID whenever possible
- [Exception] Provide "did you mean" suggestions on KeyError
- [Exception] Provide more information on ArithmeticError on
  Erlang/OTP 21+
- [Function] Add `Function` module with `capture/3`, `info/1` and
  `info/2` functions
- [GenServer] Support the new `handle_continue/2` callback on
  Erlang/OTP 21+
- [IO.ANSI] Add cursor movement to `IO.ANSI`
- [Kernel] Support adding arbitrary documentation metadata by passing
  a keyword list to `@doc`, `@moduledoc` and `@typedoc`
- [Kernel] Introduce `__STACKTRACE__` to retrieve the current
  stacktrace inside `catch`/`rescue` (this will be a requirement for
  Erlang/OTP 21+)
- [Kernel] Raise on unsafe variables in order to allow us to better
  track unused variables
- [Kernel] Warn when using `length` to check if a list is not empty on
  guards
- [Kernel] Add hints on mismatched `do`/`end` and others pairs
- [Kernel] Warn when comparing structs using the `>`, `<`, `>=` and
  `<=` operators
- [Kernel] Warn on unsupported nested comparisons such as `x < y < z`
- [Kernel] Warn if redefining documentation across clauses of the same
  definition
- [Kernel] Warn on unnecessary quotes around atoms, keywords and calls
- [Macro] Add `Macro.special_form?/2` and `Macro.operator?/2` that
  returns `true` if the given name/arity is a special form or operator
  respectively
- [Macro.Env] Add `Macro.Env.vars/1` and `Macro.Env.has_var?/2` that
  gives access to environment data without accessing private fields
- [Regex] Include endianness in the regex version. This allows regexes
  to be recompiled when an archive is installed in a system with a
  different endianness
- [Registry] Add `Registry.count/1` and `Registry.count_match/4`
- [String] Update to Unicode 11
- [StringIO] Add `StringIO.open/3`
- [System] Use ISO 8601 in `System.build_info/0`

ExUnit
- [ExUnit.Assertion] Print the arguments in error reports when
  asserting on a function call. For example, if `assert is_list(arg)`
  fails, the argument will be shown in the report
- [ExUnit.Diff] Improve diffing of lists when one list is a subset of
  the other
- [ExUnit.DocTest] Show colored diffs on failed doctests
- [ExUnit.Formatter] Excluded tests, via the `--exclude` and `--only`
  flags, are now shown as "Excluded" in reports. Tests skipped via
  `@tag :skip` are now exclusively shown as "Skipped" and in yellow

IEx
- [IEx.Helpers] Add `use_if_available/2`
- [IEx.Helpers] Allow `force: true` option in `recompile/1`
- [IEx.Helpers] Add `:allocators` pane to `runtime_info/1`
- [IEx.Helpers] Show documentation metadata in `h/1` helpers

Logger
- [Logger] Ensure nil metadata is always pruned
- [Logger] Only evaluate Logger macro arguments when the message will
  be logged
- [Logger] Add `:compile_time_purge_matching` to purge logger calls
  that match certain compile time metadata, such as module names and
  application names
- [Logger] Log to `:stderr` if a backend fails and there are no other
  backends
- [Logger] Allow translators to return custom metadata
- [Logger] Return `:crash_reason`, `:initial_call` and
  `:registered_name` as metadata in crash reports coming from
  Erlang/OTP

Mix
- [mix archive.install] Add support for the Hex organization via
  `--organization`
- [mix archive.uninstall] Support `--force` flag
- [mix compile] Improve support for external build tools such as
  `rebar`
- [mix deps] Include `override: true` in rebar dependencies to make
  the behaviour closer to how rebar3 works (although diverged deps are
  still marked as diverged)
- [mix escript.install] Add support for the Hex organization via
  `--organization`
- [mix escript.uninstall] Support `--force` flag
- [mix help] Also list aliases
- [mix local] Use ipv6 with auto fallback to ipv4 when downloading
  data
- [mix profile] Allow all profiling tasks to run programatically
- [mix test] Add `--failed` option that only runs previously failed
  tests
- [mix test] Print coverage summary by default when the `--cover` flag
  is given
- [Mix.Project] Add `Mix.Project.clear_deps_cache/0`
- [Mix.Project] Add `Mix.Project.config_mtime/0` that caches the
  config mtime values to avoid filesystem access

2. Bug fixes

Elixir
- [IO.ANSI.Docs] Fix table column alignment when converting docs to
  ANSI escapes
- [Code] Ensure `string_to_quoted` returns error tuples instead of
  raising in certain constructs
- [Code.Formatter] Consistently format keyword lists in function calls
  with and without parens
- [Code.Formatter] Do not break after `->` when there are only
  comments and one-line clauses
- [File] Allow the `:trim_bom` option to be used with `:encoding`
- [Kernel] Raise on unsafe variables as some of the code emitted with
  unsafe variables would not correctly propagate variables or would
  disable tail call optimization semantics
- [Kernel] Do not crash on dynamic sizes in binary generators with
  collectable into in comprehensions
- [Kernel] Do not crash on literals with non-unary size in binary
  generators with collectable into in comprehensions
- [Task] Improve error reports and exit reasons for failed tasks on
  Erlang/OTP 20+

ExUnit
- [ExUnit.Case] Raise proper error if `@tag` and `@moduletag` are used
  before `use ExUnit.Case`
- [ExUnit.Case] Raise proper error if `@describetag` is used outside
  of `describe/2` blocks
- [ExUnit.DocTest] Emit proper assertion error on doctests with
  invalid UTF-8

Mix
- [mix archive.install] Fetch optional dependencies when installing an
  archive from Git/Hex
- [mix compile] Properly track config files in umbrella projects and
  recompile when any relevant umbrella configuration changes
- [mix deps] Ensure the same dependency from different SCMs are tagged
  as diverged when those SCMs are remote and non-remote
- [mix deps] Ensure we re-run dependency resolution when overriding a
  skipped dep in umbrella
- [mix deps.compile] Perform clean builds for dependencies on outdated
  locks to avoid old modules from affecting future compilation
- [mix escript.install] Fetch optional dependencies when installing an
  escript from Git/Hex

3. Soft-deprecations (no warnings emitted)

Elixir
- [Code] Deprecate `Code.load_file/2` in favor of
  `Code.compile_file/2`
- [Code] Deprecate `Code.loaded_files/0` in favor of
  `Code.required_files/0`
- [Code] Deprecate `Code.unload_files/1` in favor of
  `Code.unrequire_files/1`

Logger
- [Logger] `compile_time_purge_level` is deprecated in favor of
  `compile_time_purge_matching`

4. Hard-deprecations

Elixir
- [Code] `Code.get_docs/2` is deprecated in favor of
  `Code.fetch_docs/1`
- [Enum] `Enum.chunk/2/3/4` is deprecated in favor of
  `Enum.chunk_every/2/3/4` - notice `chunk_every` does not discard
  incomplete chunks by default
- [GenServer] Warn if `super` is used in any of the GenServer
  callbacks
- [Kernel] `not left in right` is ambiguous and is deprecated in favor
  of `left not in right`
- [Kernel] Warn on confusing operator sequences, such as `1+++1`
  meaning `1 ++ +1` or `........` meaning `... .. ...`
- [OptionParser] Deprecate dynamic option parser mode that depended on
  atoms to be previously loaded and therefore behaved inconsistently
- [Stream] `Stream.chunk/2/3/4` is deprecated in favor of
  `Stream.chunk_every/2/3/4` - notice `chunk_every` does not discard
  incomplete chunks by default


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/elixir/Makefile \
    pkgsrc/lang/elixir/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/elixir/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/elixir/Makefile
diff -u pkgsrc/lang/elixir/Makefile:1.7 pkgsrc/lang/elixir/Makefile:1.8
--- pkgsrc/lang/elixir/Makefile:1.7     Mon May 14 15:57:13 2018
+++ pkgsrc/lang/elixir/Makefile Tue Sep  4 13:49:25 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2018/05/14 15:57:13 fhajny Exp $
+# $NetBSD: Makefile,v 1.8 2018/09/04 13:49:25 fhajny Exp $
 
-DISTNAME=              elixir-1.6.5
+DISTNAME=              elixir-1.7.3
 CATEGORIES=            lang
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=elixir-lang/}
 
@@ -23,7 +23,3 @@ REPLACE_FILES.elixir= bin/mix
 BUILD_TARGET=          compile
 
 .include "../../mk/bsd.pkg.mk"
-
-MAKE_ENV+=LC_CTYPE="en_US.UTF-8"
-MAKE_ENV+=LC_LANG="en_US.UTF-8"
-MAKE_ENV+=LC_ALL=""
Index: pkgsrc/lang/elixir/distinfo
diff -u pkgsrc/lang/elixir/distinfo:1.7 pkgsrc/lang/elixir/distinfo:1.8
--- pkgsrc/lang/elixir/distinfo:1.7     Mon May 14 15:57:13 2018
+++ pkgsrc/lang/elixir/distinfo Tue Sep  4 13:49:25 2018
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2018/05/14 15:57:13 fhajny Exp $
+$NetBSD: distinfo,v 1.8 2018/09/04 13:49:25 fhajny Exp $
 
-SHA1 (elixir-1.6.5.tar.gz) = 054636aa0b8a8fc148bbd67526f1a9ecd57ebf3f
-RMD160 (elixir-1.6.5.tar.gz) = 3bf929140199a4f5e728b3bc7d33cb5f2f9edd19
-SHA512 (elixir-1.6.5.tar.gz) = e2cf9c2d9198da32cefb841cae4ce64bb52eb28239bbffb6d991916cfdee420b242773664efa7381eb4609c67438ab608f5f96ca2c403b54ecdd9bfdddf91a95
-Size (elixir-1.6.5.tar.gz) = 2075889 bytes
+SHA1 (elixir-1.7.3.tar.gz) = ec476ad1ef116d0dbb04d9065befad38ecfe8e1e
+RMD160 (elixir-1.7.3.tar.gz) = b248cf3675a738dd063d9df110faefb6f4b5026a
+SHA512 (elixir-1.7.3.tar.gz) = 67c8de5a85eefc5f7d7ed42ec8b96cb34937cea6c94eb1f2c27237fc0b4c51b2eb39d65c2a4dce4788cb6ed1879fb1839cd8d73c66be71b0b4895952dc228f05
+Size (elixir-1.7.3.tar.gz) = 2140430 bytes
 SHA1 (patch-Makefile) = 10df6513be32d9ef5e62e89d80df917c4fb669a1

Index: pkgsrc/lang/elixir/PLIST
diff -u pkgsrc/lang/elixir/PLIST:1.2 pkgsrc/lang/elixir/PLIST:1.3
--- pkgsrc/lang/elixir/PLIST:1.2        Mon Jan 22 14:59:53 2018
+++ pkgsrc/lang/elixir/PLIST    Tue Sep  4 13:49:25 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/01/22 14:59:53 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/09/04 13:49:25 fhajny Exp $
 bin/elixir
 bin/elixirc
 bin/iex
@@ -35,6 +35,7 @@ lib/elixir/lib/elixir/ebin/Elixir.CaseCl
 lib/elixir/lib/elixir/ebin/Elixir.Code.Formatter.beam
 lib/elixir/lib/elixir/ebin/Elixir.Code.Identifier.beam
 lib/elixir/lib/elixir/ebin/Elixir.Code.LoadError.beam
+lib/elixir/lib/elixir/ebin/Elixir.Code.Typespec.beam
 lib/elixir/lib/elixir/ebin/Elixir.Code.beam
 lib/elixir/lib/elixir/ebin/Elixir.Collectable.BitString.beam
 lib/elixir/lib/elixir/ebin/Elixir.Collectable.File.Stream.beam
@@ -77,6 +78,7 @@ lib/elixir/lib/elixir/ebin/Elixir.File.S
 lib/elixir/lib/elixir/ebin/Elixir.File.Stream.beam
 lib/elixir/lib/elixir/ebin/Elixir.File.beam
 lib/elixir/lib/elixir/ebin/Elixir.Float.beam
+lib/elixir/lib/elixir/ebin/Elixir.Function.beam
 lib/elixir/lib/elixir/ebin/Elixir.FunctionClauseError.beam
 lib/elixir/lib/elixir/ebin/Elixir.GenEvent.Stream.beam
 lib/elixir/lib/elixir/ebin/Elixir.GenEvent.beam
@@ -258,6 +260,7 @@ lib/elixir/lib/ex_unit/ebin/Elixir.ExUni
 lib/elixir/lib/ex_unit/ebin/Elixir.ExUnit.DuplicateDescribeError.beam
 lib/elixir/lib/ex_unit/ebin/Elixir.ExUnit.DuplicateTestError.beam
 lib/elixir/lib/ex_unit/ebin/Elixir.ExUnit.EventManager.beam
+lib/elixir/lib/ex_unit/ebin/Elixir.ExUnit.FailuresManifest.beam
 lib/elixir/lib/ex_unit/ebin/Elixir.ExUnit.Filters.beam
 lib/elixir/lib/ex_unit/ebin/Elixir.ExUnit.Formatter.beam
 lib/elixir/lib/ex_unit/ebin/Elixir.ExUnit.MultiError.beam
@@ -304,6 +307,7 @@ lib/elixir/lib/iex/ebin/iex.app
 lib/elixir/lib/logger/ebin/Elixir.Logger.App.beam
 lib/elixir/lib/logger/ebin/Elixir.Logger.Backends.Console.beam
 lib/elixir/lib/logger/ebin/Elixir.Logger.Config.beam
+lib/elixir/lib/logger/ebin/Elixir.Logger.ErlangHandler.beam
 lib/elixir/lib/logger/ebin/Elixir.Logger.ErrorHandler.beam
 lib/elixir/lib/logger/ebin/Elixir.Logger.Formatter.beam
 lib/elixir/lib/logger/ebin/Elixir.Logger.Translator.beam
@@ -316,8 +320,6 @@ lib/elixir/lib/mix/ebin/Elixir.Mix.CLI.b
 lib/elixir/lib/mix/ebin/Elixir.Mix.Compilers.Elixir.beam
 lib/elixir/lib/mix/ebin/Elixir.Mix.Compilers.Erlang.beam
 lib/elixir/lib/mix/ebin/Elixir.Mix.Compilers.Test.beam
-lib/elixir/lib/mix/ebin/Elixir.Mix.Config.Agent.beam
-lib/elixir/lib/mix/ebin/Elixir.Mix.Config.LoadError.beam
 lib/elixir/lib/mix/ebin/Elixir.Mix.Config.beam
 lib/elixir/lib/mix/ebin/Elixir.Mix.Dep.Converger.beam
 lib/elixir/lib/mix/ebin/Elixir.Mix.Dep.ElixirSCM.beam



Home | Main Index | Thread Index | Old Index