From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/crystal/files/
Date: Sun, 9 Jun 2019 19:01:24 +0000 (UTC) [thread overview]
Message-ID: <1560106874.d78e561340ad91e0932b3eaefee3363bf68e4751.slyfox@gentoo> (raw)
commit: d78e561340ad91e0932b3eaefee3363bf68e4751
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Jun 7 17:30:20 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jun 9 19:01:14 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78e5613
dev-lang/crystal: remove unused patches
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12216
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../files/crystal-0.24.0-verbose-LDFLAGS.patch | 9 -----
.../crystal-0.24.2-gentoo-tests-sandbox.patch | 37 ------------------
...ystal-0.27.0-gentoo-tests-network-sandbox.patch | 44 ----------------------
3 files changed, 90 deletions(-)
diff --git a/dev-lang/crystal/files/crystal-0.24.0-verbose-LDFLAGS.patch b/dev-lang/crystal/files/crystal-0.24.0-verbose-LDFLAGS.patch
deleted file mode 100644
index 3d02a119f85..00000000000
--- a/dev-lang/crystal/files/crystal-0.24.0-verbose-LDFLAGS.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff --git a/Makefile b/Makefile
-index eff69e5..5c0c024 100644
---- a/Makefile
-+++ b/Makefile
-@@ -28,3 +28,3 @@ SOURCES := $(shell find src -name '*.cr')
- SPEC_SOURCES := $(shell find spec -name '*.cr')
--FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static )
-+FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static )$(if $(verbose),--verbose )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )
- SPEC_FLAGS := $(if $(verbose),-v )$(if $(junit_output),--junit_output $(junit_output) )
diff --git a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch b/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch
deleted file mode 100644
index 4bd779a834c..00000000000
--- a/dev-lang/crystal/files/crystal-0.24.2-gentoo-tests-sandbox.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/spec/std/file_spec.cr b/spec/std/file_spec.cr
-index 4a08b7d..cb1b28c 100644
---- a/spec/std/file_spec.cr
-+++ b/spec/std/file_spec.cr
-@@ -1026,7 +1026,8 @@ describe "File" do
- end
- end
-
-- it "raises if file cannot be accessed" do
-+ # On linux it's "Permission denied", not "Operation not permitted"
-+ pending "raises if file cannot be accessed" do
- expect_raises Errno, "Operation not permitted" do
- File.touch("/bin/ls")
- end
-diff --git a/spec/std/process_spec.cr b/spec/std/process_spec.cr
-index 4a36f18..0cd63a8 100644
---- a/spec/std/process_spec.cr
-+++ b/spec/std/process_spec.cr
-@@ -115,14 +115,16 @@ describe Process do
- end
-
- describe "environ" do
-- it "clears the environment" do
-+ #gentoo's sandbox keeps sandbox environment
-+ pending "clears the environment" do
- value = Process.run("env", clear_env: true) do |proc|
- proc.output.gets_to_end
- end
- value.should eq("")
- end
-
-- it "sets an environment variable" do
-+ #gentoo's sandbox keeps sandbox environment
-+ pending "sets an environment variable" do
- env = {"FOO" => "bar"}
- value = Process.run("env", clear_env: true, env: env) do |proc|
- proc.output.gets_to_end
diff --git a/dev-lang/crystal/files/crystal-0.27.0-gentoo-tests-network-sandbox.patch b/dev-lang/crystal/files/crystal-0.27.0-gentoo-tests-network-sandbox.patch
deleted file mode 100644
index 0ba0f18f73d..00000000000
--- a/dev-lang/crystal/files/crystal-0.27.0-gentoo-tests-network-sandbox.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- a/spec/std/socket/tcp_server_spec.cr
-+++ b/spec/std/socket/tcp_server_spec.cr
-@@ -76,13 +76,17 @@ describe TCPServer do
- TCPServer.new("localhost", unused_local_port)
- end
-
-- it "raises when host doesn't exist" do
-+ # gentoo's FEATURES=network-sandbox blocks external network:
-+ # Socket::Error: getaddrinfo: Temporary failure in name resolution
-+ pending "raises when host doesn't exist" do
- expect_raises(Socket::Error, "No address") do
- TCPServer.new("doesnotexist.example.org.", 12345)
- end
- end
-
-- it "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do
-+ # gentoo's FEATURES=network-sandbox blocks external network:
-+ # Socket::Error: getaddrinfo: Temporary failure in name resolution
-+ pending "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do
- expect_raises(Socket::Error, "No address") do
- TCPServer.new("doesnotexist.example.org.", 0)
- end
---- a/spec/std/socket/tcp_socket_spec.cr
-+++ b/spec/std/socket/tcp_socket_spec.cr
-@@ -56,13 +56,17 @@ describe TCPSocket do
- end
- end
-
-- it "raises when host doesn't exist" do
-+ # gentoo's FEATURES=network-sandbox blocks external network:
-+ # Socket::Error: getaddrinfo: Temporary failure in name resolution
-+ pending "raises when host doesn't exist" do
- expect_raises(Socket::Error, "No address") do
- TCPSocket.new("doesnotexist.example.org.", 12345)
- end
- end
-
-- it "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do
-+ # gentoo's FEATURES=network-sandbox blocks external network:
-+ # Socket::Error: getaddrinfo: Temporary failure in name resolution
-+ pending "raises (rather than segfault on darwin) when host doesn't exist and port is 0" do
- expect_raises(Socket::Error, "No address") do
- TCPSocket.new("doesnotexist.example.org.", 0)
- end
next reply other threads:[~2019-06-09 19:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-09 19:01 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-11 18:56 [gentoo-commits] repo/gentoo:master commit in: dev-lang/crystal/files/ Maciej Barć
2023-04-25 13:00 Maciej Barć
2021-07-18 19:48 Sergei Trofimovich
2020-06-24 20:38 Sergei Trofimovich
2020-05-05 20:58 Sergei Trofimovich
2019-12-21 16:50 Sergei Trofimovich
2019-08-08 7:21 Sergei Trofimovich
2019-03-02 20:07 Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1560106874.d78e561340ad91e0932b3eaefee3363bf68e4751.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox