public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/networkx/
Date: Wed,  3 Feb 2016 09:05:38 +0000 (UTC)	[thread overview]
Message-ID: <1454490333.b980a45336b89398ce931ec1e37a51805d9d731c.jlec@gentoo> (raw)

commit:     b980a45336b89398ce931ec1e37a51805d9d731c
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  3 09:05:09 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb  3 09:05:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b980a453

dev-python/networkx: Use python2.7 for doc building

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=571044

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/networkx/networkx-1.10-r1.ebuild |  8 +++++++-
 dev-python/networkx/networkx-1.10.ebuild    | 11 +++++++++--
 dev-python/networkx/networkx-1.11.ebuild    |  6 ++++++
 3 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/dev-python/networkx/networkx-1.10-r1.ebuild b/dev-python/networkx/networkx-1.10-r1.ebuild
index 9770aae..b6b73f9 100644
--- a/dev-python/networkx/networkx-1.10-r1.ebuild
+++ b/dev-python/networkx/networkx-1.10-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,6 +17,8 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="doc examples test"
 
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
 COMMON_DEPEND="
 	dev-python/matplotlib[${PYTHON_USEDEP}]
 		sci-libs/scipy[${PYTHON_USEDEP}]"
@@ -42,6 +44,10 @@ RDEPEND="
 		dev-python/pyyaml[${PYTHON_USEDEP}]
 	)"
 
