From owner-dev-commits-ports-all@freebsd.org Fri Aug 20 22:36:13 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2F2F66864F; Fri, 20 Aug 2021 22:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GrxLh6JMVz3KP4; Fri, 20 Aug 2021 22:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC7E821410; Fri, 20 Aug 2021 22:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17KMaC4d062095; Fri, 20 Aug 2021 22:36:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17KMaCxN062094; Fri, 20 Aug 2021 22:36:12 GMT (envelope-from git) Date: Fri, 20 Aug 2021 22:36:12 GMT Message-Id: <202108202236.17KMaCxN062094@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 2f7cd9d47c11 - main - games/anki: Unbreak after 2cf2d5e3e01fdbd2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f7cd9d47c114d81c057cc93895bd577391617d8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 22:36:13 -0000 The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f7cd9d47c114d81c057cc93895bd577391617d8 commit 2f7cd9d47c114d81c057cc93895bd577391617d8 Author: Kai Knoblich AuthorDate: 2021-08-20 22:24:11 +0000 Commit: Kai Knoblich CommitDate: 2021-08-20 22:24:11 +0000 games/anki: Unbreak after 2cf2d5e3e01fdbd2 The Bazel 4.2.0 release contains a change that handles the execution of stub Python scripts differently. [1] Remedy the issue for now by setting "stub_shebang", which was introduced with Bazel 4.2.0, accordingly instead of using its default value. [1] https://blog.bazel.build/2021/08/18/bazel-4.2.html#python --- games/anki/files/patch-python.bzl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/games/anki/files/patch-python.bzl b/games/anki/files/patch-python.bzl new file mode 100644 index 000000000000..7de2bafbafdd --- /dev/null +++ b/games/anki/files/patch-python.bzl @@ -0,0 +1,13 @@ +Since Bazel 4.2.0 bootstrapping Python stub scripts are prepended with +a "Shebang" expression. + +--- python.bzl.orig 2021-08-20 19:05:37 UTC ++++ python.bzl +@@ -27,6 +27,7 @@ py_runtime( + name = "python_runtime", + interpreter_path = "{path}", + python_version = "PY3", ++ stub_shebang = "#!{path}", + visibility = ["//visibility:public"], + ) +