Skip to content

Commit 61c70f0

Browse files
authored
Merge pull request #251458 from Homebrew/s-formulae-pypi-dsl
formulae(s*): migrate to `pypi_packages` DSL
2 parents 4263909 + 1e4bbbd commit 61c70f0

36 files changed

+81
-116
lines changed

Formula/s/sacad.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class Sacad < Formula
2323
uses_from_macos "libxml2"
2424
uses_from_macos "libxslt"
2525

26+
pypi_packages exclude_packages: "pillow"
27+
2628
resource "aiohappyeyeballs" do
2729
url "https://files.pythonhosted.org/packages/26/30/f84a107a9c4331c14b2b586036f40965c128aa4fee4dda5d3d51cb14ad54/aiohappyeyeballs-2.6.1.tar.gz"
2830
sha256 "c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558"

Formula/s/safety.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class Safety < Formula
2424
depends_on "cryptography"
2525
depends_on "[email protected]"
2626

27+
pypi_packages exclude_packages: %w[certifi cryptography]
28+
2729
resource "annotated-types" do
2830
url "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz"
2931
sha256 "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"

Formula/s/sail.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ class Sail < Formula
2525
depends_on "libyaml"
2626
depends_on "[email protected]"
2727

28+
pypi_packages exclude_packages: %w[certifi cryptography]
29+
2830
# `pyyaml` package is manually updated to support Python 3.14
2931

3032
resource "bcrypt" do

Formula/s/sarif-tools.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class SarifTools < Formula
4242
depends_on "patchelf" => :build
4343
end
4444

45+
pypi_packages exclude_packages: %w[numpy pillow]
46+
4547
resource "contourpy" do
4648
url "https://files.pythonhosted.org/packages/58/01/1253e6698a07380cd31a736d248a3f2a50a7c88779a1813da27503cadc2a/contourpy-1.3.3.tar.gz"
4749
sha256 "083e12155b210502d0bca491432bb04d56dc3432f95a979b429f2848c3dbe880"

Formula/s/scdl.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class Scdl < Formula
1717
depends_on "ffmpeg"
1818
depends_on "[email protected]"
1919

20+
pypi_packages exclude_packages: "certifi"
21+
2022
resource "charset-normalizer" do
2123
url "https://files.pythonhosted.org/packages/83/2d/5fd176ceb9b2fc619e63405525573493ca23441330fcdaee6bef9460e924/charset_normalizer-3.4.3.tar.gz"
2224
sha256 "6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14"

Formula/s/sceptre.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ class Sceptre < Formula
2222
depends_on "libyaml"
2323
depends_on "[email protected]"
2424

25+
pypi_packages exclude_packages: ["certifi"]
26+
2527
resource "attrs" do
2628
url "https://files.pythonhosted.org/packages/6b/5c/685e6633917e101e5dcb62b9dd76946cbb57c26e133bae9e0cd36033c0a9/attrs-25.4.0.tar.gz"
2729
sha256 "16d5969b87f0859ef33a48b35d55ac1be6e42ae49d5e853b597db70c35c57e11"

Formula/s/schemathesis.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class Schemathesis < Formula
2323

2424
conflicts_with "st", because: "both install `st` binaries"
2525

26+
pypi_packages exclude_packages: %w[certifi rpds-py]
27+
2628
resource "anyio" do
2729
url "https://files.pythonhosted.org/packages/c6/78/7d432127c41b50bccba979505f272c16cbcadcc33645d5fa3a738110ae75/anyio-4.11.0.tar.gz"
2830
sha256 "82a8d0b81e318cc5ce71a5f1f8b5c4e63619620b63141ef8c995fa0db95a57c4"

Formula/s/scikit-image.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class ScikitImage < Formula
3131
depends_on "patchelf" => :build
3232
end
3333

34+
pypi_packages exclude_packages: %w[numpy pillow scipy]
35+
3436
resource "imageio" do
3537
url "https://files.pythonhosted.org/packages/0c/47/57e897fb7094afb2d26e8b2e4af9a45c7cf1a405acdeeca001fdf2c98501/imageio-2.37.0.tar.gz"
3638
sha256 "71b57b3669666272c818497aebba2b4c5f20d5b37c81720e5e1a56d59c492996"

Formula/s/scipy.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ class Scipy < Formula
3030
depends_on "patchelf" => :build
3131
end
3232

33+
pypi_packages exclude_packages: "numpy"
34+
3335
def pythons
3436
deps.map(&:to_formula)
3537
.select { |f| f.name.start_with?("python@") }

Formula/s/scoutsuite.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ class Scoutsuite < Formula
2525
depends_on "pydantic-core" => :no_linkage
2626
depends_on "[email protected]"
2727

28+
pypi_packages exclude_packages: %w[certifi cryptography pydantic-core]
29+
2830
resource "aliyun-python-sdk-actiontrail" do
2931
url "https://files.pythonhosted.org/packages/69/ec/76d2733699ffb003dffa0da0f0b1cbc34ea48e535f7639deb079b73bd5ed/aliyun-python-sdk-actiontrail-2.2.0.tar.gz"
3032
sha256 "572e3049529fd6c21974fd2e4fc98b057d2c85ca1d90ca23425c22288d265a37"

0 commit comments

Comments
 (0)