Skip to content

Commit 7778507

Browse files
committed
homebrew: add SETUPTOOLS_SCM_PRETEND_VERSION fallback for hatch-vcs
1 parent 5b18ea1 commit 7778507

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packaging/homebrew/mfc.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def install
4747
pretend_env = {
4848
"SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MFC" => version.to_s,
4949
"SETUPTOOLS_SCM_PRETEND_VERSION_FOR_mfc" => version.to_s,
50+
"SETUPTOOLS_SCM_PRETEND_VERSION" => version.to_s, # Fallback for hatch-vcs/setuptools-scm
5051
}
5152
saved_env = {}
5253
pretend_env.each do |k, v|

0 commit comments

Comments
 (0)