public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/
Date: Mon, 22 May 2017 14:13:12 +0000 (UTC)	[thread overview]
Message-ID: <1495462383.740695fe6e781194299951fb442577f9184131af.mgorny@gentoo> (raw)

commit:     740695fe6e781194299951fb442577f9184131af
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 12:49:38 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 22 14:13:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740695fe

dev-python/matplotlib: Update namespace support

 ...tlib-9999.ebuild => matplotlib-1.5.3-r2.ebuild} | 46 +++++++++++-----------
 dev-python/matplotlib/matplotlib-9999.ebuild       |  6 +++
 2 files changed, 30 insertions(+), 22 deletions(-)

diff --git a/dev-python/matplotlib/matplotlib-9999.ebuild b/dev-python/matplotlib/matplotlib-1.5.3-r2.ebuild
similarity index 86%
copy from dev-python/matplotlib/matplotlib-9999.ebuild
copy to dev-python/matplotlib/matplotlib-1.5.3-r2.ebuild
index 760ca683ccf..9b22ea3ab8c 100644
--- a/dev-python/matplotlib/matplotlib-9999.ebuild
+++ b/dev-python/matplotlib/matplotlib-1.5.3-r2.ebuild
@@ -1,18 +1,16 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-
 PYTHON_REQ_USE='tk?,threads(+)'
 
-inherit distutils-r1 eutils flag-o-matic git-r3 multiprocessing virtualx toolchain-funcs
+inherit distutils-r1 eutils flag-o-matic multiprocessing virtualx toolchain-funcs
 
 DESCRIPTION="Pure python plotting library with matlab like syntax"
 HOMEPAGE="http://matplotlib.org/"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/matplotlib/matplotlib.git"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 SLOT="0"
 # Main license: matplotlib
@@ -20,7 +18,7 @@ SLOT="0"
 # matplotlib/backends/qt4_editor: MIT
 # Fonts: BitstreamVera, OFL-1.1
 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="cairo doc excel examples fltk gtk2 gtk3 latex pyside qt4 qt5 test tk wxwidgets"
 
 PY2_FLAGS="|| ( $(python_gen_useflags python2_7) )"
@@ -47,12 +45,7 @@ COMMON_DEPEND="
 	media-libs/freetype:2
 	media-libs/libpng:0
 	media-libs/qhull
