Skip to content

Commit 48f1b84

Browse files
BrewTestBotchenrui333
authored andcommitted
literate-git 0.5.1
literate-git: add SOURCE_DATE_EPOCH patch Signed-off-by: Rui Chen <[email protected]>
1 parent edd6ae6 commit 48f1b84

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Formula/l/literate-git.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ class LiterateGit < Formula
33

44
desc "Render hierarchical git repositories into HTML"
55
homepage "https://github.com/bennorth/literate-git"
6-
url "https://files.pythonhosted.org/packages/7b/cc/1a6c994c90fa34cfa8e90e017c80f838b149fd0262daa24cdb930c091b48/literategit-0.5.0.tar.gz"
7-
sha256 "88f9e95749d427c98a397a9c38a845d9760cf3451424441bc217c53c1ec835bd"
6+
url "https://files.pythonhosted.org/packages/67/0e/e37f96177ca5227416bbf06e96d23077214fbb3968b02fe2a36c835bf49e/literategit-0.5.1.tar.gz"
7+
sha256 "3db9099c9618afd398444562738ef3142ef3295d1f6ce56251ba8d22385afe44"
88
license "GPL-3.0-or-later"
9-
revision 2
109

1110
bottle do
1211
sha256 cellar: :any_skip_relocation, arm64_sequoia: "d9d2b025ddbab295193c1e6f827407d639a9d204c4e5f9cdb5f53fd9621d180c"
@@ -42,16 +41,19 @@ class LiterateGit < Formula
4241
end
4342

4443
resource "markupsafe" do
45-
url "https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/MarkupSafe-2.1.5.tar.gz"
46-
sha256 "d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"
44+
url "https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62/markupsafe-3.0.2.tar.gz"
45+
sha256 "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0"
4746
end
4847

4948
resource "pygments" do
50-
url "https://files.pythonhosted.org/packages/8e/62/8336eff65bcbc8e4cb5d05b55faf041285951b6e80f33e2bff2024788f31/pygments-2.18.0.tar.gz"
51-
sha256 "786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199"
49+
url "https://files.pythonhosted.org/packages/7c/2d/c3338d48ea6cc0feb8446d8e6937e1408088a72a39937982cc6111d17f84/pygments-2.19.1.tar.gz"
50+
sha256 "61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f"
5251
end
5352

5453
def install
54+
# pygments > hatchling, fix to `ZIP does not support timestamps before 1980` error
55+
ENV["SOURCE_DATE_EPOCH"] = Time.now.to_i.to_s
56+
5557
virtualenv_install_with_resources
5658
end
5759

0 commit comments

Comments
 (0)