forked from pool/python-networkx
Accepting request 670905 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/670905 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-networkx?expand=0&rev=17
This commit is contained in:
commit
2e116838da
@ -4,6 +4,11 @@ Tue Jan 22 11:33:30 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
- Switch off test_subgraph_centrality_big_graph test, as it leads to
|
||||
crashes on i586, gh#networkx/networkx#3304.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 4 14:41:26 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Fix incomplete summary. Trim filler wording from description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 2 13:55:25 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
Name: python-networkx
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
Summary: Python package for the creation, manipulation,
|
||||
Summary: Python package for the study of complex networks
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://networkx.github.io/
|
||||
@ -52,11 +52,10 @@ and functions of complex networks.
|
||||
|
||||
Features:
|
||||
* Includes standard graph-theoretic and statistical physics functions
|
||||
* Easy exchange of network algorithms between applications, disciplines, and platforms
|
||||
* Exchange of network algorithms between applications, disciplines, and platforms
|
||||
* Includes many classic graphs and synthetic networks
|
||||
* Nodes and edges can be "anything" (e.g. time-series, text, images, XML records)
|
||||
* Exploits existing code from high-quality legacy software in C, C++, Fortran, etc.
|
||||
* Open source (encourages community input)
|
||||
* Unit-tested
|
||||
|
||||
%package -n %{name}-doc
|
||||
@ -86,8 +85,8 @@ fi
|
||||
|
||||
%{python_expand pushd %{buildroot}%{$python_sitelib}
|
||||
# Fix wrong-script-interpreter
|
||||
find networkx -name '*test*.py' -exec sed -i "s|#!%{_bindir}/env python|#!%__$python|" {} \;
|
||||
find networkx -name '*test*.py' -exec grep -q '#!%__$python' {} \; -exec chmod a+x {} \;
|
||||
find networkx -name '*test*.py' -exec sed -i "s|#!%{_bindir}/env python|#!%__$python|" {} +
|
||||
find networkx -name '*test*.py' -exec grep -q '#!%__$python' {} \; -exec chmod a+x {} +
|
||||
# Deduplicating files can generate a RPMLINT warning for pyc mtime
|
||||
find networkx -name '*test*.py' -exec $python -m compileall -d %{$python_sitelib} {} \;
|
||||
find networkx -name '*test*.py' -exec $python -O -m compileall -d %{$python_sitelib} {} \;
|
||||
|
Loading…
x
Reference in New Issue
Block a user