Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/
Date: Wed, 29 Jun 2022 09:08:04
Message-Id: 1656493672.64ebc71df972b6d6d801bf9195a449ebc8cb4bf1.sam@gentoo
1 commit: 64ebc71df972b6d6d801bf9195a449ebc8cb4bf1
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 29 09:07:46 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 29 09:07:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ebc71d
7
8 dev-python/matplotlib: fix installed _version.py
9
10 Closes: https://bugs.gentoo.org/854600
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../{matplotlib-3.5.1-r1.ebuild => matplotlib-3.5.1-r2.ebuild} | 3 +++
14 .../{matplotlib-3.5.2-r2.ebuild => matplotlib-3.5.2-r3.ebuild} | 3 +++
15 2 files changed, 6 insertions(+)
16
17 diff --git a/dev-python/matplotlib/matplotlib-3.5.1-r1.ebuild b/dev-python/matplotlib/matplotlib-3.5.1-r2.ebuild
18 similarity index 98%
19 rename from dev-python/matplotlib/matplotlib-3.5.1-r1.ebuild
20 rename to dev-python/matplotlib/matplotlib-3.5.1-r2.ebuild
21 index 075c1245f88c..ce449939b282 100644
22 --- a/dev-python/matplotlib/matplotlib-3.5.1-r1.ebuild
23 +++ b/dev-python/matplotlib/matplotlib-3.5.1-r2.ebuild
24 @@ -152,6 +152,9 @@ python_prepare_all() {
25 # from six import *
26 # EOF
27
28 + # Affects installed _version.py, bug #854600
29 + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
30 +
31 local PATCHES=(
32 "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch
33 "${FILESDIR}"/matplotlib-3.5.0-test.patch
34
35 diff --git a/dev-python/matplotlib/matplotlib-3.5.2-r2.ebuild b/dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild
36 similarity index 98%
37 rename from dev-python/matplotlib/matplotlib-3.5.2-r2.ebuild
38 rename to dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild
39 index 9f9c78422ea4..eb371d6af08c 100644
40 --- a/dev-python/matplotlib/matplotlib-3.5.2-r2.ebuild
41 +++ b/dev-python/matplotlib/matplotlib-3.5.2-r3.ebuild
42 @@ -143,6 +143,9 @@ python_prepare_all() {
43 # from six import *
44 # EOF
45
46 + # Affects installed _version.py, bug #854600
47 + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
48 +
49 local PATCHES=(
50 "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch
51 "${FILESDIR}"/matplotlib-3.5.2-test.patch