Skip to content

Commit

Permalink
Merge pull request Homebrew#194672 from branchvincent/[email protected]
Browse files Browse the repository at this point in the history
…kit-image

scikit-image: migrate to `[email protected]`
  • Loading branch information
BrewTestBot authored Oct 16, 2024
2 parents 018558d + 8d6d110 commit 8d00cd5
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions Formula/s/scikit-image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,30 @@ class ScikitImage < Formula
head "https://github.com/scikit-image/scikit-image.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "e9e75ed9b259ac0379c32790f8a838aed9de2537736699f7c800f6639eccc5c5"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "3aeefa1537ddfbf9c2a8dd2bc77853c333e8f99a71cce6d35daeb10e95107f5a"
sha256 cellar: :any_skip_relocation, arm64_ventura: "77a258de0568a6bc6405b67707dba97b25dffe1338dbe37b39fc63b5c4c78d3c"
sha256 cellar: :any_skip_relocation, arm64_monterey: "096478908be082b78050b357a271c440015be85e21961fb827345780b34baa21"
sha256 cellar: :any_skip_relocation, sonoma: "6e28919721e67e5ec677e22851352097ec70c56e811aa1836d3d6a82bf36f477"
sha256 cellar: :any_skip_relocation, ventura: "e1710b3af9a709a4a42144623a274766bda6736c69b5d17ab6b918c4557ca87a"
sha256 cellar: :any_skip_relocation, monterey: "97cb05e332e4b5d31c1d09a44291cb2cce4938ec44a7834a9fb197201b89ec15"
sha256 cellar: :any_skip_relocation, x86_64_linux: "7a22e7dd8bb37445bc526d3f719e48738d53a46deddd6e088ada56e0663e5ef4"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sequoia: "d64e36caaa70664404ebc32cb82d1b3fc10674b2e7945f6e35e3448a22b5a57a"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "b2cffd6770ac35f0dbb025cfa434e74a594a631af8fcf5dccb641548721f6729"
sha256 cellar: :any_skip_relocation, arm64_ventura: "cc7df5c3771d32949f69e2c81ea702f20cf31e2cce5e7e85e51e97eeb12a5835"
sha256 cellar: :any_skip_relocation, sonoma: "baed5a5e5a080aa79e65fc9dd46418432dc4dbbd57422b4912ef085a7d38c9b9"
sha256 cellar: :any_skip_relocation, ventura: "f5d998d670408670d758040ce73058572d1e49b7140f3679eb4900541e72eaa1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d3416b17ddb6351488ca1e0205e463db98ded2f5500673bea7e685880ee6fd9b"
end

depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => :build
depends_on "numpy"
depends_on "pillow"
depends_on "python@3.12"
depends_on "python@3.13"
depends_on "scipy"

on_linux do
depends_on "patchelf" => :build
end

resource "imageio" do
url "https://files.pythonhosted.org/packages/2c/f9/aa9f3a4eae46f4727902516dc7b365356c1e4e883156532b74d135a69887/imageio-2.34.1.tar.gz"
sha256 "f13eb76e4922f936ac4a7fec77ce8a783e63b93543d4ea3e40793a6cabd9ac7d"
url "https://files.pythonhosted.org/packages/4f/34/a714fd354f5f7fe650477072d4da21446849b20c02045dcf7ac827495121/imageio-2.36.0.tar.gz"
sha256 "1c8f294db862c256e9562354d65aa54725b8dafed7f10f02bb3ec20ec1678850"
end

resource "lazy-loader" do
Expand All @@ -43,8 +42,8 @@ class ScikitImage < Formula
end

resource "networkx" do
url "https://files.pythonhosted.org/packages/04/e6/b164f94c869d6b2c605b5128b7b0cfe912795a87fc90e78533920001f3ec/networkx-3.3.tar.gz"
sha256 "0c127d8b2f4865f59ae9cb8aafcd60b5c70f3241ebd66f7defad7c4ab90126c9"
url "https://files.pythonhosted.org/packages/36/2b/20ad9eecdda3f1b0dc63fb8f82d2ea99163dbca08bfa392594fc2ed81869/networkx-3.4.1.tar.gz"
sha256 "f9df45e85b78f5bd010993e897b4f1fdb242c11e015b101bd951e5c0e29982d8"
end

resource "packaging" do
Expand All @@ -53,18 +52,16 @@ class ScikitImage < Formula
end

resource "tifffile" do
url "https://files.pythonhosted.org/packages/8d/e5/c58f2dc22f6372516d1154ce1874c74cecf7c52892ad5f09bf3764b6b1b2/tifffile-2024.6.18.tar.gz"
sha256 "57e0d2a034bcb6287ea3155d8716508dfac86443a257f6502b57ee7f8a33b3b6"
url "https://files.pythonhosted.org/packages/f2/14/6fe362c483166b3a44521ac5c92c98f096bd7fb05512e8730d0e23e152c9/tifffile-2024.9.20.tar.gz"
sha256 "3fbf3be2f995a7051a8ae05a4be70c96fc0789f22ed6f1c4104c973cf68a640b"
end

def install
virtualenv_install_with_resources
end

# cleanup leftover .pyc files from previous installs which can cause problems
# see https://github.com/Homebrew/homebrew-python/issues/185#issuecomment-67534979
def post_install
rm(Dir["#{HOMEBREW_PREFIX}/lib/python*.*/site-packages/skimage/**/*.pyc"])
HOMEBREW_PREFIX.glob("lib/python*.*/site-packages/skimage/**/*.pyc").map(&:unlink)
end

test do
Expand Down

0 comments on commit 8d00cd5

Please sign in to comment.