public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/elixir/files/
@ 2019-10-18  7:51 Sergei Trofimovich
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich @ 2019-10-18  7:51 UTC (permalink / raw
  To: gentoo-commits

commit:     b266885dd66285c1487a53ddb5b739aaae554eae
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Oct 18 06:50:03 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 07:51:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b266885d

dev-lang/elixir: remove unused patch

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13331
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../files/elixir-1.9.0-disable-network-tests.patch     | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/dev-lang/elixir/files/elixir-1.9.0-disable-network-tests.patch b/dev-lang/elixir/files/elixir-1.9.0-disable-network-tests.patch
deleted file mode 100644
index 9806b5608db..00000000000
--- a/dev-lang/elixir/files/elixir-1.9.0-disable-network-tests.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/lib/mix/test/mix/tasks/release_test.exs
-+++ b/lib/mix/test/mix/tasks/release_test.exs
-@@ -265,6 +265,7 @@ defmodule Mix.Tasks.ReleaseTest do
-     end)
-   end
- 
-+  @tag :skip
-   test "executes rpc instructions" do
-     in_fixture("release_test", fn ->
-       config = [releases: [permanent1: [include_erts: false]]]
-@@ -329,6 +330,7 @@ defmodule Mix.Tasks.ReleaseTest do
-     end)
-   end
- 
-+  @tag :skip
-   @tag :unix
-   test "runs in daemon mode" do
-     in_fixture("release_test", fn ->


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/elixir/files/
@ 2020-06-24 20:38 Sergei Trofimovich
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich @ 2020-06-24 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     23d35ec4c612d3d2bd770742e42f571109f4056f
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Jun 21 07:42:33 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 24 20:38:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d35ec4

dev-lang/elixir: remove unused patch

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16355
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../files/elixir-1.10.2-test-regex-fix.patch       | 34 ----------------------
 1 file changed, 34 deletions(-)

diff --git a/dev-lang/elixir/files/elixir-1.10.2-test-regex-fix.patch b/dev-lang/elixir/files/elixir-1.10.2-test-regex-fix.patch
deleted file mode 100644
index 01b27a05027..00000000000
--- a/dev-lang/elixir/files/elixir-1.10.2-test-regex-fix.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 8491f0dc74f8bc89bb926b8130b45eaa5ba92c4b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.valim@dashbit.co>
-Date: Sat, 28 Mar 2020 10:49:16 +0100
-Subject: [PATCH] Fix improper regex use, closes #9914
-
----
- lib/elixir/test/elixir/regex_test.exs | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
---- a/lib/elixir/test/elixir/regex_test.exs
-+++ b/lib/elixir/test/elixir/regex_test.exs
-@@ -91,8 +91,10 @@ defmodule RegexTest do
-     assert <<0xA0::utf8>> =~ ~r/[[:space:]]/u
-     assert <<0xA0::utf8>> =~ ~r/\s/u
- 
-+    # Erlang/OTP 23 raises badarg on invalid UTF-8.
-+    # Earlier versions simply would not match.
-+    assert catch_error(if <<?<, 255, ?>>> =~ ~r/<.>/u, do: flunk("failed"), else: raise("failed"))
-     assert <<?<, 255, ?>>> =~ ~r/<.>/
--    refute <<?<, 255, ?>>> =~ ~r/<.>/u
-   end
- 
-   test "ungreedy" do
-@@ -349,6 +351,6 @@ defmodule RegexTest do
-   end
- 
-   defp matches_escaped?(string, match) do
--    Regex.match?(~r/#{Regex.escape(string)}/simxu, match)
-+    Regex.match?(~r/#{Regex.escape(string)}/simx, match)
-   end
- end
--- 
-2.26.1
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/elixir/files/
@ 2022-09-12 17:26 Joonas Niilola
  0 siblings, 0 replies; 4+ messages in thread
From: Joonas Niilola @ 2022-09-12 17:26 UTC (permalink / raw
  To: gentoo-commits

commit:     caa9bafa89e86a14ac407f24bd3d43709c7ce5df
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Sep 12 17:18:20 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 17:25:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caa9bafa

dev-lang/elixir: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Portage 3.0.36 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27230
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-lang/elixir/files/elixir-1.11.2-mksh.patch     |  81 -------------
 ...4-fix-logger-translator-with-otp-24-11222.patch |  64 -----------
 ...11.4-update-warnings-for-OTP-master-10807.patch | 125 ---------------------
 3 files changed, 270 deletions(-)

diff --git a/dev-lang/elixir/files/elixir-1.11.2-mksh.patch b/dev-lang/elixir/files/elixir-1.11.2-mksh.patch
deleted file mode 100644
index 3fda43156890..000000000000
--- a/dev-lang/elixir/files/elixir-1.11.2-mksh.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 69bb81635a77afb28419103bdb02867b48994d4a Mon Sep 17 00:00:00 2001
-From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
-Date: Wed, 9 Dec 2020 18:21:34 +0100
-Subject: [PATCH] bin/elixir: Rename erl() function to erl_set()
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It conflicted with the erl executable for Korn-derived shells where a function
-can be used in `exec command`.
-
-It isn't clear which behavior is expected from reading the POSIX specification
-but "Shell Command Language § 2.9.1 Simple Commands" clears the usage of
-the term `command` quite well.
-And even with excluding functions from the `command` operand of `exec`,
-why are aliases accepted? (in most if not all shells)
-
-See: https://bugs.gentoo.org/729964
----
- bin/elixir | 28 ++++++++++++++--------------
- 1 file changed, 14 insertions(+), 14 deletions(-)
-
---- a/bin/elixir
-+++ b/bin/elixir
-@@ -70,7 +70,7 @@ readlink_f () {
- ERL=""
- 
- # Stores erl arguments preserving spaces/quotes (mimics an array)
--erl () {
-+erl_set () {
-   eval "E${E}=\$1"
-   E=$((E + 1))
- }
-@@ -137,34 +137,34 @@ while [ $I -le $LENGTH ]; do
-         ;;
-     --cookie)
-         S=2
--        erl "-setcookie"
--        erl "$2"
-+        erl_set "-setcookie"
-+        erl_set "$2"
-         ;;
-     --sname|--name)
-         S=2
--        erl "$(echo "$1" | cut -c 2-)"
--        erl "$2"
-+        erl_set "$(echo "$1" | cut -c 2-)"
-+        erl_set "$2"
-         ;;
-     --erl-config)
-         S=2
--        erl "-config"
--        erl "$2"
-+        erl_set "-config"
-+        erl_set "$2"
-         ;;
-     --vm-args)
-         S=2
--        erl "-args_file"
--        erl "$2"
-+        erl_set "-args_file"
-+        erl_set "$2"
-         ;;
-     --boot)
-         S=2
--        erl "-boot"
--        erl "$2"
-+        erl_set "-boot"
-+        erl_set "$2"
-         ;;
-     --boot-var)
-         S=3
--        erl "-boot_var"
--        erl "$2"
--        erl "$3"
-+        erl_set "-boot_var"
-+        erl_set "$2"
-+        erl_set "$3"
-         ;;
-     --pipe-to)
-         S=3

