summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-03 13:17:50 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-03 13:43:29 +0200
commit99286fa25448da2ccaf6c19f1f52dec49aa049c5 (patch)
tree1984235050fdbe54712d51b15531e8116444d861 /dev-python/matplotlib
parentsci-libs/hipSPARSE: call eend with a return value. (diff)
downloadgentoo-99286fa25448da2ccaf6c19f1f52dec49aa049c5.tar.gz
gentoo-99286fa25448da2ccaf6c19f1f52dec49aa049c5.tar.bz2
gentoo-99286fa25448da2ccaf6c19f1f52dec49aa049c5.zip
dev-python/matplotlib: Remove obsolete wxwidgets logic
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/matplotlib')
-rw-r--r--dev-python/matplotlib/matplotlib-3.5.2.ebuild12
1 files changed, 1 insertions, 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