[Bug 258891] devel/py-setuptools_scm: tries to git archive the entire ports tree on build

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Oct 2021 00:18:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258891

--- Comment #9 from Robert Clausecker <fuz@fuz.su> ---
(In reply to Kubilay Kocak from comment #8)

Lots of Python packages use devel/py-setuptools_scm to generate versioning info
at build time, so all packages that depend on devel/py-setuptools_scm need to
be patched.

Actually I would be in favour of setting GIT_CEILING_DIRECTORIES in general and
not just in python.mk because there are probably more poorly designed build
scripts that find the ports tree's git repository when searching for version
information.  GIT_CEILING_DIRECTORIES would prevent them all from finding it.

> With that in mind, it seems setting appropriate environment variables or arguments specifically and only within the setuptools_scm port is the most appropriate solution

How would that solve the problems for other ports depending on
devel/py-setuptools_scm?

-- 
You are receiving this mail because:
You are on the CC list for the bug.