Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/fontMath/
Date: Mon, 28 Jun 2021 13:56:20
Message-Id: 1624887253.79cdf89ca7cb5cc6b52f93fdd71ed73ea52f3e53.flow@gentoo
1 commit: 79cdf89ca7cb5cc6b52f93fdd71ed73ea52f3e53
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Mon Jun 28 13:22:07 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 28 13:34:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79cdf89c
7
8 dev-python/fontMath: export version for setuptools_scm
9
10 Closes: https://bugs.gentoo.org/799029
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
13
14 dev-python/fontMath/fontMath-0.8.1.ebuild | 4 ++++
15 1 file changed, 4 insertions(+)
16
17 diff --git a/dev-python/fontMath/fontMath-0.8.1.ebuild b/dev-python/fontMath/fontMath-0.8.1.ebuild
18 index 3d2608c58..7a21cddc0 100644
19 --- a/dev-python/fontMath/fontMath-0.8.1.ebuild
20 +++ b/dev-python/fontMath/fontMath-0.8.1.ebuild
21 @@ -21,3 +21,7 @@ RDEPEND="
22 DEPEND="${RDEPEND}"
23
24 distutils_enable_tests pytest
25 +
26 +pkg_setup() {
27 + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
28 +}