From 64ebc71df972b6d6d801bf9195a449ebc8cb4bf1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 29 Jun 2022 09:07:46 +0000 Subject: [PATCH] dev-python/matplotlib: fix installed _version.py Closes: https://bugs.gentoo.org/854600 Signed-off-by: Sam James --- .../{matplotlib-3.5.1-r1.ebuild => matplotlib-3.5.1-r2.ebuild} | 3 +++ .../{matplotlib-3.5.2-r2.ebuild => matplotlib-3.5.2-r3.ebuild} | 3 +++ 2 files changed, 6 insertions(+) rename dev-python/matplotlib/{matplotlib-3.5.1-r1.ebuild => matplotlib-3.5.1-r2.ebuild} (98%) rename dev-python/matplotlib/{matplotlib-3.5.2-r2.ebuild => matplotlib-3.5.2-r3.ebuild} (98%) diff --git a/dev-python/matplotlib/matplotlib-3.5.1-r1.ebuild b/dev-python/matplotlib/matplotlib-3.5.1-r2.ebuild similarity index 98% rename from dev-python/matplotlib/matplotlib-3.5.1-r1.ebuild rename to dev-python/matplotlib/matplotlib-3.5.1-r2.ebuild index 075c1245f88cf..ce449939b2829 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 similarity index 98% rename from dev-python/matplotlib/matplotlib-3.5.2-r2.ebuild rename to dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild index 9f9c78422ea41..eb371d6af08c9 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