Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/networkx/
Date: Fri, 05 Jan 2018 13:26:18
Message-Id: 1515158739.1f4739e6d1dcf93449abaf8d74227fea4293e742.mgorny@gentoo
1 commit: 1f4739e6d1dcf93449abaf8d74227fea4293e742
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 5 09:52:33 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 5 13:25:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f4739e6
7
8 dev-python/networkx: Clean old up
9
10 dev-python/networkx/Manifest | 1 -
11 dev-python/networkx/networkx-1.10-r1.ebuild | 78 -----------------------------
12 2 files changed, 79 deletions(-)
13
14 diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest
15 index f8854b510a3..99fb7c47f74 100644
16 --- a/dev-python/networkx/Manifest
17 +++ b/dev-python/networkx/Manifest
18 @@ -1,2 +1 @@
19 -DIST networkx-1.10.tar.gz 1189291 BLAKE2B 784dde9b5a0c1a1ee8f88aa00b6c89679df8d078d7706d28b5a1d0633144dd9866345a6f1818660d8ca343b4a3ab6597bc18f8881868763c79346cd8d95fd9c0 SHA512 fc0a0b929991baef63c30382c2045d551b217140393a4264b18a5f1be198d325eee9f57e02dda38a7ad9f99771c5b78f82c673a88b04df122b9d91852db09efd
20 DIST networkx-1.11.tar.gz 1315737 BLAKE2B 9f6556af1a4e23bf7fcf51fcbc753a08f2616dfe63c7b05fbe20ad7532580bf566c44ddc5db0c0d89626a17fd2029485583b513f44688e8033ca83cb36f28315 SHA512 622c93330bb5ba93a2be087f7f19963a1bb9a50dc72b6500ea8321c36aa9da19af379c5cd4bbee8bba3cb6e68a28f11ee24bbe333047f5c7d0ce0b755fd57253
21
22 diff --git a/dev-python/networkx/networkx-1.10-r1.ebuild b/dev-python/networkx/networkx-1.10-r1.ebuild
23 deleted file mode 100644
24 index 4e2807d4e82..00000000000
25 --- a/dev-python/networkx/networkx-1.10-r1.ebuild
26 +++ /dev/null
27 @@ -1,78 +0,0 @@
28 -# Copyright 1999-2017 Gentoo Foundation
29 -# Distributed under the terms of the GNU General Public License v2
30 -
31 -EAPI=5
32 -
33 -PYTHON_COMPAT=( python{2_7,3_4} )
34 -
35 -inherit distutils-r1
36 -
37 -DESCRIPTION="Python tools to manipulate graphs and complex networks"
38 -HOMEPAGE="http://networkx.github.io/ https://github.com/networkx/networkx"
39 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
40 -
41 -LICENSE="BSD"
42 -SLOT="0"
43 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
44 -IUSE="doc examples test"
45 -
46 -REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
47 -
48 -COMMON_DEPEND="
49 - dev-python/matplotlib[${PYTHON_USEDEP}]
50 - sci-libs/scipy[${PYTHON_USEDEP}]"
51 -DEPEND="
52 - dev-python/setuptools[${PYTHON_USEDEP}]
53 - doc? (
54 - dev-python/sphinx[${PYTHON_USEDEP}]
55 - dev-python/matplotlib[${PYTHON_USEDEP}]
56 - $(python_gen_cond_dep 'dev-python/numpydoc[${PYTHON_USEDEP}]' python2_7)
57 - $(python_gen_cond_dep 'dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
58 - )
59 - test? (
60 - ${COMMON_DEPEND}
61 - dev-python/nose[${PYTHON_USEDEP}]
62 - $(python_gen_cond_dep 'dev-python/pydot[${PYTHON_USEDEP}]' python2_7)
63 - )"
64 -RDEPEND="
65 - >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]
66 - examples? (
67 - ${COMMON_DEPEND}
68 - dev-python/pygraphviz[${PYTHON_USEDEP}]
69 - dev-python/pyparsing[${PYTHON_USEDEP}]
70 - dev-python/pyyaml[${PYTHON_USEDEP}]
71 - )"
72 -
73 -pkg_setup() {
74 - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
75 -}
76 -
77 -python_prepare_all() {
78 - # Avoid d'loading of file objects.inv from 2 sites of python docs
79 - sed -e "s/'sphinx.ext.intersphinx', //" -i doc/source/conf.py || die
80 - distutils-r1_python_prepare_all
81 -}
82 -
83 -python_compile_all() {
84 - # https://github.com/networkx/networkx/issues/1263
85 - if use doc; then
86 - sed \
87 - -e "s:^\t\./:\t${PYTHON} :g" \
88 - -i doc/Makefile || die
89 - emake -C doc html
90 - fi
91 -}
92 -
93 -python_test() {
94 - nosetests -vv || die
95 -}
96 -
97 -python_install_all() {
98 - # Oh my.
99 - rm -r "${ED}"usr/share/doc/${P} || die
100 -
101 - use doc && local HTML_DOCS=( doc/build/html/. )
102 - use examples && local EXAMPLES=( examples/. )
103 -
104 - distutils-r1_python_install_all
105 -}