summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-29 09:07:46 +0000
committerSam James <sam@gentoo.org>2022-06-29 09:07:52 +0000
commit64ebc71df972b6d6d801bf9195a449ebc8cb4bf1 (patch)
tree4afb4e8bd9026063bbddbe0d319a6ae4c0c5bb16
parentsys-process/htop: use release tarball (diff)
downloadgentoo-64ebc71df972b6d6d801bf9195a449ebc8cb4bf1.tar.gz
gentoo-64ebc71df972b6d6d801bf9195a449ebc8cb4bf1.tar.bz2
gentoo-64ebc71df972b6d6d801bf9195a449ebc8cb4bf1.zip
dev-python/matplotlib: fix installed _version.py
Closes: https://bugs.gentoo.org/854600 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-python/matplotlib/matplotlib-3.5.1-r2.ebuild (renamed from dev-python/matplotlib/matplotlib-3.5.1-r1.ebuild)3
-rw-r--r--dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild (renamed from dev-python/matplotlib/matplotlib-3.5.2-r2.ebuild)3
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/matplotlib/matplotlib-3.5.1-r1.ebuild b/dev-python/matplotlib/matplotlib-3.5.1-r2.ebuild
index 075c1245f88c..ce449939b282 100644
--- a/dev-python/matplotlib/matplotlib-3.5.1-r1.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.5.1-r2.ebuild
@@ -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
diff --git a/dev-python/matplotlib/matplotlib-3.5.2-r2.ebuild b/dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild
index 9f9c78422ea4..eb371d6af08c 100644
--- a/dev-python/matplotlib/matplotlib-3.5.2-r2.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild
@@ -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