commit:     99286fa25448da2ccaf6c19f1f52dec49aa049c5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 11:17:50 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May  3 11:43:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99286fa2

dev-python/matplotlib: Remove obsolete wxwidgets logic

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/matplotlib/matplotlib-3.5.2.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/dev-python/matplotlib/matplotlib-3.5.2.ebuild 
b/dev-python/matplotlib/matplotlib-3.5.2.ebuild
index cf818c423210..967273d965e9 100644
--- a/dev-python/matplotlib/matplotlib-3.5.2.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.5.2.ebuild
@@ -123,19 +123,9 @@ pkg_setup() {
        unset DISPLAY # bug #278524
 }
 
-use_supported() {
-       case ${1} in
-               wxwidgets)
-                       [[ ${EPYTHON} == python3.[678] ]]
-                       ;;
-       esac
-
-       return 0
-}
-
 use_setup() {
        local uword="${2:-${1}}"
-       if use_supported "${1}" && use "${1}"; then
+       if use "${1}"; then
                echo "${uword} = True"
                echo "${uword}agg = True"
        else

Reply via email to