Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/
Date: Tue, 03 May 2022 11:43:40
Message-Id: 1651578209.99286fa25448da2ccaf6c19f1f52dec49aa049c5.mgorny@gentoo
1 commit: 99286fa25448da2ccaf6c19f1f52dec49aa049c5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 11:17:50 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 11:43:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99286fa2
7
8 dev-python/matplotlib: Remove obsolete wxwidgets logic
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/matplotlib/matplotlib-3.5.2.ebuild | 12 +-----------
13 1 file changed, 1 insertion(+), 11 deletions(-)
14
15 diff --git a/dev-python/matplotlib/matplotlib-3.5.2.ebuild b/dev-python/matplotlib/matplotlib-3.5.2.ebuild
16 index cf818c423210..967273d965e9 100644
17 --- a/dev-python/matplotlib/matplotlib-3.5.2.ebuild
18 +++ b/dev-python/matplotlib/matplotlib-3.5.2.ebuild
19 @@ -123,19 +123,9 @@ pkg_setup() {
20 unset DISPLAY # bug #278524
21 }
22
23 -use_supported() {
24 - case ${1} in
25 - wxwidgets)
26 - [[ ${EPYTHON} == python3.[678] ]]
27 - ;;
28 - esac
29 -
30 - return 0
31 -}
32 -
33 use_setup() {
34 local uword="${2:-${1}}"
35 - if use_supported "${1}" && use "${1}"; then
36 + if use "${1}"; then
37 echo "${uword} = True"
38 echo "${uword}agg = True"
39 else