Skip to content

Commit 0d79976

Browse files
Merge pull request #251395 from Homebrew/f-pypi-dsl
f*: use PyPI DSL
2 parents f459b0e + 1b50592 commit 0d79976

File tree

15 files changed

+34
-46
lines changed

15 files changed

+34
-46
lines changed

Formula/f/fabric.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class Fabric < Formula
2424
depends_on "libsodium" # for pynacl
2525
depends_on "[email protected]"
2626

27+
pypi_packages exclude_packages: "cryptography",
28+
extra_packages: "decorator"
29+
2730
resource "bcrypt" do
2831
url "https://files.pythonhosted.org/packages/d4/36/3329e2518d70ad8e2e5817d5a4cac6bba05a47767ec416c7d020a965f408/bcrypt-5.0.0.tar.gz"
2932
sha256 "f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd"

Formula/f/fastapi.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ class Fastapi < Formula
2525
uses_from_macos "libxml2", since: :ventura
2626
uses_from_macos "libxslt"
2727

28+
pypi_packages package_name: "fastapi[standard]",
29+
exclude_packages: "certifi"
30+
2831
resource "annotated-doc" do
2932
url "https://files.pythonhosted.org/packages/d7/a6/dc46877b911e40c00d395771ea710d5e77b6de7bacd5fdcd78d70cc5a48f/annotated_doc-0.0.3.tar.gz"
3033
sha256 "e18370014c70187422c33e945053ff4c286f453a984eba84d0dbfa0c935adeda"

Formula/f/fastmcp.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class Fastmcp < Formula
2626
depends_on "rpds-py" => :no_linkage
2727
depends_on "uv"
2828

29+
pypi_packages exclude_packages: %w[certifi cryptography pydantic-core rpds-py]
30+
2931
resource "annotated-types" do
3032
url "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz"
3133
sha256 "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"

Formula/f/fava.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class Fava < Formula
3232
depends_on "patchelf" => :build # for beancount
3333
end
3434

35+
pypi_packages exclude_packages: "certifi"
36+
3537
resource "anyio" do
3638
url "https://files.pythonhosted.org/packages/c6/78/7d432127c41b50bccba979505f272c16cbcadcc33645d5fa3a738110ae75/anyio-4.11.0.tar.gz"
3739
sha256 "82a8d0b81e318cc5ce71a5f1f8b5c4e63619620b63141ef8c995fa0db95a57c4"

Formula/f/fb-client.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class FbClient < Formula
3232

3333
conflicts_with "spotbugs", because: "both install a `fb` binary"
3434

35+
pypi_packages package_name: "",
36+
extra_packages: ["pycurl", "pyxdg"]
37+
3538
resource "pycurl" do
3639
url "https://files.pythonhosted.org/packages/e3/3d/01255f1cde24401f54bb3727d0e5d3396b67fc04964f287d5d473155f176/pycurl-7.45.7.tar.gz"
3740
sha256 "9d43013002eab2fd6d0dcc671cd1e9149e2fc1c56d5e796fad94d076d6cb69ef"

Formula/f/fdroidserver.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ class Fdroidserver < Formula
4444

4545
# `ruamel-yaml` is manually updated to support Python 3.14
4646

47+
pypi_packages package_name: "fdroidserver[optional]",
48+
exclude_packages: %w[certifi cryptography frida numpy pillow puremagic]
49+
4750
resource "alembic" do
4851
url "https://files.pythonhosted.org/packages/6b/45/6f4555f2039f364c3ce31399529dcf48dd60726ff3715ad67f547d87dfd2/alembic-1.17.0.tar.gz"
4952
sha256 "4652a0b3e19616b57d652b82bfa5e38bf5dbea0813eed971612671cb9e90c0fe"

Formula/f/fiona.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class Fiona < Formula
2424

2525
conflicts_with "fio", because: "both install `fio` binaries"
2626

27+
pypi_packages exclude_packages: "certifi"
28+
2729
resource "attrs" do
2830
url "https://files.pythonhosted.org/packages/6b/5c/685e6633917e101e5dcb62b9dd76946cbb57c26e133bae9e0cd36033c0a9/attrs-25.4.0.tar.gz"
2931
sha256 "16d5969b87f0859ef33a48b35d55ac1be6e42ae49d5e853b597db70c35c57e11"

Formula/f/flexget.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class Flexget < Formula
2222
depends_on "[email protected]"
2323
depends_on "rpds-py" => :no_linkage
2424

25+
pypi_packages package_name: "flexget[transmission]",
26+
exclude_packages: ["certifi", "rpds-py"]
27+
2528
resource "aniso8601" do
2629
url "https://files.pythonhosted.org/packages/8b/8d/52179c4e3f1978d3d9a285f98c706642522750ef343e9738286130423730/aniso8601-10.0.1.tar.gz"
2730
sha256 "25488f8663dd1528ae1f54f94ac1ea51ae25b4d531539b8bc707fed184d16845"

Formula/f/flintrock.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class Flintrock < Formula
2626
# `pyyaml` is manually updated to support Python 3.14
2727
# Issue ref: https://github.com/nchammas/flintrock/issues/385
2828

29+
pypi_packages exclude_packages: "cryptography"
30+
2931
resource "bcrypt" do
3032
url "https://files.pythonhosted.org/packages/d4/36/3329e2518d70ad8e2e5817d5a4cac6bba05a47767ec416c7d020a965f408/bcrypt-5.0.0.tar.gz"
3133
sha256 "f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd"

Formula/f/flit.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class Flit < Formula
1717
depends_on "certifi"
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"

0 commit comments

Comments
 (0)