-	cairo? (
-		|| (
-			dev-python/pycairo[${PYTHON_USEDEP}]
-			dev-python/cairocffi[${PYTHON_USEDEP}]
-			)
-		)
+	cairo? ( dev-python/cairocffi[${PYTHON_USEDEP}] )
 	gtk2? (
 		dev-libs/glib:2=
 		x11-libs/gdk-pixbuf
@@ -74,7 +67,6 @@ DEPEND="${COMMON_DEPEND}
 		dev-python/mock[${PY2_USEDEP}]
 		dev-python/numpydoc[${PYTHON_USEDEP}]
 		dev-python/sphinx[${PYTHON_USEDEP}]
-		!~dev-python/sphinx-1.3.4
 		dev-python/xlwt[${PYTHON_USEDEP}]
 		dev-texlive/texlive-latexextra
 		dev-texlive/texlive-fontsrecommended
@@ -111,6 +103,8 @@ RDEPEND="${COMMON_DEPEND}
 # Other than that, the ebuild shall be fit for out-of-source build.
 DISTUTILS_IN_SOURCE_BUILD=1
 
+PATCHES=( "${FILESDIR}/${PN}-1.5.3-freetype-spurious-failure.patch" )
+
 pkg_setup() {
 	unset DISPLAY # bug #278524
 	use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
@@ -174,7 +168,7 @@ python_configure() {
 	# create setup.cfg (see setup.cfg.template for any changes).
 
 	# common switches.
-	cat > "${BUILD_DIR}"/setup.cfg <<- EOF
+	cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die
 		[directories]
 		basedirlist = "${EPREFIX}/usr"
 		[provide_packages]
@@ -196,7 +190,7 @@ python_configure() {
 	fi
 
 	if $(python_is_python3); then
-		cat >> "${BUILD_DIR}"/setup.cfg <<- EOF
+		cat >> "${BUILD_DIR}"/setup.cfg <<- EOF || die
 			six = True
 			fltk = False
 			fltkagg = False
@@ -206,7 +200,7 @@ python_configure() {
 			wxagg = False
 		EOF
 	else
-		cat >> "${BUILD_DIR}"/setup.cfg <<-EOF
+		cat >> "${BUILD_DIR}"/setup.cfg <<-EOF || die
 			six = False
 			$(use_setup fltk)
 			$(use_setup gtk2 gtk)
@@ -237,22 +231,28 @@ python_compile_all() {
 		local -x PYTHONPATH="${BUILD_DIR}"/build/lib:${PYTHONPATH}
 
 		VARTEXFONTS="${T}"/fonts \
-		"${PYTHON}" ./make.py --small html || die
+		"${EPYTHON}" ./make.py --small html || die
 	fi
 }
 
 python_test() {
 	wrap_setup distutils_install_for_testing
 
-	virtx ${PYTHON} tests.py \
-		--no-pep8 \
-		--no-network \
-		--verbose \
-		--processes=$(makeopts_jobs)
+#	virtx ${EPYTHON} tests.py \
+#		--no-pep8 \
+#		--no-network \
+#		--verbose \
+#		--processes=$(makeopts_jobs)
+
+	virtx "${EPYTHON}" -c "import sys, matplotlib as m; sys.exit(0 if m.test(verbosity=2) else 1)"
 }
 
 python_install() {
 	wrap_setup distutils-r1_python_install
+
+	# mpl_toolkits namespace
+	python_moduleinto mpl_toolkits
+	python_domodule lib/mpl_toolkits/__init__.py
 }
 
 python_install_all() {
@@ -264,4 +264,6 @@ python_install_all() {
 		dodoc -r examples
 		docompress -x /usr/share/doc/${PF}/examples
 	fi
+
+	find "${D}" -name '*.pth' -delete || die
 }

diff --git a/dev-python/matplotlib/matplotlib-9999.ebuild b/dev-python/matplotlib/matplotlib-9999.ebuild
index 760ca683ccf..0591f9c414d 100644
--- a/dev-python/matplotlib/matplotlib-9999.ebuild
+++ b/dev-python/matplotlib/matplotlib-9999.ebuild
@@ -253,6 +253,10 @@ python_test() {
 
 python_install() {
 	wrap_setup distutils-r1_python_install
+
+	# mpl_toolkits namespace
+	python_moduleinto mpl_toolkits
+	python_domodule lib/mpl_toolkits/__init__.py
 }
 
 python_install_all() {
@@ -264,4 +268,6 @@ python_install_all() {
 		dodoc -r examples
 		docompress -x /usr/share/doc/${PF}/examples
 	fi
+
+	find "${D}" -name '*.pth' -delete || die
 }


             reply	other threads:[~2017-05-22 14:13 UTC|newest]

Thread overview: 288+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-22 14:13 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-11 18:12 [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/ Arthur Zamarin
2024-09-02  7:29 Arthur Zamarin
2024-08-31 20:26 Sam James
2024-08-31 10:02 Arthur Zamarin
2024-08-31  8:00 Arthur Zamarin
2024-08-09  8:50 Jakov Smolić
2024-07-21  0:32 Sam James
2024-07-20 22:34 Sam James
2024-07-10  4:21 Ionen Wolkens
2024-07-04 12:37 Michał Górny
2024-06-28 16:16 Michał Górny
2024-06-14  4:07 Sam James
2024-06-13  5:04 Sam James
2024-06-12 10:23 Arthur Zamarin
2024-06-12  9:04 Arthur Zamarin
2024-06-12  8:42 Jakov Smolić
2024-05-29  3:48 Michał Górny
2024-05-27 15:30 Michał Górny
2024-05-27 15:11 Michał Górny
2024-05-27 15:11 Michał Górny
2024-04-20 11:46 Sam James
2024-04-20 11:23 Michał Górny
2024-04-20 10:49 Michał Górny
2024-04-20 10:49 Michał Górny
2024-04-20  9:48 Michał Górny
2024-04-12 12:09 Michał Górny
2024-04-12  6:26 Arthur Zamarin
2024-03-16 10:39 Arthur Zamarin
2024-03-14  6:26 Sam James
2024-03-13 20:58 Sam James
2024-03-13  0:54 Sam James
2024-03-06  3:40 Sam James
2024-03-02 18:49 Sam James
2024-03-02 10:52 Arthur Zamarin
2024-02-20  5:34 Sam James
2024-02-20  5:34 Sam James
2024-02-20  5:34 Sam James
2024-02-15 12:19 Michał Górny
2023-12-23 14:29 Arthur Zamarin
2023-12-22 14:29 Arthur Zamarin
2023-12-16 16:59 Michał Górny
2023-12-16 12:34 Michał Górny
2023-12-05  4:20 Michał Górny
2023-12-02 10:21 Arthur Zamarin
2023-12-02 10:06 Michał Górny
2023-12-02  9:45 Arthur Zamarin
2023-11-30 14:44 Michał Górny
2023-11-21 19:05 Michał Górny
2023-11-19 20:38 Michał Górny
2023-11-18 15:47 Michał Górny
2023-11-01  5:08 Michał Górny
2023-10-25  2:26 Sam James
2023-10-24 15:25 Michał Górny
2023-10-03 22:37 Sam James
2023-10-01  2:27 Sam James
2023-09-30 18:28 Arthur Zamarin
2023-09-30 15:27 Arthur Zamarin
2023-09-30 15:27 Arthur Zamarin
2023-09-30 10:41 Arthur Zamarin
2023-09-30  9:00 Sam James
2023-09-12  5:07 Michał Górny
2023-08-21 18:33 Andrew Ammerlaan
2023-08-20 18:02 Arthur Zamarin
2023-08-20  8:11 Sam James
2023-08-20  5:43 Sam James
2023-08-19 17:53 Arthur Zamarin
2023-08-17  2:54 Sam James
2023-08-16 21:24 Sam James
2023-08-16 20:12 Sam James
2023-08-16  7:03 Sam James
2023-08-16  5:56 Sam James
2023-07-19 11:10 Michał Górny
2023-07-09  7:59 Sam James
2023-05-20  7:15 Michał Górny
2023-05-04 16:17 Michał Górny
2023-04-20 22:30 Sam James
2023-04-20 22:30 Sam James
2023-04-20 22:30 Sam James
2023-04-20 22:30 Sam James
2023-04-20 22:30 Sam James
2023-04-20 22:30 Sam James
2023-04-20 22:30 Sam James
2023-04-20 22:30 Sam James
2023-01-17  5:08 Michał Górny
2022-12-10 17:38 Sam James
2022-11-22 18:52 Arthur Zamarin
2022-11-22 18:52 Arthur Zamarin
2022-11-22 18:52 Arthur Zamarin
2022-11-01  3:36 Michał Górny
2022-10-25  7:44 Sam James
2022-10-25  7:44 Sam James
2022-10-25  7:44 Sam James
2022-10-25  7:44 Sam James
2022-10-25  7:42 Sam James
2022-10-25  7:38 Sam James
2022-10-25  7:36 Sam James
2022-10-10 23:40 Sam James
2022-10-10  8:18 Arthur Zamarin
2022-10-05  7:37 Arthur Zamarin
2022-10-05  7:37 Arthur Zamarin
2022-10-05  6:50 Michał Górny
2022-10-04  6:54 Michał Górny
2022-09-30 23:25 Sam James
2022-09-28 15:37 Jakov Smolić
2022-09-27 16:59 Sam James
2022-09-26  6:24 Arthur Zamarin
2022-09-16 20:16 Arthur Zamarin
2022-09-14 21:04 Sam James
2022-09-12  7:07 Agostino Sarubbo
2022-09-11  7:54 Agostino Sarubbo
2022-08-11  8:50 Michał Górny
2022-07-20 21:02 Sam James
2022-07-18 17:44 Sam James
2022-07-07 19:36 Arthur Zamarin
2022-07-03 12:01 Michał Górny
2022-06-30 21:47 Sam James
2022-06-29  9:08 Sam James
2022-06-17 11:17 Michał Górny
2022-06-07  6:34 Agostino Sarubbo
2022-06-07  6:31 Agostino Sarubbo
2022-05-05  2:56 Sam James
2022-05-05  2:56 Sam James
2022-05-03 14:11 Michał Górny
2022-05-03 11:43 Michał Górny
2022-05-03 11:43 Michał Górny
2022-05-03 11:43 Michał Górny
2022-05-03 10:20 Michał Górny
2022-05-03 10:20 Michał Górny
2022-05-03 10:20 Michał Górny
2022-02-09 20:37 Michał Górny
2022-02-09 20:22 Arthur Zamarin
2022-02-09 20:22 Arthur Zamarin
2021-12-24 16:56 Arthur Zamarin
2021-12-23 22:39 Sam James
2021-12-22  6:36 Arthur Zamarin
2021-12-22  6:35 Arthur Zamarin
2021-12-18 13:40 Arthur Zamarin
2021-12-18 13:38 Arthur Zamarin
2021-12-11 19:10 Arthur Zamarin
2021-12-11 19:10 Arthur Zamarin
2021-11-24 23:59 Sam James
2021-11-20 10:23 Arthur Zamarin
2021-11-19 11:36 Sam James
2021-11-19 11:33 Sam James
2021-11-19  6:44 Sam James
2021-11-19  6:43 Sam James
2021-11-17  4:26 Arthur Zamarin
2021-11-10  4:15 Sam James
2021-10-29 12:34 Sam James
2021-10-26  3:14 Sam James
2021-10-17 19:09 Sam James
2021-10-17  0:35 Sam James
2021-10-17  0:32 Sam James
2021-10-11 15:18 Sam James
2021-09-07 18:34 Sam James
2021-09-06 23:56 Sam James
2021-09-06 23:55 Sam James
2021-09-06 23:54 Sam James
2021-09-06 23:53 Sam James
2021-09-06 23:51 Sam James
2021-09-06 23:49 Sam James
2021-08-11 20:14 Sam James
2021-07-28  6:42 Agostino Sarubbo
2021-06-20 16:31 Michał Górny
2021-06-20 14:37 Michał Górny
2021-06-19 20:54 Michał Górny
2021-05-01 14:06 Sam James
2021-04-29 14:19 Sam James
2021-04-29  0:22 Sam James
2021-04-01  8:35 Michał Górny
2021-03-05 19:55 Michał Górny
2021-03-05 18:51 Sam James
2021-03-03 21:41 Sam James
2021-03-02  4:50 Sam James
2021-03-02  4:44 Sam James
2021-02-25 11:15 Sam James
2021-02-18  8:36 Sam James
2021-01-30 14:29 Sam James
2021-01-07 10:33 Sam James
2021-01-05 23:44 Sam James
2020-11-29 20:53 Sam James
2020-11-15  9:35 Michał Górny
2020-11-12  9:17 Michał Górny
2020-11-08  0:32 Sam James
2020-10-23  1:43 Sam James
2020-09-18 15:30 Michał Górny
2020-09-15 22:19 Michał Górny
2020-09-14  0:12 Sam James
2020-09-09 21:59 Sergei Trofimovich
2020-08-23 16:52 Sam James
2020-08-18 16:51 Michał Górny
2020-08-14 14:31 Michał Górny
2020-08-07 19:25 Sam James
2020-08-01 23:20 Andreas Sturmlechner
2020-07-31  6:21 Michał Górny
2020-07-31  2:38 Sam James
2020-07-31  0:29 Sam James
2020-07-27  1:48 Sam James
2020-07-26  1:18 Sam James
2020-07-05 17:36 Michał Górny
2020-06-29 16:08 Mikle Kolyada
2020-06-07 21:04 Mart Raudsepp
2020-06-07 20:00 Michał Górny
2020-06-07 19:33 Michał Górny
2020-06-07 17:35 Michał Górny
2020-06-07 12:09 Michał Górny
2020-06-07 11:20 Michał Górny
2020-06-07  9:16 Michał Górny
2020-06-07  9:16 Michał Górny
2020-06-07  7:52 Michał Górny
2020-06-06 21:54 Andreas Sturmlechner
2020-06-05 11:30 Andreas Sturmlechner
2020-06-01 20:30 Michał Górny
2020-05-30 19:48 Michał Górny
2020-05-30 17:52 Matthew Thode
2020-05-30 16:20 Michał Górny
2020-05-30  8:56 Michał Górny
2020-05-29 17:23 Michał Górny
2020-04-26  3:12 Patrick McLean
2020-01-27 20:54 Michał Górny
2020-01-27 18:18 Rick Farina
2020-01-01 11:59 David Seifert
2019-12-29 16:11 罗百科
2019-12-04 17:15 Michał Górny
2018-05-24 12:08 Andreas Sturmlechner
2018-05-20 23:05 Matt Turner
2018-05-14  0:16 Aaron Bauman
2018-05-13 22:06 Thomas Deutschmann
2018-05-10 14:10 Andreas Sturmlechner
2018-05-10 14:10 Andreas Sturmlechner
2018-05-08  5:50 Andreas Sturmlechner
2018-04-25 20:27 Thomas Deutschmann
2018-04-22  7:34 Mikle Kolyada
2018-03-22 15:11 Mikle Kolyada
2018-03-19 23:05 Sergei Trofimovich
2018-03-18 23:51 Sergei Trofimovich
2018-03-18 10:40 Sergei Trofimovich
2018-03-17 10:51 Michał Górny
2018-03-12  2:07 Matt Turner
2018-03-12  0:51 Matt Turner
2018-03-10  7:44 Andrey Grozin
2018-03-09 12:24 Mart Raudsepp
2018-03-09 10:55 Andrey Grozin
2018-03-09 10:49 Andrey Grozin
2018-03-09  7:39 Andrey Grozin
2018-03-09  7:35 Andrey Grozin
2018-02-25 21:52 Sergei Trofimovich
2018-02-10 16:14 Andrey Grozin
2018-01-24  7:30 Andrey Grozin
2018-01-16 14:44 Andrey Grozin
2018-01-09  0:10 Mikle Kolyada
2018-01-08 22:50 Thomas Deutschmann
2017-11-21 12:14 Andrey Grozin
2017-11-10 11:15 Andrey Grozin
2017-11-07 20:15 Pacho Ramos
2017-07-15 21:42 Patrice Clement
2017-07-15 13:34 Alexis Ballier
2017-07-09 12:06 Benda XU
2017-06-21 14:53 Mike Gilbert
2017-06-21 14:53 Mike Gilbert
2017-06-21  1:32 Mike Gilbert
2017-03-12 12:31 Zac Medico
2017-02-02 18:43 David Seifert
2017-02-02 18:43 David Seifert
2017-01-29 17:15 Fabian Groffen
2016-04-19 13:12 Michał Górny
2016-04-18  8:13 Patrice Clement
2016-01-17 19:43 Justin Lecher
2016-01-13  7:51 Justin Lecher
2016-01-11 10:16 Justin Lecher
2015-12-24 17:33 Justin Lecher
2015-12-09 19:07 Michał Górny
2015-11-20 11:29 Justin Lecher
2015-11-12 10:17 Justin Lecher
2015-11-12 10:11 Agostino Sarubbo
2015-11-11 17:27 Justin Lecher
2015-11-11  9:40 Agostino Sarubbo
2015-11-08 16:27 Justin Lecher
2015-11-07 12:10 Markus Meier
2015-11-03 10:24 Justin Lecher
2015-11-03 10:24 Justin Lecher
2015-11-02 11:50 Justin Lecher
2015-10-31  8:41 Justin Lecher
2015-10-27 15:20 Agostino Sarubbo
2015-10-21 13:41 Justin Lecher
2015-10-15 12:13 Justin Lecher
2015-08-13 12:59 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1495462383.740695fe6e781194299951fb442577f9184131af.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox