From 91ae59581e9572008461a578d50527ee59c1b019 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Tue, 7 Nov 2023 19:35:06 +0100 Subject: [PATCH 1/2] zim: migrate to python@3.12 zim: update sha256 --- Formula/z/zim.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/z/zim.rb b/Formula/z/zim.rb index 8263e4691ede6..7d30717860451 100644 --- a/Formula/z/zim.rb +++ b/Formula/z/zim.rb @@ -2,7 +2,7 @@ class Zim < Formula desc "Graphical text editor used to maintain a collection of wiki pages" homepage "https://zim-wiki.org/" url "https://github.com/zim-desktop-wiki/zim-desktop-wiki/archive/refs/tags/0.75.2.tar.gz" - sha256 "7f7a21a37c3f81c4c52f3712573b2a67279f16cf81870155532c3d33678657f0" + sha256 "79d20946d2c51fb1285b8a80b8afedb39402d6e4f1349ebe4be945318f275493" license "GPL-2.0-or-later" head "https://github.com/zim-desktop-wiki/zim-desktop-wiki.git", branch: "master" @@ -16,7 +16,7 @@ class Zim < Formula depends_on "gtk+3" depends_on "gtksourceview3" depends_on "pygobject3" - depends_on "python@3.11" + depends_on "python@3.12" resource "pyxdg" do url "https://files.pythonhosted.org/packages/b0/25/7998cd2dec731acbd438fbf91bc619603fc5188de0a9a17699a781840452/pyxdg-0.28.tar.gz" @@ -24,7 +24,7 @@ class Zim < Formula end def install - python3 = "python3.11" + python3 = "python3.12" site_packages = Language::Python.site_packages(python3) ENV.prepend_create_path "PYTHONPATH", libexec/site_packages resource("pyxdg").stage do From 0f9c60b5a2645e0249a33bc3c33a8d55de7795f8 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Wed, 8 Nov 2023 01:57:50 +0000 Subject: [PATCH 2/2] zim: update 0.75.2 bottle. --- Formula/z/zim.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/z/zim.rb b/Formula/z/zim.rb index 7d30717860451..7123e8e2a0530 100644 --- a/Formula/z/zim.rb +++ b/Formula/z/zim.rb @@ -7,7 +7,8 @@ class Zim < Formula head "https://github.com/zim-desktop-wiki/zim-desktop-wiki.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, all: "05e3421ed1bd3fa9d8c285e6fa8c1d5fb06c70ccf83429dec8ce3fc411028c82" + rebuild 1 + sha256 cellar: :any_skip_relocation, all: "2a4540798783567312cf13df45741f747e95e46a7e2e57f2b37d524acb5f62b5" end depends_on "pkg-config" => :build