+pkg_setup() {
+	use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
 python_prepare_all() {
 	# Avoid d'loading of file objects.inv from 2 sites of python docs
 	sed -e "s/'sphinx.ext.intersphinx', //" -i doc/source/conf.py || die

diff --git a/dev-python/networkx/networkx-1.10.ebuild b/dev-python/networkx/networkx-1.10.ebuild
index 95ff6a2..23f681f 100644
--- a/dev-python/networkx/networkx-1.10.ebuild
+++ b/dev-python/networkx/networkx-1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="doc examples test"
 
-COMMON_DEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
+COMMON_DEPEND="
+	dev-python/matplotlib[${PYTHON_USEDEP}]
 		sci-libs/scipy[${PYTHON_USEDEP}]"
 DEPEND="
 	dev-python/setuptools[${PYTHON_USEDEP}]
@@ -41,6 +44,10 @@ RDEPEND="
 		dev-python/pyyaml[${PYTHON_USEDEP}]
 	)"
 
+pkg_setup() {
+	use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
 python_prepare_all() {
 	# Avoid d'loading of file objects.inv from 2 sites of python docs
 	sed -e "s/'sphinx.ext.intersphinx', //" -i doc/source/conf.py || die

diff --git a/dev-python/networkx/networkx-1.11.ebuild b/dev-python/networkx/networkx-1.11.ebuild
index 4508dcd..0c22174 100644
--- a/dev-python/networkx/networkx-1.11.ebuild
+++ b/dev-python/networkx/networkx-1.11.ebuild
@@ -17,6 +17,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="doc examples test"
 
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
 COMMON_DEPEND="
 	dev-python/matplotlib[${PYTHON_USEDEP}]
 		sci-libs/scipy[${PYTHON_USEDEP}]"
@@ -42,6 +44,10 @@ RDEPEND="
 		dev-python/pyyaml[${PYTHON_USEDEP}]
 	)"
 
+pkg_setup() {
+	use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
 python_prepare_all() {
 	# Avoid d'loading of file objects.inv from 2 sites of python docs
 	sed -e "s/'sphinx.ext.intersphinx', //" -i doc/source/conf.py || die


             reply	other threads:[~2016-02-03  9:05 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-03  9:05 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-14 14:56 [gentoo-commits] repo/gentoo:master commit in: dev-python/networkx/ Michał Górny
2025-06-14 13:54 Sam James
2025-05-30  2:05 Michał Górny
2025-05-10  7:41 Michał Górny
2024-11-09 10:05 Michał Górny
2024-11-09  9:57 Arthur Zamarin
2024-10-26 11:52 Michał Górny
2024-10-22  3:10 Michał Górny
2024-10-12  4:35 Michał Górny
2024-10-11  3:06 Michał Górny
2024-10-07  4:43 Michał Górny
2024-06-28 17:33 Michał Górny
2024-05-22  8:03 Michał Górny
2024-05-01 17:44 Michał Górny
2024-05-01 16:48 Sam James
2024-04-13 16:08 Michał Górny
2024-04-06 15:01 Michał Górny
2024-02-20 10:27 Sam James
2024-02-20  7:27 Michał Górny
2024-02-20  7:08 Sam James
2024-02-20  7:08 Sam James
2024-01-04 11:29 WANG Xuerui
2023-12-09 17:02 Michał Górny
2023-12-09 17:02 Michał Górny
2023-12-09 16:39 Arthur Zamarin
2023-11-25 12:15 Sam James
2023-11-25 10:45 Arthur Zamarin
2023-11-19 20:07 Arthur Zamarin
2023-10-29  3:40 Sam James
2023-10-28 18:24 Michał Górny
2023-10-19 12:16 Michał Górny
2023-05-05 13:43 Michał Górny
2023-05-05  7:04 Sam James
2023-04-05  6:10 Michał Górny
2023-03-16  4:03 Michał Górny
2023-02-13  6:08 Michał Górny
2023-02-12 21:57 Sam James
2023-02-03 16:53 Sam James
2023-01-08 14:04 Michał Górny
2022-12-17  6:40 WANG Xuerui
2022-12-10  9:09 Michał Górny
2022-12-10  9:02 Arthur Zamarin
2022-11-14  9:24 Arthur Zamarin
2022-11-12 16:31 Arthur Zamarin
2022-11-03 19:44 Arthur Zamarin
2022-11-03 19:38 Arthur Zamarin
2022-11-02  7:37 Michał Górny
2022-10-02 18:54 Arthur Zamarin
2022-10-01  6:19 Arthur Zamarin
2022-09-28 21:27 Sam James
2022-09-26  6:06 Michał Górny
2022-08-22 19:23 Arthur Zamarin
2022-08-19 10:48 Michał Górny
2022-08-19  9:49 Arthur Zamarin
2022-07-19  1:50 Sam James
2022-07-10 19:16 Michał Górny
2022-07-10 19:12 Sam James
2022-06-22 11:50 Michał Górny
2022-06-22 10:10 Agostino Sarubbo
2022-06-15 11:32 Michał Górny
2022-06-05  9:14 Michał Górny
2022-06-02 23:08 Sam James
2022-05-22  5:53 Michał Górny
2022-05-19  7:14 Michał Górny
2022-05-15 10:41 Michał Górny
2022-05-15  8:19 Jakov Smolić
2022-04-10  9:55 Michał Górny
2022-04-10  9:05 Agostino Sarubbo
2022-04-10  8:58 Michał Górny
2022-03-09 20:06 Arthur Zamarin
2022-01-28 18:41 Arthur Zamarin
2021-11-20 23:20 Sam James
2021-11-20 23:20 Sam James
2021-10-16  6:09 Michał Górny
2021-10-16  1:12 Sam James
2021-09-21  5:16 Arthur Zamarin
2021-09-20 13:14 Arthur Zamarin
2021-09-10  7:14 Michał Górny
2021-08-22  6:49 Michał Górny
2021-08-22  3:42 Sam James
2021-08-19  1:25 Agostino Sarubbo
2021-07-27  5:37 Michał Górny
2021-07-19 14:45 Marek Szuba
2021-07-09  7:26 Michał Górny
2021-07-05 13:25 Marek Szuba
2021-07-02 18:59 Michał Górny
2020-09-24  6:59 Agostino Sarubbo
2020-09-23  7:29 Michał Górny
2020-08-23 15:18 Michał Górny
2020-08-18  5:52 Sam James
2020-07-31  6:21 Michał Górny
2020-07-30 23:20 Sam James
2020-07-05 19:06 Michał Górny
2020-07-01 19:25 Michał Górny
2020-06-14 19:18 Michał Górny
2020-06-14 11:10 Michał Górny
2020-04-29 19:51 Patrick McLean
2020-03-28  9:20 Michał Górny
2019-12-29 13:23 Andreas Sturmlechner
2019-05-11 19:06 Matthew Thode
2018-07-18 19:58 Matt Thode
2018-03-31  1:54 Matt Thode
2018-02-19 18:56 Michał Górny
2018-02-13 20:46 Matt Thode
2018-01-05 13:26 Michał Górny
2017-06-27  2:49 Sebastien Fabbro
2017-06-17 15:36 Agostino Sarubbo
2017-06-03 16:40 Mike Gilbert
2017-05-02  9:48 Michał Górny
2017-02-02 18:43 David Seifert
2016-03-18 19:18 Sebastien Fabbro
2016-02-28  6:51 Matt Thode
2016-02-08 10:46 Justin Lecher
2016-02-01 16:27 Justin Lecher
2015-10-14 16:17 Justin Lecher
2015-09-07 13:34 Justin Lecher
2015-09-07 13:34 Justin Lecher
2015-09-07  7:33 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=1454490333.b980a45336b89398ce931ec1e37a51805d9d731c.jlec@gentoo \
    --to=jlec@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