aboutsummaryrefslogtreecommitdiff
path: root/community/crystal
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-04-10 14:27:36 +0200
committerMilan P. Stanić <mps@arvanta.net>2020-04-10 14:30:26 +0200
commit4dfa506199e3f731f25ce7ef822b37604ae12505 (patch)
tree5caad91cf29007f1ac57a46f1caac9c7b2253bd8 /community/crystal
parent2f27227f868c31cd6ea3a10908bb8cb20b8fbd09 (diff)
downloadalpine_aports-4dfa506199e3f731f25ce7ef822b37604ae12505.tar.bz2
alpine_aports-4dfa506199e3f731f25ce7ef822b37604ae12505.tar.xz
alpine_aports-4dfa506199e3f731f25ce7ef822b37604ae12505.zip
community/crystal: upgrade to 0.33.0
build with llvm9 remove spec (test) patches, fixed upstream
Diffstat (limited to 'community/crystal')
-rw-r--r--community/crystal/APKBUILD20
-rw-r--r--community/crystal/fix-spec-colorize.patch20
-rw-r--r--community/crystal/fix-spec-std-kernel-spec.cr.patch11
-rw-r--r--community/crystal/fix-std-http-cookie-exp.patch11
-rw-r--r--community/crystal/fix-std-xml-spec.cr.patch11
5 files changed, 6 insertions, 67 deletions
diff --git a/community/crystal/APKBUILD b/community/crystal/APKBUILD
index 452036cdb6..3d98b0f028 100644
--- a/community/crystal/APKBUILD
+++ b/community/crystal/APKBUILD
@@ -2,10 +2,10 @@
2# Contributor: Milan P. Stanić <mps@arvanta.net> 2# Contributor: Milan P. Stanić <mps@arvanta.net>
3# Maintainer: Jakub Jirutka <jakub@jirutka.cz> 3# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
4pkgname=crystal 4pkgname=crystal
5pkgver=0.32.1 5pkgver=0.33.0
6pkgrel=0 6pkgrel=0
7_bootver=0.31.1 7_bootver=0.32.1
8_llvmver=8 8_llvmver=9
9pkgdesc="The Crystal Programming Language" 9pkgdesc="The Crystal Programming Language"
10url="https://crystal-lang.org/" 10url="https://crystal-lang.org/"
11arch="x86_64" # aarch64 disabled, details in #11017 11arch="x86_64" # aarch64 disabled, details in #11017
@@ -19,11 +19,7 @@ subpackages="$pkgname-doc
19 " 19 "
20source="$pkgname-$pkgver.tar.gz::https://github.com/crystal-lang/$pkgname/archive/$pkgver.tar.gz 20source="$pkgname-$pkgver.tar.gz::https://github.com/crystal-lang/$pkgname/archive/$pkgver.tar.gz
21 https://dev.alpinelinux.org/archive/crystal/crystal-$_bootver-x86_64-alpine-linux-musl.tar.gz 21 https://dev.alpinelinux.org/archive/crystal/crystal-$_bootver-x86_64-alpine-linux-musl.tar.gz
22 fix-spec-std-kernel-spec.cr.patch
23 fix-std-xml-spec.cr.patch
24 fix-version-string.patch 22 fix-version-string.patch
25 fix-std-http-cookie-exp.patch
26 fix-spec-colorize.patch
27 " 23 "
28builddir="$srcdir/$pkgname-$pkgver" 24builddir="$srcdir/$pkgname-$pkgver"
29 25
@@ -115,10 +111,6 @@ zshcomp() {
115 "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname 111 "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
116} 112}
117 113
118sha512sums="d83575f4c7953054824f13516cdc04bd7576bf7165754d96a9f4970e2a6cbf779b4db6806d3eeac465ed0c223c203ef95fc3bda70d1ef9f7c96ec96cd076283d crystal-0.32.1.tar.gz 114sha512sums="41f518ec5c8f2f2cffb84105e0cc5096d4ba7ef64887ad0089aa37109fa5fa8e28747fe4f4ca8a74012e7b77d8c7a9d72cd9da787a330a4a62b5e55b40f0e57b crystal-0.33.0.tar.gz
1192fc7384bc58a04c559ab38a8b284ce9e7475c57a03b59928c6d884fb79cc620f930b83268f82dfa7f107477eac5befbcc8081b2f41b2214172d1f320e7495f37 crystal-0.31.1-x86_64-alpine-linux-musl.tar.gz 1156f9380552a1a65830d05a508ccec994eb0f36d35e86ad4f130b5680cc3f854798d70d69022b30aa0b0feb10019209af0490a534689e06af1d8e82d633ae1eafa crystal-0.32.1-x86_64-alpine-linux-musl.tar.gz
120ee1d81b40a9b15b2abfecbc61a1ef830700cc5613f9d2626722e8393633ed5d40329ac1fc2813b08b66c689876d3bd8a9f949a22beeda572ea3d4753f58417a8 fix-spec-std-kernel-spec.cr.patch 1161bb7d649841a7b0f66fdebbb75647ef8958ce7fb3437f0a6303ad21750af79becdcad87ddcf9353d48d466495a6c5837171b571a46412fd746c741296a67ad93 fix-version-string.patch"
121dabfb0ca7859785dd1ed75f5eaea7a7c25b09a61d7c9c81f4cbac4ece7dc475d531ce9fd6d1002db9ec5d7067051ea34fd77ab590c2c733034f430c89229cfa9 fix-std-xml-spec.cr.patch
1221bb7d649841a7b0f66fdebbb75647ef8958ce7fb3437f0a6303ad21750af79becdcad87ddcf9353d48d466495a6c5837171b571a46412fd746c741296a67ad93 fix-version-string.patch
1234fd246be702982a012c3092e1742a5b80566b6d43888f9c09b25c27efcb56f5417a77234b5d36ebdcf89c5ad3a0571ca717ab26ed833c05497a4bf12328fcf17 fix-std-http-cookie-exp.patch
1242a52f81c36c85f138fa7f59483fe417e7fc01bc38b1d4061b37487a2d17c2a698b89813b51c43c6fc6bb65b1b0aa8f108427f85e86fe59fe97a3e6e075cdac54 fix-spec-colorize.patch"
diff --git a/community/crystal/fix-spec-colorize.patch b/community/crystal/fix-spec-colorize.patch
deleted file mode 100644
index 09f0b616bc..0000000000
--- a/community/crystal/fix-spec-colorize.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1--- a/spec/std/colorize_spec.cr 2019-12-18 15:49:14.000000000 +0100
2+++ b/spec/std/colorize_spec.cr 2020-04-10 10:04:54.121547726 +0200
3@@ -129,7 +129,7 @@
4 colorize("hello", :red).inspect.should eq("\e[31m\"hello\"\e[0m")
5 end
6
7- it "colorizes with surround" do
8+ pending "colorizes with surround" do
9 io = IO::Memory.new
10 with_color_wrap.red.surround(io) do
11 io << "hello"
12@@ -177,7 +177,7 @@
13 io.to_s.should eq("\e[31mhello\e[0mworld\e[31mbye\e[0m")
14 end
15
16- it "colorizes with to_s" do
17+ pending "colorizes with to_s" do
18 ColorizeToS.new.colorize.red.to_s.should eq("\e[31mhello\e[0;34mworld\e[0;31mbye\e[0m")
19 end
20
diff --git a/community/crystal/fix-spec-std-kernel-spec.cr.patch b/community/crystal/fix-spec-std-kernel-spec.cr.patch
deleted file mode 100644
index 08100900b4..0000000000
--- a/community/crystal/fix-spec-std-kernel-spec.cr.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- a/spec/std/kernel_spec.cr 2019-02-05 14:51:38.000000000 +0000
2+++ b/spec/std/kernel_spec.cr 2019-02-19 19:11:02.129045734 +0000
3@@ -232,7 +232,7 @@
4 error.should_not contain("Stack overflow")
5 end
6
7- it "detects stack overflow on the main stack" do
8+ pending "detects stack overflow on the main stack" do
9 # This spec can take some time under FreeBSD where
10 # the default stack size is 0.5G. Setting a
11 # smaller stack size with `ulimit -s 8192`
diff --git a/community/crystal/fix-std-http-cookie-exp.patch b/community/crystal/fix-std-http-cookie-exp.patch
deleted file mode 100644
index b25da46010..0000000000
--- a/community/crystal/fix-std-http-cookie-exp.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- a/spec/std/http/cookie_spec.cr 2019-12-18 15:49:14.000000000 +0100
2+++ b/spec/std/http/cookie_spec.cr 2020-02-18 12:07:51.036417255 +0100
3@@ -218,7 +218,7 @@
4 parse_set_cookie("bla=1; max-age=1").expired?.should eq false
5 end
6
7- it "not expired" do
8+ pending "not expired" do
9 parse_set_cookie("bla=1; expires=Thu, 01 Jan 2020 00:00:00 -0000").expired?.should eq false
10 end
11
diff --git a/community/crystal/fix-std-xml-spec.cr.patch b/community/crystal/fix-std-xml-spec.cr.patch
deleted file mode 100644
index 85e326cd37..0000000000
--- a/community/crystal/fix-std-xml-spec.cr.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- a/spec/std/xml/xml_spec.cr 2019-09-30 13:54:53.000000000 +0000
2+++ b/spec/std/xml/xml_spec.cr 2019-12-03 22:50:05.797044949 +0000
3@@ -157,7 +157,7 @@
4 person2.previous_element.should eq(person)
5 end
6
7- it "handles errors" do
8+ pending "handles errors" do
9 xml = XML.parse(%(<people>))
10 xml.root.not_nil!.name.should eq("people")
11 errors = xml.errors.not_nil!