Skip to content

Commit

Permalink
Merge pull request #182840 from lukeshingles/python313
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot authored Oct 9, 2024
2 parents 16eed7a + b974cc2 commit da37061
Show file tree
Hide file tree
Showing 25 changed files with 790 additions and 133 deletions.
2 changes: 1 addition & 1 deletion Aliases/python
2 changes: 1 addition & 1 deletion Aliases/python-gdbm
2 changes: 1 addition & 1 deletion Aliases/python-tk
2 changes: 1 addition & 1 deletion Aliases/python3
2 changes: 1 addition & 1 deletion Aliases/python@3
17 changes: 8 additions & 9 deletions Formula/a/afl++.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@ class Aflxx < Formula
url "https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v4.21c.tar.gz"
sha256 "11f7c77d37cff6e7f65ac7cc55bab7901e0c6208e845a38764394d04ed567b30"
license "Apache-2.0"
revision 1
revision 2

bottle do
rebuild 1
sha256 arm64_sequoia: "bc36a276193f8bc347b58ede62c96289e5f4760c49df5b34880af7e1b096adef"
sha256 arm64_sonoma: "007e43ccfcd0ababf4201c61ca8bd5af261aa2d8ccd92554dbe07f90466adf08"
sha256 arm64_ventura: "19152794969e4f6a35db1cfce3bba890a624ce00d60f0eb562fa9ded84026af7"
sha256 sonoma: "0c1fb8e9a68cb26013482eb476e1b137193aba3c4b99e45ea53d16adc602a2a3"
sha256 ventura: "e1339535ffd0683a2f9159054ed40d603a2071398a90acc0b76c470810a2e0b5"
sha256 x86_64_linux: "e303493ba40b6ba430be07a4eaabe3ed65c86308dbdff712be5c16a527f808bf"
sha256 arm64_sequoia: "250f5dba6ce572051f67ae75d75eabcd3613dde3f2927b45bb8cfe72e4e5dac4"
sha256 arm64_sonoma: "dc4b1f173c884c94f425778e0d165a4d1fdd59417eb271b70fa626af3174d2ec"
sha256 arm64_ventura: "c99ff3ce07a26dd30716e22afe46b2872d645db463291cb2ef720edee6662bdb"
sha256 sonoma: "ac11de1cd176ad455ba1c4d325ecba42a1db02c431921a1094463cbcbf6bedf0"
sha256 ventura: "170d170077ea53a2a78f4c7926762f722ded361f8e7e08a3681f2fea55e64638"
sha256 x86_64_linux: "2f635704b9c3171d441c263f6d528caa79643e875e44ab96d605176ee2f46d03"
end

depends_on "coreutils" => :build
depends_on "llvm"
depends_on "python@3.12"
depends_on "python@3.13"

# The Makefile will insist on compiling with LLVM clang even without this.
fails_with :clang
Expand Down
10 changes: 3 additions & 7 deletions Formula/b/bandcamp-dl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ class BandcampDl < Formula
url "https://github.com/iheanyi/bandcamp-dl/archive/refs/tags/v0.0.16.tar.gz"
sha256 "78323070f0cf2f743673172d41df42f9cf1ab88f473915f56e5b284fb4de76ec"
license "Unlicense"
revision 1
head "https://github.com/iheanyi/bandcamp-dl.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "56055911efc483d56c9a9fd01367a3361da6455f85b51476f14ccb824ff9edb7"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "56055911efc483d56c9a9fd01367a3361da6455f85b51476f14ccb824ff9edb7"
sha256 cellar: :any_skip_relocation, arm64_ventura: "56055911efc483d56c9a9fd01367a3361da6455f85b51476f14ccb824ff9edb7"
sha256 cellar: :any_skip_relocation, sonoma: "56055911efc483d56c9a9fd01367a3361da6455f85b51476f14ccb824ff9edb7"
sha256 cellar: :any_skip_relocation, ventura: "56055911efc483d56c9a9fd01367a3361da6455f85b51476f14ccb824ff9edb7"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e39cb8ff7f4d9a65524a60a23f69fbe153d42fc4e58bd183e2a19d7b3e11f597"
sha256 cellar: :any_skip_relocation, all: "c29447db1a3a1e82d583043b725a2814716a769574b96ad699bcebaedfc84436"
end

depends_on "certifi"
depends_on "python@3.12"
depends_on "python@3.13"

