Skip to content

Commit

Permalink
Merge pull request Homebrew#153578 from singingwolfboy/zim-py12
Browse files Browse the repository at this point in the history
zim: migrate to [email protected]
  • Loading branch information
BrewTestBot authored Nov 8, 2023
2 parents 9170010 + 0f9c60b commit c58d15a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Formula/z/zim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ 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"

bottle do
sha256 cellar: :any_skip_relocation, all: "05e3421ed1bd3fa9d8c285e6fa8c1d5fb06c70ccf83429dec8ce3fc411028c82"
rebuild 1
sha256 cellar: :any_skip_relocation, all: "2a4540798783567312cf13df45741f747e95e46a7e2e57f2b37d524acb5f62b5"
end

depends_on "pkg-config" => :build
Expand All @@ -16,15 +17,15 @@ 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"
sha256 "3267bb3074e934df202af2ee0868575484108581e6f3cb006af1da35395e88b4"
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
Expand Down

0 comments on commit c58d15a

Please sign in to comment.