diff options
Diffstat (limited to 'dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r2.ebuild')
-rw-r--r-- | dev-vcs/git-filter-repo/git-filter-repo-2.38.0-r2.ebuild | 12 |
1 files changed, 3 insertions, 9 deletions
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 7e7515e9e497..57e222c4e00d 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 @@ -22,15 +22,9 @@ RDEPEND=" S="${S}/release" -python_prepare_all() { - cat > PKG-INFO <<-EOF || die - Metadata-Version: 2.1 - Name: git-filter-repo - Version: ${PV} - EOF - - distutils-r1_python_prepare_all -} +# the git-archive tarball does not have version info; setuptools-scm +# requires a valid source of version info, this one is for distros +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} python_test() { cd .. || die |