Skip to content

Commit

Permalink
Merge pull request #153428 from singingwolfboy/uhd-py12
Browse files Browse the repository at this point in the history
uhd: migrate to [email protected]
  • Loading branch information
BrewTestBot authored Nov 6, 2023
2 parents 30927db + 6574041 commit 3af0249
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions Formula/u/uhd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,31 @@ class Uhd < Formula
end

bottle do
sha256 arm64_sonoma: "868130cfd963f85e583d36c4d477ac7f873b2bdca426e61f9ed3a1cf6379dfd0"
sha256 arm64_ventura: "1d62d4ea0f93ff6b419e51c7e7840389cfa45d2854bb7efa9b1cf4ed05c60918"
sha256 arm64_monterey: "4958f85e04f42938b30c7bbada54f653dfbd23e109349f13115cfc8cbe141780"
sha256 sonoma: "49c1a1781c3d8938dde4e46c54117f7fe3fcbbec75174eae338d855184e34c6d"
sha256 ventura: "e9814fc96289b2043b6eff90b8e8fd67e654af30349d08a5c577138501eeca87"
sha256 monterey: "3898f0c2fa76cbd4d52f91c9ed6592ff48e5460a108da4498c1dc8f66fc57f18"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c92eaf78000344362d308accf167557e25eb551a0736bab01dd122721190c4fe"
rebuild 1
sha256 arm64_sonoma: "554f812585d412dee606291230167b08ab3b2b86a532e34b296eec8c2088b703"
sha256 arm64_ventura: "8a42aa72c0a15d9c3604cc56cb19f1e9c73496a184485a1c7f20f12ad7c8448c"
sha256 arm64_monterey: "69a51f737c40227b6e08110f3190ecfada05fd5d875db376afa22e3b351a7c2f"
sha256 sonoma: "e4b9c6068c0accf852fa430ac3fc718cadbf579bf2be6f4176038f9901cb4993"
sha256 ventura: "699be5efeaea6b60750e815c183be24b3f615b83fe7cbd80e109bd602ff2145a"
sha256 monterey: "79081a35d4f45cbe61903dd095fe9dde9ea1cecd4897bc1ac3ecba6e56e481f0"
sha256 cellar: :any_skip_relocation, x86_64_linux: "58049be7948bed3c9e49547af2d40fdafdc41543a47d9c4a19c4d41d625148b1"
end

depends_on "cmake" => :build
depends_on "doxygen" => :build
depends_on "pkg-config" => :build
depends_on "python-mako" => :build
depends_on "boost"
depends_on "libusb"
depends_on "python-markupsafe"
depends_on "[email protected]"
depends_on "[email protected]"

fails_with gcc: "5"

resource "mako" do
url "https://files.pythonhosted.org/packages/05/5f/2ba6e026d33a0e6ddc1dddf9958677f76f5f80c236bd65309d280b166d3e/Mako-1.2.4.tar.gz"
sha256 "d60a3903dc3bb01a18ad6a89cdbe2e4eadc69c0bc8ef1e3773ba53d44c3f7a34"
end

def python3
"python3.11"
"python3.12"
end

def install
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor"/Language::Python.site_packages(python3)

resource("mako").stage do
system python3, *Language::Python.setup_install_args(libexec/"vendor", python3)
end

system "cmake", "-S", "host", "-B", "host/build", "-DENABLE_TESTS=OFF", *std_cmake_args
system "cmake", "--build", "host/build"
system "cmake", "--install", "host/build"
Expand Down

0 comments on commit 3af0249

Please sign in to comment.