elixir: update to 1.18.2.
This commit is contained in:
parent
ae0c5d46a5
commit
73f4519a24
23
srcpkgs/elixir/patches/workout-test.patch
Normal file
23
srcpkgs/elixir/patches/workout-test.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Assertion with == failed
|
||||||
|
code: assert root_dir == :code.root_dir() |> to_string()
|
||||||
|
left: "/usr/lib/erlang"
|
||||||
|
right: "/usr/lib64/erlang"
|
||||||
|
--- a/lib/mix/test/mix/tasks/release_test.exs
|
||||||
|
+++ b/lib/mix/test/mix/tasks/release_test.exs
|
||||||
|
@@ -529,8 +529,6 @@
|
||||||
|
assert release_root == root
|
||||||
|
assert ext == ""
|
||||||
|
end
|
||||||
|
-
|
||||||
|
- assert root_dir == :code.root_dir() |> to_string()
|
||||||
|
end)
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
@@ -743,7 +741,6 @@
|
||||||
|
} = wait_until_decoded(Path.join(root, "RELEASE_BOOTED"))
|
||||||
|
|
||||||
|
assert app_dir == Path.join(root, "lib/release_test-0.1.0")
|
||||||
|
- assert root_dir == :code.root_dir() |> to_string()
|
||||||
|
assert sys_config_env == Path.join(root, "releases/0.1.0/sys")
|
||||||
|
assert sys_config_init == Path.join(root, "releases/0.1.0/sys")
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
# Template file for 'elixir'
|
# Template file for 'elixir'
|
||||||
pkgname=elixir
|
pkgname=elixir
|
||||||
version=1.15.7
|
version=1.18.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="LIBDIR=lib${XBPS_TARGET_WORDSIZE}"
|
make_build_args="LIBDIR=lib${XBPS_TARGET_WORDSIZE}"
|
||||||
@ -14,19 +14,10 @@ checkdepends="git"
|
|||||||
short_desc="Functional, concurrent, general-purpose programming language"
|
short_desc="Functional, concurrent, general-purpose programming language"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="http://elixir-lang.org/"
|
homepage="https://elixir-lang.org/"
|
||||||
changelog="https://raw.githubusercontent.com/elixir-lang/elixir/v${version%.*}/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/elixir-lang/elixir/v${version%.*}/CHANGELOG.md"
|
||||||
distfiles="https://github.com/elixir-lang/elixir/archive/v${version}.tar.gz"
|
distfiles="https://github.com/elixir-lang/elixir/archive/v${version}.tar.gz"
|
||||||
checksum=78bde2786b395515ae1eaa7d26faa7edfdd6632bfcfcd75bccb6341a18e8798f
|
checksum=efc8d0660b56dd3f0c7536725a95f4d8b6be9f11ca9779d824ad79377753e916
|
||||||
|
|
||||||
post_patch() {
|
|
||||||
# XXX: find a better solution
|
|
||||||
# Assertion with == failed
|
|
||||||
# code: assert root_dir == :code.root_dir() |> to_string()
|
|
||||||
# left: "/usr/lib/erlang"
|
|
||||||
# right: "/usr/lib64/erlang"
|
|
||||||
vsed -e '/assert root_dir == :code\.root_dir()/d' -i lib/mix/test/mix/tasks/release_test.exs
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
ERL_EPMD_PORT=5369 make ${make_check_target}
|
ERL_EPMD_PORT=5369 make ${make_check_target}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user