From 79cdf89ca7cb5cc6b52f93fdd71ed73ea52f3e53 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 28 Jun 2021 15:22:07 +0200 Subject: [PATCH] dev-python/fontMath: export version for setuptools_scm Closes: https://bugs.gentoo.org/799029 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri --- dev-python/fontMath/fontMath-0.8.1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-python/fontMath/fontMath-0.8.1.ebuild b/dev-python/fontMath/fontMath-0.8.1.ebuild index 3d2608c58e..7a21cddc0c 100644 --- a/dev-python/fontMath/fontMath-0.8.1.ebuild +++ b/dev-python/fontMath/fontMath-0.8.1.ebuild @@ -21,3 +21,7 @@ RDEPEND=" DEPEND="${RDEPEND}" distutils_enable_tests pytest + +pkg_setup() { + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}" +}