diff options
author | Marlus Saraiva <marlus.saraiva@gmail.com> | 2015-07-28 01:56:38 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-28 09:18:00 +0000 |
commit | f3890defb7eb96e6fd502cf37d4fbc79bdb8fea1 (patch) | |
tree | 43002e5b47b16941bd9c54151a71bac13c22e1c1 /testing/elixir | |
parent | db593b70af9c24b02ca924678c8fd64dd0f8bc08 (diff) | |
download | aports-f3890defb7eb96e6fd502cf37d4fbc79bdb8fea1.tar.bz2 aports-f3890defb7eb96e6fd502cf37d4fbc79bdb8fea1.tar.xz |
main/elixir: move from testing
Diffstat (limited to 'testing/elixir')
-rw-r--r-- | testing/elixir/APKBUILD | 39 | ||||
-rw-r--r-- | testing/elixir/fix_system_cmd_test.patch | 20 |
2 files changed, 0 insertions, 59 deletions
diff --git a/testing/elixir/APKBUILD b/testing/elixir/APKBUILD deleted file mode 100644 index c4d6db0b1a..0000000000 --- a/testing/elixir/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com> - -pkgname=elixir -pkgver=1.0.5 -pkgrel=0 -pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications" -url="http://elixir-lang.org" -arch="x86_64" -license="ASL 2.0" -depends="erlang erlang-crypto erlang-syntax-tools erlang-inets erlang-ssl - erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev" -makedepends="erlang-parsetools erlang-eunit erlang-tools" -source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 - esac - done -} - -build() { - cd "$_builddir" - export LANG="en_US.UTF-8" - make -j1 || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" PREFIX=/usr install || return 1 -} - -md5sums="abbdda96891b4519a1dc3e65b58f1b0b elixir-1.0.5.tar.gz" -sha256sums="5ce5c226b3d11d751b41ad79b915b86f13f8a1b89ef3e733321d3f46ff4d81b8 elixir-1.0.5.tar.gz" -sha512sums="1f621e1a3939433dc91a0e2f7e62512b074ce2e8dc7190535570056875f82eda2001a333a51627e39b0f710e104409c8d17aea9635235b0963265d39b32c9f6c elixir-1.0.5.tar.gz" diff --git a/testing/elixir/fix_system_cmd_test.patch b/testing/elixir/fix_system_cmd_test.patch deleted file mode 100644 index be852a5ce8..0000000000 --- a/testing/elixir/fix_system_cmd_test.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ./lib/elixir/test/elixir/system_test.exs.orig -+++ ./lib/elixir/test/elixir/system_test.exs -@@ -63,7 +63,7 @@ defmodule SystemTest do - assert {"hello\n", 0} = System.cmd "echo", ["hello"] - - opts = [into: [], cd: System.cwd!, env: %{"foo" => "bar"}, -- arg0: "hecho", stderr_to_stdout: true, parallelism: true] -+ arg0: "echo", stderr_to_stdout: true, parallelism: true] - assert {["hello\n"], 0} = System.cmd "echo", ["hello"], opts - - with_tmp_dir(fn dir -> -@@ -73,7 +73,7 @@ defmodule SystemTest do - - File.cd!(dir) - assert :enoent = catch_error(System.cmd("echo2", ["hello"])) -- assert {"hello\n", 0} = System.cmd(Path.join([System.cwd, "echo2"]), ["hello"]) -+ assert {"hello\n", 0} = System.cmd(Path.join([System.cwd, "echo2"]), ["hello"], [{:arg0, "echo"}]) - end) - end - |