community/elixir: upgrade to 1.6.6

This commit is contained in:
gmile 2018-06-20 10:19:42 +03:00 committed by Leonardo Arena
parent 3f38e90e79
commit e12cb3cb52
2 changed files with 3 additions and 21 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com>
pkgname=elixir
pkgver=1.6.5
pkgver=1.6.6
pkgrel=0
pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications"
url="http://elixir-lang.org"
@ -10,9 +10,7 @@ depends="erlang erlang-inets erlang-ssl
erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev erlang-dialyzer erlang-erts erlang-hipe"
makedepends="erlang-crypto erlang-syntax-tools erlang-parsetools erlang-eunit erlang-tools"
subpackages="$pkgname-doc"
# TODO: remove disable-iex-tests.patch once elixir 1.7 is released, see https://github.com/elixir-lang/elixir/pull/7350
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz
disable-iex-tests.patch"
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
case "$CARCH" in
@ -35,5 +33,4 @@ package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="e2cf9c2d9198da32cefb841cae4ce64bb52eb28239bbffb6d991916cfdee420b242773664efa7381eb4609c67438ab608f5f96ca2c403b54ecdd9bfdddf91a95 elixir-1.6.5.tar.gz
7d579a8be0f6ba2de6d85861267f9fea7846c29cf661c3221b02e1464c87db941d015a18217ffe25a5846a4ea63ccf8338541568a70bf9ec07237b91a94a0860 disable-iex-tests.patch"
sha512sums="62010100274b99423bb6a660e34ef53a702250a09371ef4b49ec03a3afe8761611b3734aea31763afa361560eb74c6d23e022d4d9bc4453c1bdef36bb37f9b4d elixir-1.6.6.tar.gz"

View File

@ -1,15 +0,0 @@
The iex test suite currently doesn't pass, this should be fixed in the
future but for now we just disable it.
diff -upr elixir-1.6.0.orig/Makefile elixir-1.6.0/Makefile
--- elixir-1.6.0.orig/Makefile 2018-01-20 18:36:25.201059267 +0100
+++ elixir-1.6.0/Makefile 2018-01-20 18:36:48.557715732 +0100
@@ -208,7 +208,7 @@ $(TEST_EBIN)/%.beam: $(TEST_ERL)/%.erl
$(Q) mkdir -p $(TEST_EBIN)
$(Q) $(ERLC) -o $(TEST_EBIN) $<
-test_elixir: test_stdlib test_ex_unit test_logger test_mix test_eex test_iex
+test_elixir: test_stdlib test_ex_unit test_logger test_mix test_eex
test_stdlib: compile
@ echo "==> elixir (exunit)"