Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/networkx/, dev-python/networkx/files/
Date: Sun, 29 Dec 2019 13:23:32
Message-Id: 1577625778.76adb3e852a2003a6e82fe3ce3c7f094d6db1338.asturm@gentoo
1 commit: 76adb3e852a2003a6e82fe3ce3c7f094d6db1338
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 28 16:30:15 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 29 13:22:58 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76adb3e8
7
8 dev-python/networkx: Drop 1.11, 1.11-r1 and 2.1
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-python/networkx/Manifest | 2 -
14 .../networkx/files/1.11-sphinx-pngmath.patch | 14 ----
15 dev-python/networkx/networkx-1.11-r1.ebuild | 76 ----------------------
16 dev-python/networkx/networkx-1.11.ebuild | 76 ----------------------
17 dev-python/networkx/networkx-2.1.ebuild | 59 -----------------
18 5 files changed, 227 deletions(-)
19
20 diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest
21 index 743c1505b22..dbf557d614e 100644
22 --- a/dev-python/networkx/Manifest
23 +++ b/dev-python/networkx/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST networkx-1.11.tar.gz 1315737 BLAKE2B 9f6556af1a4e23bf7fcf51fcbc753a08f2616dfe63c7b05fbe20ad7532580bf566c44ddc5db0c0d89626a17fd2029485583b513f44688e8033ca83cb36f28315 SHA512 622c93330bb5ba93a2be087f7f19963a1bb9a50dc72b6500ea8321c36aa9da19af379c5cd4bbee8bba3cb6e68a28f11ee24bbe333047f5c7d0ce0b755fd57253
26 -DIST networkx-2.1.zip 1612593 BLAKE2B 0a603617105bb1efa3711f81a468520eef5f56438bf6e730091a43b628d04fdd22e8b62de671dbe98be180bff68b3ea4af61e475fcc1f274537ccd1e74fcdff5 SHA512 61b819ccfdd38e009e5b363f4bf551f2924bbf751b078aab1b41da9faf4c6b0841f38750b96bd359d3aebefef01e65e88b4c43a378ec25bbd45283d92bdae678
27 DIST networkx-2.2.zip 1700336 BLAKE2B 8cd4bda4100d5da10864f3b08d5a7faa11399176cfe39691aef46234a3de71bb175a3ac0b179cce9971c1954d0fc13469e41d610191c7827f1212d0e9ef1e3aa SHA512 098e58c5f93c72c789e736102815e2f6388eb34147a674941519ef6f6d6452cc09b76d8523893418cb69df133e7623ea2c62fa51144f598f592ebce0e3e3ccbb
28 DIST networkx-2.4.tar.gz 1462338 BLAKE2B 90fd7d249f3b022dd9c861dd023881fd241cba0515e2e9991516c278a40b92ee03663eb2b15bd584f179c066529df0587293f9c9a211e7c526addf77fdaf5cd6 SHA512 38eabef56e3667b7fa85206ae01a0a8f5c71bfa2f324bc2490c433cb973508a03955183a0c58ae40390f86d6a4741135cdb426c4c15e53e2f123072f0cac1b89
29
30 diff --git a/dev-python/networkx/files/1.11-sphinx-pngmath.patch b/dev-python/networkx/files/1.11-sphinx-pngmath.patch
31 deleted file mode 100644
32 index d43e4275a40..00000000000
33 --- a/dev-python/networkx/files/1.11-sphinx-pngmath.patch
34 +++ /dev/null
35 @@ -1,14 +0,0 @@
36 -Drop pngmath extenstion from sphinx config
37 -
38 -Bug: https://bugs.gentoo.org/594626
39 -
40 ---- a/doc/source/conf.py
41 -+++ b/doc/source/conf.py
42 -@@ -74,7 +74,6 @@ def cd(newpath):
43 - 'sphinx.ext.intersphinx',
44 - 'sphinx.ext.mathjax',
45 - 'sphinx.ext.napoleon',
46 -- 'sphinx.ext.pngmath',
47 - 'sphinx.ext.todo',
48 - 'sphinx.ext.viewcode',
49 - #'sphinxcontrib.bibtex',
50
51 diff --git a/dev-python/networkx/networkx-1.11-r1.ebuild b/dev-python/networkx/networkx-1.11-r1.ebuild
52 deleted file mode 100644
53 index 1280450d7c0..00000000000
54 --- a/dev-python/networkx/networkx-1.11-r1.ebuild
55 +++ /dev/null
56 @@ -1,76 +0,0 @@
57 -# Copyright 1999-2019 Gentoo Authors
58 -# Distributed under the terms of the GNU General Public License v2
59 -
60 -EAPI=6
61 -
62 -PYTHON_COMPAT=( python{2_7,3_5,3_6} )
63 -
64 -inherit distutils-r1 virtualx
65 -
66 -DESCRIPTION="Python tools to manipulate graphs and complex networks"
67 -HOMEPAGE="http://networkx.github.io/ https://github.com/networkx/networkx"
68 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
69 -
70 -LICENSE="BSD"
71 -SLOT="0"
72 -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
73 -IUSE="doc examples scipy test"
74 -RESTRICT="!test? ( test )"
75 -
76 -REQUIRED_USE="doc? ( || ( $(python_gen_useflags -2) ) )"
77 -
78 -COMMON_DEPEND="
79 - dev-python/matplotlib[${PYTHON_USEDEP}]
80 - scipy? ( sci-libs/scipy[${PYTHON_USEDEP}] )"
81 -DEPEND="
82 - dev-python/setuptools[${PYTHON_USEDEP}]
83 - doc? (
84 - dev-python/sphinx[${PYTHON_USEDEP}]
85 - dev-python/matplotlib[${PYTHON_USEDEP}]
86 - $(python_gen_cond_dep 'dev-python/numpydoc[${PYTHON_USEDEP}]' python2_7)
87 - $(python_gen_cond_dep 'dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]' python2_7)
88 - )
89 - test? (
90 - ${COMMON_DEPEND}
91 - dev-python/nose[${PYTHON_USEDEP}]
92 - $(python_gen_cond_dep 'dev-python/pydot[${PYTHON_USEDEP}]' -2)
93 - )"
94 -RDEPEND="
95 - >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]
96 - examples? (
97 - ${COMMON_DEPEND}
98 - dev-python/pygraphviz[${PYTHON_USEDEP}]
99 - dev-python/pyparsing[${PYTHON_USEDEP}]
100 - dev-python/pyyaml[${PYTHON_USEDEP}]
101 - )"
102 -
103 -PATCHES=(
104 - "${FILESDIR}"/1.11-sphinx-pngmath.patch
105 -)
106 -
107 -python_prepare_all() {
108 - # Avoid d'loading of file objects.inv from 2 sites of python docs
109 - sed -e "s/'sphinx.ext.intersphinx', //" -i doc/source/conf.py || die
110 - distutils-r1_python_prepare_all
111 -}
112 -
113 -python_compile_all() {
114 - if use doc; then
115 - python_setup -2
116 - emake -C doc html
117 - fi
118 -}
119 -
120 -python_test() {
121 - virtx nosetests -vv
122 -}
123 -
124 -python_install_all() {
125 - # Oh my.
126 - rm -r "${ED}"usr/share/doc/${P} || die
127 -
128 - use doc && local HTML_DOCS=( doc/build/html/. )
129 - use examples && dodoc -r examples
130 -
131 - distutils-r1_python_install_all
132 -}
133
134 diff --git a/dev-python/networkx/networkx-1.11.ebuild b/dev-python/networkx/networkx-1.11.ebuild
135 deleted file mode 100644
136 index 8300110fa20..00000000000
137 --- a/dev-python/networkx/networkx-1.11.ebuild
138 +++ /dev/null
139 @@ -1,76 +0,0 @@
140 -# Copyright 1999-2019 Gentoo Authors
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=6
144 -
145 -PYTHON_COMPAT=( python{2_7,3_5,3_6} )
146 -
147 -inherit distutils-r1 virtualx
148 -
149 -DESCRIPTION="Python tools to manipulate graphs and complex networks"
150 -HOMEPAGE="http://networkx.github.io/ https://github.com/networkx/networkx"
151 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
152 -
153 -LICENSE="BSD"
154 -SLOT="0"
155 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
156 -IUSE="doc examples test"
157 -RESTRICT="!test? ( test )"
158 -
159 -REQUIRED_USE="doc? ( || ( $(python_gen_useflags -2) ) )"
160 -
161 -COMMON_DEPEND="
162 - dev-python/matplotlib[${PYTHON_USEDEP}]
163 - sci-libs/scipy[${PYTHON_USEDEP}]"
164 -DEPEND="
165 - dev-python/setuptools[${PYTHON_USEDEP}]
166 - doc? (
167 - dev-python/sphinx[${PYTHON_USEDEP}]
168 - dev-python/matplotlib[${PYTHON_USEDEP}]
169 - $(python_gen_cond_dep 'dev-python/numpydoc[${PYTHON_USEDEP}]' python2_7)
170 - $(python_gen_cond_dep 'dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]' python2_7)
171 - )
172 - test? (
173 - ${COMMON_DEPEND}
174 - dev-python/nose[${PYTHON_USEDEP}]
175 - $(python_gen_cond_dep 'dev-python/pydot[${PYTHON_USEDEP}]' -2)
176 - )"
177 -RDEPEND="
178 - >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]
179 - examples? (
180 - ${COMMON_DEPEND}
181 - dev-python/pygraphviz[${PYTHON_USEDEP}]
182 - dev-python/pyparsing[${PYTHON_USEDEP}]
183 - dev-python/pyyaml[${PYTHON_USEDEP}]
184 - )"
185 -
186 -PATCHES=(
187 - "${FILESDIR}"/1.11-sphinx-pngmath.patch
188 -)
189 -
190 -python_prepare_all() {
191 - # Avoid d'loading of file objects.inv from 2 sites of python docs
192 - sed -e "s/'sphinx.ext.intersphinx', //" -i doc/source/conf.py || die
193 - distutils-r1_python_prepare_all
194 -}
195 -
196 -python_compile_all() {
197 - if use doc; then
198 - python_setup -2
199 - emake -C doc html
200 - fi
201 -}
202 -
203 -python_test() {
204 - virtx nosetests -vv
205 -}
206 -
207 -python_install_all() {
208 - # Oh my.
209 - rm -r "${ED}"usr/share/doc/${P} || die
210 -
211 - use doc && local HTML_DOCS=( doc/build/html/. )
212 - use examples && dodoc -r examples
213 -
214 - distutils-r1_python_install_all
215 -}
216
217 diff --git a/dev-python/networkx/networkx-2.1.ebuild b/dev-python/networkx/networkx-2.1.ebuild
218 deleted file mode 100644
219 index 551f5a8714c..00000000000
220 --- a/dev-python/networkx/networkx-2.1.ebuild
221 +++ /dev/null
222 @@ -1,59 +0,0 @@
223 -# Copyright 1999-2019 Gentoo Authors
224 -# Distributed under the terms of the GNU General Public License v2
225 -
226 -EAPI=6
227 -
228 -PYTHON_COMPAT=( python{2_7,3_5,3_6} )
229 -
230 -inherit distutils-r1 virtualx
231 -
232 -DESCRIPTION="Python tools to manipulate graphs and complex networks"
233 -HOMEPAGE="http://networkx.github.io/ https://github.com/networkx/networkx"
234 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
235 -
236 -LICENSE="BSD"
237 -SLOT="0"
238 -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
239 -IUSE="examples extras pandas scipy test xml yaml"
240 -RESTRICT="!test? ( test )"
241 -
242 -REQUIRED_USE="
243 - test? ( extras pandas scipy xml yaml )"
244 -
245 -COMMON_DEPEND="
246 - >=dev-python/matplotlib-2.0.2[${PYTHON_USEDEP}]
247 - extras? (
248 - >=dev-python/pydot-1.2.3[${PYTHON_USEDEP}]
249 - >=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}]
250 - >=sci-libs/gdal-1.10.0[python,${PYTHON_USEDEP}]
251 - )
252 - pandas? ( >=dev-python/pandas-0.20.1[${PYTHON_USEDEP}] )
253 - scipy? ( >=sci-libs/scipy-0.19[${PYTHON_USEDEP}] )
254 - xml? ( >=dev-python/lxml-3.7.3[${PYTHON_USEDEP}] )
255 - yaml? ( >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] )"
256 -DEPEND="
257 - dev-python/setuptools[${PYTHON_USEDEP}]
258 - >=dev-python/decorator-4.1.0[${PYTHON_USEDEP}]
259 - ${COMMON_DEPEND}
260 - test? (
261 - dev-python/nose[${PYTHON_USEDEP}]
262 - )"
263 -RDEPEND="
264 - >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}]
265 - ${COMMON_DEPEND}
266 - examples? (
267 - dev-python/pyparsing[${PYTHON_USEDEP}]
268 - )"
269 -
270 -PATCHES=(
271 -)
272 -
273 -python_test() {
274 - virtx nosetests -vv
275 -}
276 -
277 -python_install_all() {
278 - use examples && dodoc -r examples
279 -
280 - distutils-r1_python_install_all
281 -}