uses_from_macos "libxml2", since: :ventura
uses_from_macos "libxslt"
Expand Down
18 changes: 8 additions & 10 deletions Formula/b/buku.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,21 @@ class Buku < Formula
url "https://github.com/jarun/buku/archive/refs/tags/v4.9.tar.gz"
sha256 "1e432270ae78c7852110dcf2c2e215893bcc338299a4998f14a1f6b26e37bfac"
license "GPL-3.0-or-later"
revision 2
revision 3
head "https://github.com/jarun/buku.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "7ad020b8fe874fc34b16ba91ba84491625a20a194ed1bce7d5428dcf6a0c0041"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "42789fd14267d57b9b0c72105cf9f9eea6a569252f7b5cefbed919c9de76c2dc"
sha256 cellar: :any_skip_relocation, arm64_ventura: "220c3bc922a5a4ecd65e4744d3f338a6260209343aae13d8c5fd62c6220afcfa"
sha256 cellar: :any_skip_relocation, arm64_monterey: "da1690b766a2a5d1b0b60f75d656f2e04ff569d3a13dd15ec1a2c7f9d54182ca"
sha256 cellar: :any_skip_relocation, sonoma: "b1a8151f967b9ce29331ca1deb8a9961e29d93c53a56106b8f94124c9a999126"
sha256 cellar: :any_skip_relocation, ventura: "78ffcaff8c41bcab589d21f9c335cb4d7b8ab9dfc04c9aa70849b7de744e3e0a"
sha256 cellar: :any_skip_relocation, monterey: "a182efa77e04bf172c94b56cd9e0ab2d5c034a793f3cb24e248bbb0318a03801"
sha256 cellar: :any_skip_relocation, x86_64_linux: "0dc87c08b6b4504d81dad0696f6ae0e514a2f435210b044b03ad6e3da898e99a"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "91c197ca9aa2c9dab0f7dc7fca83d9ec957c08f936791c7ea9baa5baaac053b2"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "8373d4f30efef28097c4836a6ca12076eb7c700b8c5a881ac1963ec276efeebf"
sha256 cellar: :any_skip_relocation, arm64_ventura: "05c8754f49764e3a858755539096b8ef41494586237754b9eebd1ec5afb5ac87"
sha256 cellar: :any_skip_relocation, sonoma: "769a6a9b5fd71a38805879af37f9b8af4be10497f37e3adcf61e9db8695e805d"
sha256 cellar: :any_skip_relocation, ventura: "d6628b26bfb355c40b1dd83db291d3e65094f6fd9d28221df1f7cffe593f9e7a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "a7677e9fc2fef63e82ca4e269e58b5e3301aecca9a9c01b0712deb7790b33ad7"
end

depends_on "certifi"
depends_on "cryptography"
depends_on "python@3.12"
depends_on "python@3.13"

uses_from_macos "expect" => :test
uses_from_macos "libffi"
Expand Down
16 changes: 8 additions & 8 deletions Formula/c/certifi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ class Certifi < Formula
url "https://files.pythonhosted.org/packages/b0/ee/9b19140fe824b367c04c5e1b369942dd754c4c5462d5674002f75c4dedc1/certifi-2024.8.30.tar.gz"
sha256 "bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"
license "MPL-2.0"
revision 1

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "0d53b46299ad29dfbaeb9c9d642887efb7235ddec1ed39ec144469114970fe6b"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "c109e2f1cbdb2c868d964f8eb4816e865ffacbf9c7d187865ac9e4b729557448"
sha256 cellar: :any_skip_relocation, arm64_ventura: "c109e2f1cbdb2c868d964f8eb4816e865ffacbf9c7d187865ac9e4b729557448"
sha256 cellar: :any_skip_relocation, arm64_monterey: "c109e2f1cbdb2c868d964f8eb4816e865ffacbf9c7d187865ac9e4b729557448"
sha256 cellar: :any_skip_relocation, sonoma: "b72c41cf69a1e7317f9994e6f0dbdf1abb3ada5d767db3c10d2b4ac63d1245d4"
sha256 cellar: :any_skip_relocation, ventura: "b72c41cf69a1e7317f9994e6f0dbdf1abb3ada5d767db3c10d2b4ac63d1245d4"
sha256 cellar: :any_skip_relocation, monterey: "b72c41cf69a1e7317f9994e6f0dbdf1abb3ada5d767db3c10d2b4ac63d1245d4"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c109e2f1cbdb2c868d964f8eb4816e865ffacbf9c7d187865ac9e4b729557448"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
sha256 cellar: :any_skip_relocation, arm64_ventura: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
sha256 cellar: :any_skip_relocation, sonoma: "1f1667b45b868ff09a3eb9f672c20299d7b49add64a1c6cf8d675b6b3ff5d5ba"
sha256 cellar: :any_skip_relocation, ventura: "1f1667b45b868ff09a3eb9f672c20299d7b49add64a1c6cf8d675b6b3ff5d5ba"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1f1fc985a1c89bd40c73b17e3dfbf5483cb0417c8d4d12e2be66158a503ab169"
end

depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "ca-certificates"

def pythons
Expand Down
16 changes: 8 additions & 8 deletions Formula/c/cffi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ class Cffi < Formula
url "https://files.pythonhosted.org/packages/fc/97/c783634659c2920c3fc70419e3af40972dbaf758daa229a7d6ea6135c90d/cffi-1.17.1.tar.gz"
sha256 "1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824"
license "MIT"
revision 1

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "3af401e70845a3ddab668051310f9bbc002d60c60bacc4833c8b86fc5a350c74"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "0e9efdb077ac820c6da89abffc9bec1b1ca2cefe9e02e8789add2ab1aaaef044"
sha256 cellar: :any_skip_relocation, arm64_ventura: "2eaa19099eb9e95e0986c43c3c8474341f7396109d933a3a96db018de0de9258"
sha256 cellar: :any_skip_relocation, arm64_monterey: "0b47208d70f0014528a91ab01ecd77f980a4c4a7c93be9298d98dfa06ca5f5c5"
sha256 cellar: :any_skip_relocation, sonoma: "fce5151feb5271e6248a26425c3acdf8bfbc26bb08d305820c8a7d8461200822"
sha256 cellar: :any_skip_relocation, ventura: "a0529e6b2049317924717646ba6c7a6cf92908a614b695632c6cbfd6a088cf1c"
sha256 cellar: :any_skip_relocation, monterey: "c73ad8cf6404d12ef051b77a1acb68ce34c16ed2d06412e26cb14036e8dfc1bf"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4fcbba8d42933c05b028cace85d7e6a20b9f99e16c83bd453c10ae16702cdda0"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "908333c6c31b4da4876ccb707cdf2b1ec52aee3d83fc3c4a1b8b52f148883512"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "7818f620936fb017c68eb02c8985dfecd297349b97e67550d4915cef440dd2fe"
sha256 cellar: :any_skip_relocation, arm64_ventura: "b143786bb8ede8b8ad7230b6be8c004f276dacccbd4647a3f169099a536fd3a6"
sha256 cellar: :any_skip_relocation, sonoma: "8e1c24e4e78f041f98e0394a6a07ef560ea84d980f0f3c3dd3ea7fb6c3f91aa4"
sha256 cellar: :any_skip_relocation, ventura: "7c8eea38ba0103ddbb0243d0ed9f74a79875f1f0dfe9d8421f3e2f45dca69da5"
sha256 cellar: :any_skip_relocation, x86_64_linux: "a49b146e624fa887497252f89c76d8e7cfcdc4d9a4ec444a5b8db856324198cf"
end

depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "pycparser"

uses_from_macos "libffi"
Expand Down
22 changes: 15 additions & 7 deletions Formula/c/chapel.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
class Chapel < Formula
include Language::Python::Shebang
desc "Programming language for productive parallel computing at scale"
homepage "https://chapel-lang.org/"
url "https://github.com/chapel-lang/chapel/releases/download/2.2.0/chapel-2.2.0.tar.gz"
sha256 "bb16952a87127028031fd2b56781bea01ab4de7c3466f7b6a378c4d8895754b6"
license "Apache-2.0"
revision 1
revision 2
head "https://github.com/chapel-lang/chapel.git", branch: "main"

bottle do
sha256 arm64_sequoia: "8d89a038eccaf6554f234a24b31d142b37043e3cb6bbffe5d11d60dac34eb163"
sha256 arm64_sonoma: "a8e2a5cc575a16cc513cbdc19edd212a115e689b5d7df2f62f80d7cc08140da4"
sha256 arm64_ventura: "68752adba8c728b86fea019bc7080ee255f3ba81705c54db60d80d34d33db19b"
sha256 sonoma: "97ab1744ea1f5e61a445a3c907d381f3b8e9a5d78f5503520a9ad89b22304dc3"
sha256 ventura: "afeb776fbe3475093841eb26731f54b8533724de9c96dce750b738a22b848289"
sha256 x86_64_linux: "6dcaabe4a79be7ed91b6f89c5725fa421f661b0f70baeec065872bb8fb83dfaa"
sha256 arm64_sequoia: "14a251ee7322a074dad39a8cc7dd0db9bf68458526ba5905c36508c4d9ee28f5"
sha256 arm64_sonoma: "929ce6c154e9d54d9c795b8f869f1247cbdc0d9b5a9a30e7614842dfd7a660f0"
sha256 arm64_ventura: "478587cf8190effca0543bacfac22d66a9672194e73fe184408795792a209a25"
sha256 sonoma: "ce4da24faa3e5723998c9dc33dfe23c32f3a31e7d47f75f30a189567b4532a90"
sha256 ventura: "30295a6d3dc7218295f247445a4a9cbc3f2d58b32d07e32faf5684108676bf35"
sha256 x86_64_linux: "2cfa7cbf0c3fbb43c3bc78f9b7b99e90a2a2b52aec2186256cfef0e70a804377"
end

