Skip to content

Commit 1ce4fca

Browse files
BrewTestBotchenrui333
authored andcommitted
tenere 0.11.3
tenere: vendor libgit2 Signed-off-by: Rui Chen <[email protected]>
1 parent b580029 commit 1ce4fca

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Formula/t/tenere.rb

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
class Tenere < Formula
22
desc "TUI interface for LLMs written in Rust"
33
homepage "https://github.com/pythops/tenere"
4-
url "https://github.com/pythops/tenere/archive/refs/tags/v0.11.2.tar.gz"
5-
sha256 "865c9b041faf935545dbb9753b33a8ff09bf4bfd8917d25ca93f5dc0c0cac114"
4+
url "https://github.com/pythops/tenere/archive/refs/tags/v0.11.3.tar.gz"
5+
sha256 "3605fcdff3dbd5d153ed6126e98274994bd00ed83a2a1f5587058d75797257a8"
66
license "GPL-3.0-or-later"
7-
revision 1
87

98
bottle do
109
rebuild 1
@@ -19,15 +18,13 @@ class Tenere < Formula
1918

2019
depends_on "pkgconf" => :build
2120
depends_on "rust" => :build
21+
depends_on "[email protected]"
2222
depends_on "oniguruma"
2323

2424
uses_from_macos "zlib"
2525

2626
def install
27-
# TODO: ENV["LIBGIT2_NO_VENDOR"] = "1"
28-
libgit2_version = File.read("Cargo.lock")[/name = "libgit2-sys"\nversion = "(.+)\+(.+)"/, 2]
29-
odie "Unbundled libgit2 as now using #{libgit2_version}!" if Version.new(libgit2_version) >= "1.8"
30-
27+
ENV["LIBGIT2_NO_VENDOR"] = "1"
3128
ENV["RUSTONIG_SYSTEM_LIBONIG"] = "1"
3229

3330
system "cargo", "install", *std_cargo_args

0 commit comments

Comments
 (0)