-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tartufo: update to use pygit2 1.15.1
Signed-off-by: Rui Chen <[email protected]> tartufo: add pygit 1.15.1 build patch Signed-off-by: Rui Chen <[email protected]>
- Loading branch information
1 parent
de81339
commit fec31f0
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ class Tartufo < Formula | |
url "https://files.pythonhosted.org/packages/d5/ea/6248387282150270f1886d75111f776f43e694f488a3a1ea3b5b0d1195f1/tartufo-5.0.0.tar.gz" | ||
sha256 "99ab6652cae6de295aeb31089e9ba27d66d0ad695af493d2d5cbc795397d1c84" | ||
license "GPL-2.0-only" | ||
revision 2 | ||
revision 3 | ||
head "https://github.com/godaddy/tartufo.git", branch: "main" | ||
|
||
bottle do | ||
|
@@ -19,7 +19,7 @@ class Tartufo < Formula | |
sha256 cellar: :any_skip_relocation, x86_64_linux: "9f44c5168bfefe9795d915ea7b527d1b67f39500e1186cbb6a4bcaa0b329ee7a" | ||
end | ||
|
||
depends_on "libgit2@1.7" | ||
depends_on "libgit2" | ||
depends_on "[email protected]" | ||
|
||
uses_from_macos "libffi" | ||
|
@@ -55,13 +55,8 @@ class Tartufo < Formula | |
end | ||
|
||
resource "pygit2" do | ||
url "https://files.pythonhosted.org/packages/f0/5e/6e05213a9163bad15489beda5f958500881d45889b0df01d7b8964f031bf/pygit2-1.14.1.tar.gz" | ||
sha256 "ec5958571b82a6351785ca645e5394c31ae45eec5384b2fa9c4e05dde3597ad6" | ||
end | ||
|
||
resource "setuptools" do | ||
url "https://files.pythonhosted.org/packages/65/d8/10a70e86f6c28ae59f101a9de6d77bf70f147180fbf40c3af0f64080adc3/setuptools-70.3.0.tar.gz" | ||
sha256 "f171bab1dfbc86b132997f26a119f6056a57950d058587841a0082e8830f9dc5" | ||
url "https://files.pythonhosted.org/packages/53/77/d33e2c619478d0daea4a50f9ffdd588db2ca55817c7e9a6c796fca3b80ef/pygit2-1.15.1.tar.gz" | ||
sha256 "e1fe8b85053d9713043c81eccc74132f9e5b603f209e80733d7955eafd22eb9d" | ||
end | ||
|
||
resource "smmap" do | ||
|
@@ -74,6 +69,12 @@ class Tartufo < Formula | |
sha256 "9330fc7faa1db67b541b28e62018c17d20be733177d290a13b24c62d1614e0c3" | ||
end | ||
|
||
# pygit 1.15.1 build patch, upstream pr ref, https://github.com/godaddy/tartufo/pull/532 | ||
patch do | ||
url "https://github.com/godaddy/tartufo/commit/c4fe2cb4011c3f830945f20593df81adfd4bcf17.patch?full_index=1" | ||
sha256 "45d63c2c3bef7c11ffd37020f1b4e0276a930a212ca596de44b86807ff8eb062" | ||
end | ||
|
||
def install | ||
virtualenv_install_with_resources | ||
end | ||
|