From 99286fa25448da2ccaf6c19f1f52dec49aa049c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 3 May 2022 13:17:50 +0200 Subject: dev-python/matplotlib: Remove obsolete wxwidgets logic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/matplotlib/matplotlib-3.5.2.ebuild | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'dev-python/matplotlib/matplotlib-3.5.2.ebuild') 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 -- cgit v1.2.3