head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.28 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.26 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.24 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.22 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.20 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.18 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.16 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.14 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.12 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.10 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.8 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.6 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.4 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.2 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.4.0.26 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.24 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.22 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.20 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.18 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.16 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.14 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.12 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.10 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.8 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.4 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.6 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.2 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.3.0.6 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.4 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.2 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.2.0.6 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.4 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.2 pkgsrc-2018Q1-base:1.2; locks; strict; comment @# @; 1.5 date 2022.10.15.18.13.42; author triaxx; state Exp; branches; next 1.4; commitid 1YaWt0eZQ636kQXD; 1.4 date 2019.08.01.09.52.52; author nia; state Exp; branches; next 1.3; commitid ZdWAfrTXBj1KbjxB; 1.3 date 2018.10.11.12.10.09; author jperkin; state Exp; branches; next 1.2; commitid H0eG8veXXH6UoxVA; 1.2 date 2018.01.30.16.27.11; author fhajny; state Exp; branches; next 1.1; commitid Zk8W6WJpwCtfZUoA; 1.1 date 2018.01.03.13.06.17; author fhajny; state Exp; branches; next ; commitid 54oIr0xM84XTJqlA; desc @@ 1.5 log @elixir: Update to 1.14.0 upstream changes: ----------------- v1.14 o https://github.com/elixir-lang/elixir/blob/v1.14/CHANGELOG.md v1.13 o https://github.com/elixir-lang/elixir/blob/v1.13/CHANGELOG.md @ text @$NetBSD: patch-Makefile,v 1.4 2019/08/01 09:52:52 nia Exp $ Use portable sed calls to avoid gsed. --- Makefile.orig 2019-07-18 10:17:13.000000000 +0000 +++ Makefile @@@@ -123,7 +123,7 @@@@ install: compile $(INSTALL_DATA) $$dir/ebin/* "$(DESTDIR)$(PREFIX)/$(LIBDIR)/elixir/$$dir/ebin"; \ done $(Q) $(INSTALL_DIR) "$(DESTDIR)$(PREFIX)/$(LIBDIR)/elixir/bin" - $(Q) $(INSTALL_PROGRAM) $(filter-out %.ps1, $(filter-out %.bat, $(wildcard bin/*))) "$(DESTDIR)$(PREFIX)/$(LIBDIR)/elixir/bin" + $(Q) $(INSTALL_PROGRAM) $(filter-out %.ps1, $(filter-out %.bat, $(filter-out %.orig, $(wildcard bin/*)))) "$(DESTDIR)$(PREFIX)/$(LIBDIR)/elixir/bin" $(Q) $(INSTALL_DIR) "$(DESTDIR)$(PREFIX)/$(BINDIR)" $(Q) for file in "$(DESTDIR)$(PREFIX)"/$(LIBDIR)/elixir/bin/*; do \ ln -sf "../$(LIBDIR)/elixir/bin/$${file##*/}" "$(DESTDIR)$(PREFIX)/$(BINDIR)/"; \ @@@@ -304,14 +304,14 @@@@ build_man: man/iex.1 man/elixir.1 man/iex.1: $(Q) cp man/iex.1.in man/iex.1 - $(Q) sed -i.bak "/{COMMON}/r man/common" man/iex.1 - $(Q) sed -i.bak "/{COMMON}/d" man/iex.1 + $(Q) sed "/{COMMON}/r man/common" man/iex.1 > man/iex.1.bak + $(Q) sed "/{COMMON}/d" man/iex.1.bak > man/iex.1 $(Q) rm -f man/iex.1.bak man/elixir.1: $(Q) cp man/elixir.1.in man/elixir.1 - $(Q) sed -i.bak "/{COMMON}/r man/common" man/elixir.1 - $(Q) sed -i.bak "/{COMMON}/d" man/elixir.1 + $(Q) sed "/{COMMON}/r man/common" man/elixir.1 > man/elixir.1.bak + $(Q) sed "/{COMMON}/d" man/elixir.1.bak > man/elixir.1 $(Q) rm -f man/elixir.1.bak clean_man: @ 1.4 log @elixir: Update to 1.9.1 ## v1.9.1 (2019-07-18) ### 1. Enhancements #### Mix * [mix format] Print relative paths in `--check-formatted` output * [mix release] Support included applications ### 2. Bug fixes #### Elixir * [Code] Fix formatter wrongly removing nested parens in nested calls #### Logger * [Logger] Do not crash translator on poorly formatted supervisor names #### Mix * [mix compile] Raise readable error for mismatched sources during compilation * [mix release] Preserve UTF8 encoding in release config files ## v1.9.0 (2019-06-24) ### 1. Enhancements #### EEx * [EEx] Allow more complex mixed expressions when tokenizing #### Elixir * [Access] Allow `Access.at/1` to handle negative index * [CLI] Add support for `--boot`, `--boot-var`, `--erl-config`, `--pipe-to`, `--rpc-eval`, and `--vm-args` options * [Code] Add `static_atom_encoder` option to `Code.string_to_quoted/2` * [Code] Support `:force_do_end_blocks` on `Code.format_string!/2` and `Code.format_file!/2` * [Code] Do not raise on deadlocks on `Code.ensure_compiled/1` * [Config] Add `Config`, `Config.Reader`, and `Config.Provider` modules for working with configuration * [File] Add `File.rename!/2` * [Inspect] Add `:inspect_fun` and `:custom_options` to `Inspect.Opts` * [Kernel] Add `~U` sigil for UTC date times * [Kernel] Optimize `&super/arity` and `&super(&1)` * [Kernel] Optimize generated code for `with` with a catch-all clause * [Kernel] Validate `__struct__` key in map returned by `__struct__/0,1` * [Module] Add `Module.get_attribute/3` * [Protocol] Improve `Protocol.UndefinedError` messages to also include the type that was attempted to dispatch on * [Protocol] Optimize performance of dynamic dispatching for non-consolidated protocols * [Record] Include field names in generated type for records * [Regex] Automatically recompile regexes * [Registry] Add `Registry.select/2` * [System] Add `System.restart/0`, `System.pid/0` and `System.no_halt/1` * [System] Add `System.get_env/2`, `System.fetch_env/1`, and `System.fetch_env!/1` * [System] Support `SOURCE_DATE_EPOCH` for reproducible builds #### ExUnit * [ExUnit] Allow multiple `:exclude` on configuration/CLI * [ExUnit.DocTest] No longer wrap doctest errors in custom exceptions. They ended-up hiding more information than showing * [ExUnit.DocTest] Display the actual doctest code when doctest fails #### IEx * [IEx.CLI] Copy ticktime from remote node on IEx `--remsh` * [IEx.CLI] Automatically add a host on node given to `--remsh` #### Logger * [Logger] Use a decentralized mode computation for Logger which allows overloads to be detected more quickly * [Logger] Use `persistent_term` to store configuration whenever available for performance #### Mix * [Mix] Follow XDG base dir specification in Mix for temporary and configuration files * [Mix.Generator] Add `copy_file/3`, `copy_template/4`, and `overwite?/2` * [Mix.Project] Add `preferred_cli_target` that works like `preferred_cli_env` * [mix archive.uninstall] Allow `mix archive.uninstall APP` to uninstall any installed version of APP * [mix new] No longer generate a `config/` directory for mix new * [mix release] Add support for releases * [mix release.init] Add templates for release configuration * [mix test] Allow running tests for a given umbrella app from the umbrella root with `mix test apps/APP/test`. Test failures also include the `apps/APP` prefix in the test location ### 2. Bug fixes #### EEx * [EEx] Consistently trim newlines when you have a single EEx expression per line on multiple lines #### Elixir * [Code] Quote `::` in `Code.format_string!/1` to avoid ambiguity * [Code] Do not crash formatter on false positive sigils * [Enum] Ensure the first equal entry is returned by `Enum.min/2` and `Enum.max/2` * [Kernel] Improve error message when string interpolation is used in a guard * [Kernel] Properly merge and handle docs for callbacks with multiple clauses * [Kernel] Guarantee reproducible builds on modules with dozens of specs * [Kernel] Resolve `__MODULE__` accordingly in nested `defmodule` to avoid double nesting * [Kernel] Type variables starting with an underscore (`_foo`) should not raise compile error * [Kernel] Keep order of elements when macro `in/2` is expanded with a literal list on the right-hand side * [Kernel] Print proper location on undefined function error from dynamically generated functions * [Kernel] **Potentially breaking** Do not leak aliases when nesting module definitions that are fully namespaced modules. If you defined `defmodule Elixir.Foo.Bar` inside `defmodule Foo`, previous Elixir versions would automatically define an alias, but fully namespaced modules such as `Elixir.Foo.Bar` should never define or require an alias. If you were accidentally relying on this broken behaviour, your code may no longer work * [System] Make sure `:init.get_status/0` is set to `{:started, :started}` once the system starts * [Path] Do not expand `~` in `Path.expand/2` when not followed by a path separator * [Protocol] Ensure `debug_info` is kept in protocols * [Regex] Ensure inspect returns valid `~r//` expressions when they are manually compiled with backslashes * [Registry] Fix ETS leak in `Registry.register/2` for already registered calls in unique registries while the process is still alive #### ExUnit * [ExUnit] Raise error if attempting to run single line tests on multiple files * [ExUnit] Return proper error on duplicate child IDs on `start_supervised` #### IEx * [IEx] Automatically shut down IEx if we receive EOF #### Logger * [Logger] Don't discard Logger messages from other nodes as to leave a trail on both systems #### Mix * [mix compile] Ensure Erlang-based Mix compilers (erlang, leex, yecc) set valid position on diagnostics * [mix compile] Ensure compilation halts in an umbrella project if one of the siblings fail to compile * [mix deps] Raise an error if the umbrella app's dir name and `mix.exs` app name don't match * [mix deps.compile] Fix subcommand splitting bug in rebar3 * [mix test] Do not consider modules that are no longer cover compiled when computing coverage report, which could lead to flawed reports ### 3. Soft-deprecations (no warnings emitted) #### Mix * [Mix.Config] `Mix.Config` has been deprecated in favor of the `Config` module that now ships as part of Elixir itself. Reading configuration files should now be done by the `Config.Reader` module ### 4. Hard-deprecations #### Elixir * [CLI] Deprecate `--detached` option, use `--erl "-detached"` instead * [Map] Deprecate Enumerable keys in `Map.drop/2`, `Map.split/2`, and `Map.take/2` * [String] The `:insert_replaced` option in `String.replace/4` has been deprecated. Instead you may pass a function as a replacement or use `:binary.replace/4` if you need to support earlier Elixir versions #### Mix * [Mix.Project] Deprecate `Mix.Project.load_paths/1` in favor of `Mix.Project.compile_path/1` @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.3 2018/10/11 12:10:09 jperkin Exp $ d7 1 a7 1 @@@@ -120,7 +120,7 @@@@ install: compile d16 1 a16 1 @@@@ -296,14 +296,14 @@@@ build_man: man/iex.1 man/elixir.1 @ 1.3 log @elixir: Fix PKGMANDIR. Add TEST_TARGET. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2018/01/30 16:27:11 fhajny Exp $ a3 1 Use pkgsrc paths for man pages. d5 1 a5 1 --- Makefile.orig 2018-08-24 18:46:27.000000000 +0000 d7 1 a7 1 @@@@ -109,7 +109,7 @@@@ install: compile d16 1 a16 1 @@@@ -262,14 +262,14 @@@@ build_man: man/iex.1 man/elixir.1 a34 15 @@@@ -279,9 +279,9 @@@@ clean_man: rm -f man/iex.1.bak install_man: build_man - $(Q) mkdir -p $(DESTDIR)$(SHARE_PREFIX)/man/man1 - $(Q) $(INSTALL_DATA) man/elixir.1 $(DESTDIR)$(SHARE_PREFIX)/man/man1 - $(Q) $(INSTALL_DATA) man/elixirc.1 $(DESTDIR)$(SHARE_PREFIX)/man/man1 - $(Q) $(INSTALL_DATA) man/iex.1 $(DESTDIR)$(SHARE_PREFIX)/man/man1 - $(Q) $(INSTALL_DATA) man/mix.1 $(DESTDIR)$(SHARE_PREFIX)/man/man1 + $(Q) mkdir -p $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 + $(Q) $(INSTALL_DATA) man/elixir.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 + $(Q) $(INSTALL_DATA) man/elixirc.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 + $(Q) $(INSTALL_DATA) man/iex.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 + $(Q) $(INSTALL_DATA) man/mix.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 $(MAKE) clean_man @ 1.2 log @Update lang/elixir to 1.6.1. 1. Enhancements Elixir - [DynamicSupervisor] Implement child_spec/1 for DynamicSupervisor - [Kernel] Raise better error messages on invalid map syntax 2. Bug fixes Elixir - [Code.Formatter] Only rearrange not in operator if explicitly opted-in - [Code.Formatter] Ensure do blocks do not exceed line length on calls with a single argument - [Collectable] Support bitstrings in Collectable and for-comprehensions (regression in v1.6.0) - [GenServer] Do not override user own @@opts attribute - [Enum] Reintroduce zipping of any enumerable of enumerables in Enum.zip/1 (regression in v1.6.0) - [Macro] Reorder kw blocks in Macro.to_string/1 to avoid warnings - [Protocol] Fix protocol consolidation when some chunks may be missing - [Stream] Reintroduce zipping of any enumerable of enumerables in Stream.zip/1 (regression in v1.6.0) - [Supervisor] Do not override user own @@opts attribute - [Supervisor] Add @@spec to second clause of start_link/2 ExUnit - [ExUnit.Case] Reintroduce :case in ExUnit setup/setup_all/test context @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2018/01/03 13:06:17 fhajny Exp $ d6 1 a6 1 --- Makefile.orig 2018-01-29 19:47:48.000000000 +0000 d8 1 a8 1 @@@@ -101,7 +101,7 @@@@ install: compile d17 1 a17 1 @@@@ -243,14 +243,14 @@@@ build_man: man/iex.1 man/elixir.1 d36 1 a36 1 @@@@ -260,9 +260,9 @@@@ clean_man: d45 1 a45 1 + $(Q) mkdir -p $(DESTDIR)$(PREFIX)/man/man1 @ 1.1 log @Import elixir-1.5.2 as lang/elixir. Elixir is a functional, meta-programming aware language built on top of the Erlang VM. It is a dynamic language that focuses on tooling to leverage Erlang's abilities to build concurrent, distributed and fault-tolerant applications with hot code upgrades. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- Makefile.orig 2017-09-29 12:00:01.000000000 +0000 d8 1 a8 1 @@@@ -107,7 +107,7 @@@@ install: compile d17 1 a17 1 @@@@ -250,14 +250,14 @@@@ build_man: man/iex.1 man/elixir.1 d21 1 a21 1 - $(Q) sed -i.bak "/{COMMON}/r common" man/iex.1 d23 1 a23 1 + $(Q) sed "/{COMMON}/r common" man/iex.1 > man/iex.1.bak d29 1 a29 1 - $(Q) sed -i.bak "/{COMMON}/r common" man/elixir.1 d31 1 a31 1 + $(Q) sed "/{COMMON}/r common" man/elixir.1 > man/elixir.1.bak d36 1 a36 1 @@@@ -267,9 +267,9 @@@@ clean_man: @