depends_on "cmake"
Expand All @@ -37,13 +38,20 @@ def install
# It should be noted that this will expand to: 'for cmd in python3.12 python3 python python2; do'
# in our find-python.sh script.
inreplace "util/config/find-python.sh", /^(for cmd in )(python3 )/, "\\1#{python} \\2"
inreplace "third-party/chpl-venv/Makefile", "python3 -c ", "#{python} -c "

# a lot of scripts have a python3 or python shebang, which does not point to python3.12 anymore
Pathname.glob("**/*.py") do |pyfile|
rewrite_shebang detected_python_shebang, pyfile
end

libexec.install Dir["*"]
# Chapel uses this ENV to work out where to install.
ENV["CHPL_HOME"] = libexec
ENV["CHPL_GMP"] = "system"
# This ENV avoids a problem where cmake cache is invalidated by subsequent make calls
ENV["CHPL_CMAKE_USE_CC_CXX"] = "1"
ENV["CHPL_CMAKE_PYTHON"] = python

# don't try to set CHPL_LLVM_GCC_PREFIX since the llvm
# package should be configured to use a reasonable GCC
Expand Down
16 changes: 8 additions & 8 deletions Formula/c/cryptography.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ class Cryptography < Formula
url "https://files.pythonhosted.org/packages/de/ba/0664727028b37e249e73879348cc46d45c5c1a2a2e81e8166462953c5755/cryptography-43.0.1.tar.gz"
sha256 "203e92a75716d8cfb491dc47c79e17d0d9207ccffcbcb35f598fbe463ae3444d"
license any_of: ["Apache-2.0", "BSD-3-Clause"]
revision 1
head "https://github.com/pyca/cryptography.git", branch: "main"

bottle do
sha256 cellar: :any, arm64_sequoia: "6f26be8218b1fc85c08b076a3c3da06b685825751fa039127e69b6ea02120bd4"
sha256 cellar: :any, arm64_sonoma: "637373486e9a791bb115d369329f4249266893106fe54fe532bd5bd9a306758d"
sha256 cellar: :any, arm64_ventura: "40b6184167f35f9b7e1088df850a813044882eaf3c8007f3cc04e48a191fafa2"
sha256 cellar: :any, arm64_monterey: "c412b8a6e300a95333a151d60551774383cde0f717d196cb2f2bf2bc8257140d"
sha256 cellar: :any, sonoma: "90b17c05aad76724d3d8b1cd3fd18b765911b34d7abcadd09e98681c17581d0f"
sha256 cellar: :any, ventura: "5c2ade6777251ed43998efd39c1c3869205ceb50d5086b1333e7a15ee8c18cab"
sha256 cellar: :any, monterey: "d9ba8d1fc9306edabb94b5fe4ef46694dc110af6846c2a933acf776570c8f546"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4d1ef4342de33eeb4c6d4bd4653ba1463611d9592bf4e3570a7fc4a2e9fbfb01"
sha256 cellar: :any, arm64_sequoia: "ae96ccba63bdbe1eff0b7ea6e0b078f25fe5096f984c21438544637f7529aa41"
sha256 cellar: :any, arm64_sonoma: "118a0fa32bf78f22a2f7608a60b74b0973c3843c9b784aba9163c030d3125c37"
sha256 cellar: :any, arm64_ventura: "00b9970c80945b39299d5277711ecfa86581d011712bbb57af8ab658ba04f2d5"
sha256 cellar: :any, sonoma: "9dbcef69a8eaeb9c03c6ad42dd0dcd9ce4a3eaf16305956a1b197417ce78f4b6"
sha256 cellar: :any, ventura: "7225b21872c1e684420016b3fcf16d576044debc04a80fb96f579015b5d275c9"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9f617322ca036b4c6390bc7fa4b84128382eaf59b6853ebe57b8f2c29b56f2dc"
end

depends_on "maturin" => :build
depends_on "pkg-config" => :build
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "rust" => :build
depends_on "cffi"
depends_on "openssl@3"
Expand Down
18 changes: 9 additions & 9 deletions Formula/m/maturin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ class Maturin < Formula
url "https://github.com/PyO3/maturin/archive/refs/tags/v1.7.4.tar.gz"
sha256 "19edb033a7d744dd2b4722218d9db47dadb633948577f957b44d8c9b8eececc8"
license any_of: ["Apache-2.0", "MIT"]
revision 1
head "https://github.com/PyO3/maturin.git", branch: "main"

bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sequoia: "f049e9fb29588a84e7761c331c7c813845edae20bf70b189b4df3afa53804faf"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "60ad8a6c1eca60a3597a5afea87360a693a6edd346f66fd95e9bb592535303a4"
sha256 cellar: :any_skip_relocation, arm64_ventura: "3eef48e3fe888774037cb2323c3a6d2ad903ba1e4818f80cb8526721f5ad4a50"
sha256 cellar: :any_skip_relocation, sonoma: "8d24b16a836420944fadb3ce1846b69729a29a0840789339feb8e96bf4ff5ad8"
sha256 cellar: :any_skip_relocation, ventura: "4cbc3d48dfc37eacfdba5f4a18adc22348e26d18531eb31944e581e46b5a8327"
sha256 cellar: :any_skip_relocation, x86_64_linux: "08049dfec24d8b8c8bccae9589a64c452817a902fea21255feaa202477146cea"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "565437267821f6f495b7cac9cca4753b43fa1e2eb760bf83d11fb9420ea75cc8"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "c4fb18c3ba4bd4f773fcdd8e961b3314a2f3d61adf06497715ea98ac42c5e5ee"
sha256 cellar: :any_skip_relocation, arm64_ventura: "7ca1c609fea5a30f8094a07ac834bef702994f6fe1f7a740100a0efaab6a6d25"
sha256 cellar: :any_skip_relocation, sonoma: "1acf90a18579f828719b504d2ffbab74dfd21606293d2e8f6eb1f3e530ae3f1a"
sha256 cellar: :any_skip_relocation, ventura: "05e279fe87e2e07580647f842719b36c90b71e86928d1379c48b3bf6d720c059"
sha256 cellar: :any_skip_relocation, x86_64_linux: "a95136b390e0172132bd495a90ecdb99e7a7638096e6e4f290b8dfda3cea4a3b"
end

depends_on "python@3.12" => :test
depends_on "python@3.13" => :test
depends_on "rust"

uses_from_macos "bzip2"
Expand Down Expand Up @@ -48,7 +48,7 @@ def install
end

test do
python = "python3.12"
python = "python3.13"
system "cargo", "init", "--name=brew", "--bin"
system bin/"maturin", "build", "-o", "dist", "--compatibility", "off"
system python, "-m", "pip", "install", "brew", "--prefix=./dist", "--no-index", "--find-links=./dist"
Expand Down
7 changes: 4 additions & 3 deletions Formula/n/nanobind.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ class Nanobind < Formula
url "https://github.com/wjakob/nanobind/archive/refs/tags/v2.1.0.tar.gz"
sha256 "c37c53c60ada5fe1c956e24bd4b83af669a2309bf952bd251f36a7d2fa3bacf0"
license "BSD-3-Clause"
revision 1
head "https://github.com/wjakob/nanobind.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, all: "67d3bc9718d09845035fdb44fa3ac8e60e80bcc8170900f25a945589eeb02e9d"
sha256 cellar: :any_skip_relocation, all: "3d009113e5fad538ed8bef2db7c27a68266929a6920ecbea4b1ee2ba41298f7c"
end

depends_on "cmake" => [:build, :test]
depends_on "python@3.12" => [:build, :test]
depends_on "python@3.13" => [:build, :test]
depends_on "robin-map" => [:build, :test]

def install
Expand All @@ -33,7 +34,7 @@ def install
end

test do
python = "python3.12"
python = "python3.13"

(testpath/"my_ext.cpp").write <<~CPP
#include <nanobind/nanobind.h>
Expand Down
5 changes: 3 additions & 2 deletions Formula/p/pycparser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ class Pycparser < Formula
url "https://files.pythonhosted.org/packages/1d/b2/31537cf4b1ca988837256c910a668b553fceb8f069bedc4b1c826024b52c/pycparser-2.22.tar.gz"
sha256 "491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"
license "BSD-3-Clause"
revision 1

bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, all: "86f92b7c0a1f43ec11e9a588243022195d7933c0ba815a24c3d7e5dfdedb6be1"
sha256 cellar: :any_skip_relocation, all: "96eddd22a812be4f919562d6525ab8fa19b03b700426d2fbf892da0f4fd02e73"
end

depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]

def pythons
deps.map(&:to_formula)
Expand Down
Loading

0 comments on commit da37061

Please sign in to comment.