Skip to content

Commit 4410384

Browse files
authored
Merge pull request Homebrew#194239 from Homebrew/zim-py3.13
zim: migrate to `[email protected]`
2 parents 3d7e747 + 6b40ce8 commit 4410384

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

Formula/z/zim.rb

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ class Zim < Formula
99
head "https://github.com/zim-desktop-wiki/zim-desktop-wiki.git", branch: "master"
1010

1111
bottle do
12-
rebuild 3
13-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "201282b70e7324e1a7c21306827b3591dfb99f91f1ae941b9b1f1c3f7fa04e43"
14-
sha256 cellar: :any_skip_relocation, arm64_ventura: "201282b70e7324e1a7c21306827b3591dfb99f91f1ae941b9b1f1c3f7fa04e43"
15-
sha256 cellar: :any_skip_relocation, arm64_monterey: "201282b70e7324e1a7c21306827b3591dfb99f91f1ae941b9b1f1c3f7fa04e43"
16-
sha256 cellar: :any_skip_relocation, sonoma: "201282b70e7324e1a7c21306827b3591dfb99f91f1ae941b9b1f1c3f7fa04e43"
17-
sha256 cellar: :any_skip_relocation, ventura: "201282b70e7324e1a7c21306827b3591dfb99f91f1ae941b9b1f1c3f7fa04e43"
18-
sha256 cellar: :any_skip_relocation, monterey: "201282b70e7324e1a7c21306827b3591dfb99f91f1ae941b9b1f1c3f7fa04e43"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "40b97490f127ba70d47cf4d8f841259fa4b432ef74e7d83038a46adbb2624d81"
12+
rebuild 4
13+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "b7de8af4f17bfe1037320ec5f244d48ebcc19f27ca170113ad00e9d2c485f761"
14+
sha256 cellar: :any_skip_relocation, arm64_ventura: "b7de8af4f17bfe1037320ec5f244d48ebcc19f27ca170113ad00e9d2c485f761"
15+
sha256 cellar: :any_skip_relocation, sonoma: "b7de8af4f17bfe1037320ec5f244d48ebcc19f27ca170113ad00e9d2c485f761"
16+
sha256 cellar: :any_skip_relocation, ventura: "b7de8af4f17bfe1037320ec5f244d48ebcc19f27ca170113ad00e9d2c485f761"
17+
sha256 cellar: :any_skip_relocation, x86_64_linux: "2e2bf98837d14211336ff07437d707f5e6418f18f9cd0209661a765c7e548ed9"
2018
end
2119

2220
depends_on "pkg-config" => :build
@@ -25,7 +23,7 @@ class Zim < Formula
2523
depends_on "gtk+3"
2624
depends_on "gtksourceview4"
2725
depends_on "pygobject3"
28-
depends_on "python@3.12"
26+
depends_on "python@3.13"
2927

3028
resource "pyxdg" do
3129
url "https://files.pythonhosted.org/packages/b0/25/7998cd2dec731acbd438fbf91bc619603fc5188de0a9a17699a781840452/pyxdg-0.28.tar.gz"
@@ -37,8 +35,11 @@ class Zim < Formula
3735
sha256 "6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987"
3836
end
3937

38+
def python3
39+
"python3.13"
40+
end
41+
4042
def install
41-
python3 = "python3.12"
4243
build_venv = virtualenv_create(buildpath/"venv", python3)
4344
build_venv.pip_install resource("setuptools")
4445
ENV.prepend_create_path "PYTHONPATH", build_venv.site_packages

0 commit comments

Comments
 (0)