diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-04 00:09:43 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-04 00:02:06 +0200 |
commit | 7be074dd4a8e8b2e14bdb7a4d50b9eb4392f543f (patch) | |
tree | efc2b5f9d0c7470e5022546f9283f503f2824272 /community/crystal | |
parent | 4afa1e3b2d1d5a72459b615a1ce0045b0a6c221e (diff) | |
download | alpine_aports-7be074dd4a8e8b2e14bdb7a4d50b9eb4392f543f.tar.bz2 alpine_aports-7be074dd4a8e8b2e14bdb7a4d50b9eb4392f543f.tar.xz alpine_aports-7be074dd4a8e8b2e14bdb7a4d50b9eb4392f543f.zip |
community/crystal: upgrade to 0.25.1
Diffstat (limited to 'community/crystal')
-rw-r--r-- | community/crystal/APKBUILD | 14 | ||||
-rw-r--r-- | community/crystal/specs-tempdir-separate-helper.patch | 46 |
2 files changed, 54 insertions, 6 deletions
diff --git a/community/crystal/APKBUILD b/community/crystal/APKBUILD index c0b5fd7024..17599c2a57 100644 --- a/community/crystal/APKBUILD +++ b/community/crystal/APKBUILD | |||
@@ -1,9 +1,9 @@ | |||
1 | # Contributor: Jakub Jirutka <jakub@jirutka.cz> | 1 | # Contributor: Jakub Jirutka <jakub@jirutka.cz> |
2 | # Maintainer: Jakub Jirutka <jakub@jirutka.cz> | 2 | # Maintainer: Jakub Jirutka <jakub@jirutka.cz> |
3 | pkgname=crystal | 3 | pkgname=crystal |
4 | pkgver=0.25.0 | 4 | pkgver=0.25.1 |
5 | pkgrel=0 | 5 | pkgrel=0 |
6 | _bootver=0.24.2 | 6 | _bootver=0.25.0 |
7 | _llvmver=5 | 7 | _llvmver=5 |
8 | pkgdesc="The Crystal Programming Language" | 8 | pkgdesc="The Crystal Programming Language" |
9 | url="https://crystal-lang.org/" | 9 | url="https://crystal-lang.org/" |
@@ -23,6 +23,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/crystal-lang/$pkgname/archiv | |||
23 | disable-specs-using-GB2312-encoding.patch | 23 | disable-specs-using-GB2312-encoding.patch |
24 | fix-spec-time-location.patch | 24 | fix-spec-time-location.patch |
25 | libressl.patch | 25 | libressl.patch |
26 | specs-tempdir-separate-helper.patch | ||
26 | " | 27 | " |
27 | builddir="$srcdir/$pkgname-$pkgver" | 28 | builddir="$srcdir/$pkgname-$pkgver" |
28 | 29 | ||
@@ -119,10 +120,11 @@ zshcomp() { | |||
119 | "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname | 120 | "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname |
120 | } | 121 | } |
121 | 122 | ||
122 | sha512sums="20f2864919c7710e5aee8112e1c6ab54a2e50b244ac63d374edfed41ab659b11c062f76dbfc38e763a08bdbea9e0a39f3b5cac5e00bf453be3a31d3b0a023917 crystal-0.25.0.tar.gz | 123 | sha512sums="b4b79985f0d47d56e2c22b74ac593ea8d21cc21c8e247e7043b6604c0a16906f1b8a9531c8902018f6fab35810177920eae26d3ada6874581e45713f69c9e8fb crystal-0.25.1.tar.gz |
123 | 6d7ee01ff5bfaaf79fa80c15575ae4496e17629ed18cb0577db6734266c2dbf5b0bf0a554c7c153e1b81f4c71e62bb803fd4b6513e3d039571ee4f953d85ecf4 crystal-0.24.2-x86_64-alpine-linux-musl.tar.gz | 124 | b443520d994355f849e18d5432dc136f6e403eb77a432a53e3d38e5a050a7547632bbe7a99a3a4c193f91fdf2240a1629acd516291d16c3bbfa14a9ec47435b2 crystal-0.25.0-x86_64-alpine-linux-musl.tar.gz |
124 | d6ed122a5ddb4e1ea772357cd3115dcf8cd92a75f973b6f7e4b8b6135fb4123fb98334495f6f312da7ab7ba3bda57bd3cb4f06c0f421df2c09d19c0ab1b8b67b crystal-0.24.2-aarch64-alpine-linux-musl.tar.gz | 125 | 43b058e94f990e853f2ade5bf234aaea4547176172beff8ed372c5158ec8bb59c3925e0bb3bf7c2e4024193bcd48652faebba3ce08c5f0e25425ca073a66adb0 crystal-0.25.0-aarch64-alpine-linux-musl.tar.gz |
125 | dec4ed7abfd215eec825bed97b1e40bf3aa8bd959a4ec7153ea1bc51d409d892ebec19ddb0372e3a543e74c7018aca0c1f3cf956fa1d95efb946c8c3417c8749 paxmark.patch | 126 | dec4ed7abfd215eec825bed97b1e40bf3aa8bd959a4ec7153ea1bc51d409d892ebec19ddb0372e3a543e74c7018aca0c1f3cf956fa1d95efb946c8c3417c8749 paxmark.patch |
126 | 269976fbc990dde075769e651c9fac6e7e0b39681e55cbd067c6d2a790c58a096bdc9981f62ae69b5217623025ba768daa63bc5316bd8ddd18192d88839aedcb disable-specs-using-GB2312-encoding.patch | 127 | 269976fbc990dde075769e651c9fac6e7e0b39681e55cbd067c6d2a790c58a096bdc9981f62ae69b5217623025ba768daa63bc5316bd8ddd18192d88839aedcb disable-specs-using-GB2312-encoding.patch |
127 | 518f06dd191e43e4052c0f8c4963d31dfc7ed3b414d1bb2e7a82265af13853f85380b5507ef3c5a5a25f6091d7173d5322f379e354666eec4165264dd502e70b fix-spec-time-location.patch | 128 | 518f06dd191e43e4052c0f8c4963d31dfc7ed3b414d1bb2e7a82265af13853f85380b5507ef3c5a5a25f6091d7173d5322f379e354666eec4165264dd502e70b fix-spec-time-location.patch |
128 | 31fd94f07edb83eb6ff43dd20f99a52e3c28dc0bf67f7e0b5c473c40d455febfbd0cdf9fe1fe599dbf080fd4c05a2a2d9ad8745f9effc8dfb565e19fa0e49509 libressl.patch" | 129 | 31fd94f07edb83eb6ff43dd20f99a52e3c28dc0bf67f7e0b5c473c40d455febfbd0cdf9fe1fe599dbf080fd4c05a2a2d9ad8745f9effc8dfb565e19fa0e49509 libressl.patch |
130 | 78df92a5f9df00f5cbad1d6643148fee4724e1e07a08c366ebce6c837c7b3bba19ff69a1c78d072fe24b04f68f92bc464d557601116342120143651aa4e854a9 specs-tempdir-separate-helper.patch" | ||
diff --git a/community/crystal/specs-tempdir-separate-helper.patch b/community/crystal/specs-tempdir-separate-helper.patch new file mode 100644 index 0000000000..9d07c0f8e6 --- /dev/null +++ b/community/crystal/specs-tempdir-separate-helper.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 5f4c3697641654959a313a0332fbba59334f8ca3 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Johannes=20M=C3=BCller?= <straightshoota@gmail.com> | ||
3 | Date: Mon, 2 Jul 2018 12:39:25 +0200 | ||
4 | Subject: [PATCH] Fix: Rename datapath helper to compiler_datapath for compiler specs | ||
5 | |||
6 | Patch-Source: https://github.com/crystal-lang/crystal/pull/6312 | ||
7 | See-Also: https://github.com/crystal-lang/crystal/pull/5951#issuecomment-400986673 | ||
8 | --- | ||
9 | spec/compiler/compiler_spec.cr | 4 ++-- | ||
10 | spec/compiler/spec_helper.cr | 2 +- | ||
11 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
12 | |||
13 | diff --git a/spec/compiler/compiler_spec.cr b/spec/compiler/compiler_spec.cr | ||
14 | index 7fdbca20db..426a5324e0 100644 | ||
15 | --- a/spec/compiler/compiler_spec.cr | ||
16 | +++ b/spec/compiler/compiler_spec.cr | ||
17 | @@ -4,7 +4,7 @@ require "./spec_helper" | ||
18 | describe "Compiler" do | ||
19 | it "compiles a file" do | ||
20 | with_tempfile "compiler_spec_output" do |path| | ||
21 | - Crystal::Command.run ["build", datapath("compiler_sample"), "-o", path] | ||
22 | + Crystal::Command.run ["build", compiler_datapath("compiler_sample"), "-o", path] | ||
23 | |||
24 | File.exists?(path).should be_true | ||
25 | |||
26 | @@ -13,7 +13,7 @@ describe "Compiler" do | ||
27 | end | ||
28 | |||
29 | it "runs subcommand in preference to a filename " do | ||
30 | - Dir.cd datapath do | ||
31 | + Dir.cd compiler_datapath do | ||
32 | with_tempfile "compiler_spec_output" do |path| | ||
33 | Crystal::Command.run ["build", "compiler_sample", "-o", path] | ||
34 | |||
35 | diff --git a/spec/compiler/spec_helper.cr b/spec/compiler/spec_helper.cr | ||
36 | index 536691a5ad..8a7e40b314 100644 | ||
37 | --- a/spec/compiler/spec_helper.cr | ||
38 | +++ b/spec/compiler/spec_helper.cr | ||
39 | @@ -1,6 +1,6 @@ | ||
40 | require "../spec_helper" | ||
41 | require "../support/tempfile" | ||
42 | |||
43 | -def datapath(*components) | ||
44 | +def compiler_datapath(*components) | ||
45 | File.join("spec", "compiler", "data", *components) | ||
46 | end | ||