[Bug 258891] devel/py-setuptools_scm: tries to git archive the entire ports tree on build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Oct 2021 20:03:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258891 --- Comment #5 from Kai Knoblich <kai@FreeBSD.org> --- Created attachment 228549 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228549&action=edit DRAFT-workaround-for-py-setuptools_scm-v1.patch (In reply to Robert Clausecker from comment #4) I was able to verify the issue, thanks for the pointers. As you already mentioned in comment #1 and comment #2, a broader workaround is required. This is because ports, that have devel/py-setuptools_scm as a dependency, make use of its entrypoints during build which triggers then "file_finder_git" if a ".git" directory is found. Tampering with the entrypoints of devel/py-setuptools_scm (e.g. to patch out "file_finder_git") seems not be a good idea so the workaround with the GIT_CEILING_DIRECTORIES environment might be a good workaround. Attached is a preliminary patch that sets GIT_CEILING_DIRECTORIES if "USE_PYTHON=distutils" is set. First tests were ok, but I've to test it in more detail in the next few days. I'll also soon create a review so that others from python@ can also look at it. -- You are receiving this mail because: You are on the CC list for the bug.