dev-python/matplotlib: fix installed _version.py

Closes: https://bugs.gentoo.org/854600
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-06-29 09:07:52 +00:00
parent 20d5319d31
commit 64ebc71df9
2 changed files with 6 additions and 0 deletions
@@ -152,6 +152,9 @@ python_prepare_all() {
# from six import *
# EOF
# Affects installed _version.py, bug #854600
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
local PATCHES=(
"${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch
"${FILESDIR}"/matplotlib-3.5.0-test.patch
@@ -143,6 +143,9 @@ python_prepare_all() {
# from six import *
# EOF
# Affects installed _version.py, bug #854600
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
local PATCHES=(
"${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch
"${FILESDIR}"/matplotlib-3.5.2-test.patch