Skip to content

Commit

Permalink
Merge pull request #165814 from Homebrew/bump-ord-0.16.0
Browse files Browse the repository at this point in the history
ord 0.16.0
  • Loading branch information
BrewTestBot authored Mar 12, 2024
2 parents 06146e8 + 4f4fbd4 commit e6e5a1c
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions Formula/o/ord.rb
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@
class Ord < Formula
desc "Index, block explorer, and command-line wallet"
homepage "https://ordinals.com/"
url "https://github.com/ordinals/ord/archive/refs/tags/0.15.0.tar.gz"
sha256 "0c14e25c1c27a99fd9ec15a4263d4df6336f19cdf894304c4f7d42b64c14f2ea"
url "https://github.com/ordinals/ord/archive/refs/tags/0.16.0.tar.gz"
sha256 "f2d89cbcb78948e5906659702928e87abb2fec3d4c620de67db23fc8c2ad5fbb"
license "CC0-1.0"
head "https://github.com/ordinals/ord.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "17cbbf5ff14f75caa640a347611f1a1ece31bf43c06a99c73c3520d2f1a51287"
sha256 cellar: :any_skip_relocation, arm64_ventura: "ff317f969e7c0cd85ae187174a9d5819c54d0947ef85796179a22deb44c9f0c1"
sha256 cellar: :any_skip_relocation, arm64_monterey: "5675e9284a61c40443594f992a646253377ce8c74a09095af5a817067ff15ed4"
sha256 cellar: :any_skip_relocation, sonoma: "0fe8ff93fe36225a0f18ffd4c18b5b527ac4a5240d9101934cbc5de498291627"
sha256 cellar: :any_skip_relocation, ventura: "b06a107adfab1dcf771082a0e34a43b57882d26a2f444e651f33e18f3f65cb02"
sha256 cellar: :any_skip_relocation, monterey: "e649e46546b095ff90b46ae3dc5d42dc7ae36ffa99696ad03436e3289b6536b5"
sha256 cellar: :any_skip_relocation, x86_64_linux: "87b3ddfa49e34b119ce079927a543ac5fcdb841158d9052cb315361887840dca"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "36dfa61e24b70b433fe05cbcb94cd075ee2cd89ba37264b970cd91d83d08398c"
sha256 cellar: :any_skip_relocation, arm64_ventura: "9a85a3fe2b7806089d2653f1c66f5e31e97947ebaf8577b1048da74088cd0643"
sha256 cellar: :any_skip_relocation, arm64_monterey: "47ec55d66f3a00720b600bda38ca6681b42b08dbda36e17e5786fee88cbb62d6"
sha256 cellar: :any_skip_relocation, sonoma: "cae2831dba442b5c934dcc3efa58716f2404a9444993ebbcf11523709fdaee2b"
sha256 cellar: :any_skip_relocation, ventura: "39594cca657bc367481b6cf6ad0ff163169c8e30ab0567ea4e7c34c12943d98b"
sha256 cellar: :any_skip_relocation, monterey: "506888401e4bf8123d37ad9143e32c0ed62238d0fc2c5e851bccbb06bfdb7dc6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "534e5cde4c029c251cd926ee1c133f7216c74a80ab21264a8f6e82d36460f0c0"
end

depends_on "pkg-config" => :build
depends_on "rust" => :build

on_linux do
depends_on "openssl@3"
end

def install
# Ensure that the `openssl` crate picks up the intended library.
ENV["OPENSSL_DIR"] = Formula["openssl@3"].opt_prefix
ENV["OPENSSL_NO_VENDOR"] = "1"

system "cargo", "install", *std_cargo_args
end

test do
expected = "error: failed to spawn `bitcoind`"
assert_match expected, shell_output("#{bin}/ord preview 2>&1", 1)
output = shell_output("#{bin}/ord list xx:xx 2>&1", 2)
assert_match "invalid value 'xx:xx' for '<OUTPOINT>': error parsing TXID", output

assert_match "ord #{version}", shell_output("#{bin}/ord --version")
end
Expand Down

0 comments on commit e6e5a1c

Please sign in to comment.