public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/networkx/
Date: Sat,  3 Jun 2017 16:40:24 +0000 (UTC)	[thread overview]
Message-ID: <1496508020.1e2da8f885a70ef64a5ff51a7f191f771c121182.floppym@gentoo> (raw)

commit:     1e2da8f885a70ef64a5ff51a7f191f771c121182
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  3 16:40:20 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jun  3 16:40:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2da8f8

dev-python/networkx: modernize python function calls

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 dev-python/networkx/networkx-1.11.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/dev-python/networkx/networkx-1.11.ebuild b/dev-python/networkx/networkx-1.11.ebuild
index a07a2d223c8..b9580300abd 100644
--- a/dev-python/networkx/networkx-1.11.ebuild
+++ b/dev-python/networkx/networkx-1.11.ebuild
@@ -16,7 +16,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="doc examples test"
 
-REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags -2) ) )"
 
 COMMON_DEPEND="
 	dev-python/matplotlib[${PYTHON_USEDEP}]
@@ -32,7 +32,7 @@ DEPEND="
 	test? (
 		${COMMON_DEPEND}
 		dev-python/nose[${PYTHON_USEDEP}]
-		$(python_gen_cond_dep 'media-gfx/pydot[${PYTHON_USEDEP}]' python2_7)
+		$(python_gen_cond_dep 'media-gfx/pydot[${PYTHON_USEDEP}]' -2)
 	)"
 RDEPEND="
 	>=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]
@@ -47,10 +47,6 @@ PATCHES=(
 	"${FILESDIR}"/1.11-sphinx-pngmath.patch
 )
 
-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
@@ -58,7 +54,10 @@ python_prepare_all() {
 }
 
 python_compile_all() {
-	use doc && emake -C doc html
+	if use doc; then
+		python_setup -2
+		emake -C doc html
+	fi
 }
 
 python_test() {


             reply	other threads:[~2017-06-03 16:40 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-03 16:40 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09 10:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/networkx/ 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-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-03  9:05 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=1496508020.1e2da8f885a70ef64a5ff51a7f191f771c121182.floppym@gentoo \
    --to=floppym@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