commit: 39747e16c80f1248c84bdd3135080b72e771e190
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Jan 30 05:41:29 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 06:16:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39747e16
dev-vcs/git-filter-repo: add missing build dependency on setuptools-scm
It has always been needed, since the original institution of
distutils-r1 usage in commit 4757774468319fcc805c4d3b3b8ee5acaf03bcac.
However it is usually pulled in by setuptools via a PDEPEND due to an
unrelated buggy portage behavior that is going away.
Moving to SETUPTOOLS_SCM_PRETEND_VERSION caused pkgcheck to notice this
as PythonMissingSCMDependency and report a warning.
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r1.ebuild | 3 +++
dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r2.ebuild | 3 +++
2 files changed, 6 insertions(+)
diff --git a/dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r1.ebuild
b/dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r1.ebuild
index bf12a2763a11..3fdec106e331 100644
--- a/dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r1.ebuild
+++ b/dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r1.ebuild
@@ -19,6 +19,9 @@ RDEPEND="
${PYTHON_DEPS}
>=dev-vcs/git-$(ver_cut 1-2)
"
+BDEPEND+="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
S="${S}/release"
diff --git a/dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r2.ebuild
b/dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r2.ebuild
index 57e222c4e00d..4271e2406593 100644
--- a/dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r2.ebuild
+++ b/dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r2.ebuild
@@ -19,6 +19,9 @@ RDEPEND="
${PYTHON_DEPS}
>=dev-vcs/git-$(ver_cut 1-2)
"
+BDEPEND+="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
S="${S}/release"