File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ class Hike < Formula
110110
111111 def install
112112 virtualenv_create ( libexec , "python3" )
113+ ENV [ "SOURCE_DATE_EPOCH" ] = "1451574000"
113114 virtualenv_install_with_resources
114115 end
115116
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ hike: clean
5454 pipenv install $@
5555 pipenv run poet -f $@ > Formula/$@ .rb
5656 sed -i ' ' ' s/Shiny new formula/A Markdown browser for the terminal/' Formula/$@ .rb
57+ ./fix-hatch " Formula/$@ .rb"
5758
5859.PHONY : journey2md
5960journey2md : clean
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # Workaround for https://github.com/pypa/hatch/pull/1999
4+ FIX=' ENV["SOURCE_DATE_EPOCH"] = "1451574000"'
5+
6+ gsed -i " /virtualenv_install_with_resources/i \\ $FIX " " $1 "
7+
8+ # ## fix-hatch ends here
You can’t perform that action at this time.
0 commit comments