diff --git a/dev-lang/elixir/files/elixir-1.11.4-fix-logger-translator-with-otp-24-11222.patch b/dev-lang/elixir/files/elixir-1.11.4-fix-logger-translator-with-otp-24-11222.patch
deleted file mode 100644
index 428e7ceb3ab4..000000000000
--- a/dev-lang/elixir/files/elixir-1.11.4-fix-logger-translator-with-otp-24-11222.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From b1492cb0cfa689c4c098761a375d5cb728d3c175 Mon Sep 17 00:00:00 2001
-From: Matteo <mbrancaleoni@gmail.com>
-Date: Tue, 31 Aug 2021 23:46:27 +0200
-Subject: [PATCH 3/3] Fix logger translator with otp-24  (#11222)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-* Handle new significant key in sasl reports
-
-* Add OTP-24.0 to CI matrix
-
-Co-authored-by: José Valim <jose.valim@dashbit.co>
----
- .github/workflows/ci.yml            |  2 +-
- lib/logger/lib/logger/translator.ex | 13 ++++++++++---
- 2 files changed, 11 insertions(+), 4 deletions(-)
-
-diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
-index f43a9ff62..a4bc8dbeb 100644
---- a/.github/workflows/ci.yml
-+++ b/.github/workflows/ci.yml
-@@ -15,7 +15,7 @@ jobs:
-     strategy:
-       fail-fast: false
-       matrix:
--        otp_release: ['OTP-23.0', 'OTP-22.3', 'OTP-22.0', 'OTP-21.3.8', 'OTP-21.0']
-+        otp_release: ['OTP-24.0', 'OTP-23.0', 'OTP-22.3', 'OTP-22.0', 'OTP-21.3.8', 'OTP-21.0']
-         development: [false]
-         include:
-           - otp_release: master
-diff --git a/lib/logger/lib/logger/translator.ex b/lib/logger/lib/logger/translator.ex
-index d1d7e62f1..8afd79436 100644
---- a/lib/logger/lib/logger/translator.ex
-+++ b/lib/logger/lib/logger/translator.ex
-@@ -357,15 +357,22 @@ defp child_info(_min_level, _child) do
-     []
-   end
- 
--  defp child_debug(:debug, restart_type: restart, shutdown: shutdown, child_type: type) do
--    ["\nRestart: ", inspect(restart), "\nShutdown: ", inspect(shutdown)] ++
--      ["\nType: ", inspect(type)]
-+  defp child_debug(:debug, opts) do
-+    for {key, value} <- opts do
-+      child_debug_key(key, value)
-+    end
-   end
- 
-   defp child_debug(_min_level, _child) do
-     []
-   end
- 
-+  defp child_debug_key(:restart_type, value), do: ["\nRestart: " | inspect(value)]
-+  defp child_debug_key(:shutdown, value), do: ["\nShutdown: " | inspect(value)]
-+  defp child_debug_key(:child_type, value), do: ["\nType: " | inspect(value)]
-+  defp child_debug_key(:significant, value), do: if(value, do: "\nSignificant: true", else: [])
-+  defp child_debug_key(_, _), do: []
-+
-   defp report_crash(min_level, [[{:initial_call, initial_call} | crashed], linked]) do
-     mfa = initial_call_to_mfa(initial_call)
-     report_crash(min_level, crashed, [{:initial_call, mfa}], linked)
--- 
-2.31.1
-

diff --git a/dev-lang/elixir/files/elixir-1.11.4-update-warnings-for-OTP-master-10807.patch b/dev-lang/elixir/files/elixir-1.11.4-update-warnings-for-OTP-master-10807.patch
deleted file mode 100644
index 2cc0b217cbb1..000000000000
--- a/dev-lang/elixir/files/elixir-1.11.4-update-warnings-for-OTP-master-10807.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-From 237a71311c5ae4fc5dd3c7a590a7b6dab97a664a Mon Sep 17 00:00:00 2001
-From: Wojtek Mach <wojtekmach@users.noreply.github.com>
-Date: Tue, 23 Mar 2021 17:40:04 +0100
-Subject: [PATCH 2/3] Update warnings for OTP master (#10807)
-
----
- lib/elixir/src/elixir_erl_compiler.erl        | 34 ++++++++++++-------
- .../test/elixir/kernel/warning_test.exs       | 25 --------------
- 2 files changed, 21 insertions(+), 38 deletions(-)
-
-diff --git a/lib/elixir/src/elixir_erl_compiler.erl b/lib/elixir/src/elixir_erl_compiler.erl
-index 7010b59fd..e0aa05114 100644
---- a/lib/elixir/src/elixir_erl_compiler.erl
-+++ b/lib/elixir/src/elixir_erl_compiler.erl
-@@ -94,6 +94,8 @@ handle_file_warning(true, _File, {_Line, sys_core_fold, {nomatch_shadow, _}}) ->
- 
- %% Those we implement ourselves
- handle_file_warning(_, _File, {_Line, v3_core, {map_key_repeated, _}}) -> ok;
-+handle_file_warning(_, _File, {_Line, sys_core_fold, {ignored, useless_building}}) -> ok;
-+%% TODO: remove when we require Erlang/OTP 24
- handle_file_warning(_, _File, {_Line, sys_core_fold, useless_building}) -> ok;
- 
- %% Ignore all linting errors (only come up on parse transforms)
-@@ -112,11 +114,11 @@ handle_file_error(File, {Line, Module, Desc}) ->
-   elixir_errors:compile_error([{line, Line}], File, Message).
- 
- %% Mention the capture operator in make_fun
--custom_format(sys_core_fold, {no_effect, {erlang, make_fun, 3}}) ->
-+custom_format(sys_core_fold, {ignored, {no_effect, {erlang, make_fun, 3}}}) ->
-   "the result of the capture operator & (:erlang.make_fun/3) is never used";
- 
- %% Make no_effect clauses pretty
--custom_format(sys_core_fold, {no_effect, {erlang, F, A}}) ->
-+custom_format(sys_core_fold, {ignored, {no_effect, {erlang, F, A}}}) ->
-   {Fmt, Args} = case erl_internal:comp_op(F, A) of
-     true -> {"use of operator ~ts has no effect", [elixir_utils:erlang_comparison_op_to_elixir(F)]};
-     false ->
-@@ -127,12 +129,20 @@ custom_format(sys_core_fold, {no_effect, {erlang, F, A}}) ->
-   end,
-   io_lib:format(Fmt, Args);
- 
--%% Rewrite nomatch_guard to be more generic it can happen inside if, unless, and the like
--custom_format(sys_core_fold, nomatch_guard) ->
-+%% Rewrite nomatch to be more generic, it can happen inside if, unless, and the like
-+custom_format(sys_core_fold, {nomatch, X}) when X == guard; X == no_clause ->
-   "this check/guard will always yield the same result";
- 
-+custom_format(sys_core_fold, {nomatch, {shadow, Line, {ErlName, ErlArity}}}) ->
-+  {Name, Arity} = elixir_utils:erl_fa_to_elixir_fa(ErlName, ErlArity),
-+
-+  io_lib:format(
-+    "this clause for ~ts/~B cannot match because a previous clause at line ~B always matches",
-+    [Name, Arity, Line]
-+  );
-+
- %% Handle literal eval failures
--custom_format(sys_core_fold, {eval_failure, {Mod, Name, Arity}, Error}) ->
-+custom_format(sys_core_fold, {failed, {eval_failure, {Mod, Name, Arity}, Error}}) ->
-   #{'__struct__' := Struct} = 'Elixir.Exception':normalize(error, Error),
-   {ExMod, ExName, ExArgs} = elixir_rewrite:erl_to_ex(Mod, Name, lists:duplicate(Arity, nil)),
-   Call = 'Elixir.Exception':format_mfa(ExMod, ExName, length(ExArgs)),
-@@ -143,18 +153,16 @@ custom_format(sys_core_fold, {eval_failure, {Mod, Name, Arity}, Error}) ->
-   ["the call to ", Trimmed, " will fail with ", elixir_aliases:inspect(Struct)];
- 
- %% TODO: remove when we require OTP 24
-+custom_format(sys_core_fold, {nomatch_shadow, Line, FA}) ->
-+  custom_format(sys_core_fold, {nomatch, {shadow, Line, FA}});
-+custom_format(sys_core_fold, nomatch_guard) ->
-+  custom_format(sys_core_fold, {nomatch, guard});
-+custom_format(sys_core_fold, {no_effect, X}) ->
-+  custom_format(sys_core_fold, {ignored, {no_effect, X}});
- custom_format(sys_core_fold, {eval_failure, Error}) ->
-   #{'__struct__' := Struct} = 'Elixir.Exception':normalize(error, Error),
-   ["this expression will fail with ", elixir_aliases:inspect(Struct)];
- 
--custom_format(sys_core_fold, {nomatch_shadow,Line,{ErlName,ErlArity}}) ->
--  {Name, Arity} = elixir_utils:erl_fa_to_elixir_fa(ErlName, ErlArity),
--
--  io_lib:format(
--    "this clause for ~ts/~B cannot match because a previous clause at line ~B always matches",
--    [Name, Arity, Line]
--  );
--
- custom_format([], Desc) ->
-   io_lib:format("~p", [Desc]);
- 
-diff --git a/lib/elixir/test/elixir/kernel/warning_test.exs b/lib/elixir/test/elixir/kernel/warning_test.exs
-index 15a984a54..37334ff65 100644
---- a/lib/elixir/test/elixir/kernel/warning_test.exs
-+++ b/lib/elixir/test/elixir/kernel/warning_test.exs
-@@ -1154,31 +1154,6 @@ def foo(x), do: :ok
-     purge(Sample)
-   end
- 
--  test "with and do clauses emit errors, else clauses do not" do
--    assert capture_err(fn ->
--             Code.compile_string("""
--             with {:first, int} when is_integer(int) <- {:second, Integer.gcd(2, 4)} do
--               int
--             end
--             """)
--           end) =~ "this clause cannot match"
--
--    assert capture_err(fn ->
--             Code.compile_string("""
--             with {:first, int1} when is_integer(int1) <- {:first, Integer.gcd(2, 4)},
--                  {:second, int2} when is_integer(int2) <- {:second, Integer.gcd(2, 4)} do
--               {:ok, int1 + int2}
--             else
--               {:first, nil} -> {:error, "first number is not integer"}
--               {:second, nil} -> {:error, "second number is not integer"}
--             end
--             """)
--           end) == ""
--  after
--    purge(Sample1)
--    purge(Sample2)
--  end
--
-   test "warning on code point escape" do
-     assert capture_err(fn ->
-              Code.eval_string("? ")
--- 
-2.31.1
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/elixir/files/
@ 2023-09-13 18:43 Conrad Kostecki
  0 siblings, 0 replies; 4+ messages in thread
From: Conrad Kostecki @ 2023-09-13 18:43 UTC (permalink / raw
  To: gentoo-commits

commit:     449aae392b45842a30a4cf12e1a7ddd03c240e7f
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Sep 13 12:19:14 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 18:42:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449aae39

dev-lang/elixir: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/32750
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../files/elixir-1.11.4-fix-elixir-test.patch      | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git a/dev-lang/elixir/files/elixir-1.11.4-fix-elixir-test.patch b/dev-lang/elixir/files/elixir-1.11.4-fix-elixir-test.patch
deleted file mode 100644
index 6b4dd0c3939b..000000000000
--- a/dev-lang/elixir/files/elixir-1.11.4-fix-elixir-test.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 3e88b1f336f843378790802bd486f6793b7ef872 Mon Sep 17 00:00:00 2001
-From: Jan Smutny <js@excello.cz>
-Date: Thu, 14 Oct 2021 16:14:55 +0200
-Subject: [PATCH] Fix elixir test assertion for erlang >=OTP-24.1
-
----
- lib/elixir/test/elixir/exception_test.exs | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/lib/elixir/test/elixir/exception_test.exs b/lib/elixir/test/elixir/exception_test.exs
-index df9d46bbc..ae08d5185 100644
---- a/lib/elixir/test/elixir/exception_test.exs
-+++ b/lib/elixir/test/elixir/exception_test.exs
-@@ -446,11 +446,12 @@ test "annotates undefined function error with suggestions" do
-                    * min/1
-              """
- 
--      assert blame_message(:erlang, & &1.gt_cookie()) == """
--             function :erlang.gt_cookie/0 is undefined or private. Did you mean one of:
-+      assert blame_message(:erlang, & &1.hal()) == """
-+             function :erlang.hal/0 is undefined or private. Did you mean one of:
- 
--                   * get_cookie/0
--                   * set_cookie/2
-+                   * halt/0
-+                   * halt/1
-+                   * halt/2
-              """
-     end
- 
--- 
-2.31.1
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-13 18:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-18  7:51 [gentoo-commits] repo/gentoo:master commit in: dev-lang/elixir/files/ Sergei Trofimovich
  -- strict thread matches above, loose matches on Subject: below --
2020-06-24 20:38 Sergei Trofimovich
2022-09-12 17:26 Joonas Niilola
2023-09-13 18:43 Conrad Kostecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox