From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86CE91382C5 for ; Sat, 6 Jun 2020 21:55:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C00CE0AAC; Sat, 6 Jun 2020 21:55:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40094E0AAC for ; Sat, 6 Jun 2020 21:55:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB82034F34A for ; Sat, 6 Jun 2020 21:55:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22ECC31 for ; Sat, 6 Jun 2020 21:54:59 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1591480491.d2fa99e4078b245b69553d5187d387f4d7499067.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/matplotlib/matplotlib-3.1.2.ebuild dev-python/matplotlib/matplotlib-3.2.1.ebuild X-VCS-Directories: dev-python/matplotlib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d2fa99e4078b245b69553d5187d387f4d7499067 X-VCS-Branch: master Date: Sat, 6 Jun 2020 21:54:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 468aad6e-7c1c-4ca1-a7c9-8eb53fb1fe1c X-Archives-Hash: 1dbbd81bff95d8bd83cad85ef2f12d8a commit: d2fa99e4078b245b69553d5187d387f4d7499067 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jun 6 21:29:23 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 6 21:54:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2fa99e4 dev-python/matplotlib: Drop REQUIRED_USE="test? ( wxwidgets )" condition It was already ineffective because wx was not enabled with py3. At the same time, drop obsolete python_is_python3 condition. Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/matplotlib/matplotlib-3.1.2.ebuild | 33 ++++++++------------------- dev-python/matplotlib/matplotlib-3.2.1.ebuild | 28 ++++------------------- 2 files changed, 14 insertions(+), 47 deletions(-) diff --git a/dev-python/matplotlib/matplotlib-3.1.2.ebuild b/dev-python/matplotlib/matplotlib-3.1.2.ebuild index db457aa8b79..a5746a01b05 100644 --- a/dev-python/matplotlib/matplotlib-3.1.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.1.2.ebuild @@ -12,21 +12,20 @@ DESCRIPTION="Pure python plotting library with matlab like syntax" HOMEPAGE="https://matplotlib.org/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SLOT="0" # Main license: matplotlib # Some modules: BSD # matplotlib/backends/qt4_editor: MIT # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" +SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="cairo doc excel examples gtk3 latex qt5 test tk wxwidgets" -RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( cairo gtk3 latex qt5 tk )" -REQUIRED_USE=" - test? ( - cairo latex qt5 tk wxwidgets gtk3 - )" +RESTRICT="!test? ( test )" +# internal copy of pycxx highly patched +# dev-python/pycxx COMMON_DEPEND=" dev-python/cycler[${PYTHON_USEDEP}] >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}] @@ -41,9 +40,6 @@ COMMON_DEPEND=" cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] ) wxwidgets? ( dev-python/wxpython:*[${PYTHON_USEDEP}] )" -# internal copy of pycxx highly patched -# dev-python/pycxx - DEPEND="${COMMON_DEPEND} dev-python/versioneer[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] @@ -67,7 +63,7 @@ DEPEND="${COMMON_DEPEND} test? ( dev-python/mock[${PYTHON_USEDEP}] >=dev-python/nose-0.11.1[${PYTHON_USEDEP}] - )" + )" RDEPEND="${COMMON_DEPEND} >=dev-python/pyparsing-1.5.6[${PYTHON_USEDEP}] @@ -162,6 +158,8 @@ python_configure() { tests = $(usex test True False) [gui_support] agg = True + gtk = False + gtkagg = False pyside = False pysideagg = False qt4 = False @@ -170,6 +168,7 @@ python_configure() { $(use_setup gtk3) $(use_setup qt5) $(use_setup tk) + $(use_setup wxwidgets wx) EOF if use gtk3 && use cairo; then @@ -177,20 +176,6 @@ python_configure() { else echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die fi - - if python_is_python3; then - cat >> "${BUILD_DIR}"/setup.cfg <<- EOF || die - gtk = False - gtkagg = False - wx = False - wxagg = False - EOF - else - cat >> "${BUILD_DIR}"/setup.cfg <<-EOF || die - $(use_setup gtk2 gtk) - $(use_setup wxwidgets wx) - EOF - fi } wrap_setup() { diff --git a/dev-python/matplotlib/matplotlib-3.2.1.ebuild b/dev-python/matplotlib/matplotlib-3.2.1.ebuild index 71c93b77c27..50d6eee36e3 100644 --- a/dev-python/matplotlib/matplotlib-3.2.1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.2.1.ebuild @@ -7,31 +7,24 @@ PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_REQ_USE='tk?,threads(+)' DISTUTILS_USE_SETUPTOOLS=bdepend - inherit distutils-r1 flag-o-matic virtualx toolchain-funcs prefix DESCRIPTION="Pure python plotting library with matlab like syntax" HOMEPAGE="https://matplotlib.org/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -SLOT="0" # Main license: matplotlib # Some modules: BSD # matplotlib/backends/qt4_editor: MIT # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" +SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="cairo doc excel examples gtk3 latex qt5 tk wxwidgets" - -REQUIRED_USE=" - test? ( - cairo latex qt5 tk wxwidgets gtk3 - ) -" +REQUIRED_USE="test? ( cairo gtk3 latex qt5 tk )" # internal copy of pycxx highly patched # dev-python/pycxx - RDEPEND=" >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] >=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}] @@ -176,6 +169,8 @@ python_configure() { tests = $(usex test True False) [gui_support] agg = True + gtk = False + gtkagg = False pyside = False pysideagg = False qt4 = False @@ -184,6 +179,7 @@ python_configure() { $(use_setup gtk3) $(use_setup qt5) $(use_setup tk) + $(use_setup wxwidgets wx) EOF if use gtk3 && use cairo; then @@ -191,20 +187,6 @@ python_configure() { else echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die fi - - if python_is_python3; then - cat >> "${BUILD_DIR}"/setup.cfg <<- EOF || die - gtk = False - gtkagg = False - wx = False - wxagg = False - EOF - else - cat >> "${BUILD_DIR}"/setup.cfg <<-EOF || die - $(use_setup gtk2 gtk) - $(use_setup wxwidgets wx) - EOF - fi } wrap_setup() {