forked from pool/python-networkx
Accepting request 632809 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/632809 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-networkx?expand=0&rev=14
This commit is contained in:
parent
c40c8700fd
commit
25f0325bac
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cd5ff8f75d92c79237f067e2f0876824645d37f017cfffa5b7c9678cae1454aa
|
|
||||||
size 1549125
|
|
3
networkx-2.1.zip
Normal file
3
networkx-2.1.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1
|
||||||
|
size 1612593
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 2 17:28:03 UTC 2018 - arun@gmx.de
|
||||||
|
|
||||||
|
- specfile:
|
||||||
|
* update copyright year
|
||||||
|
* removed devel from noarch package
|
||||||
|
|
||||||
|
- update to version 2.1:
|
||||||
|
* Highlights
|
||||||
|
+ Arrows for drawing DiGraph edges are vastly improved! And an
|
||||||
|
example to show them.
|
||||||
|
+ More than 12 new functions for graph generation, manipulation
|
||||||
|
and/or new graph algorithms.
|
||||||
|
o Add a large clique size heuristic function (#2830)
|
||||||
|
o Add rooted product function (#2825)
|
||||||
|
o Label Propagation Community Detection (#2821)
|
||||||
|
o Minimum cycle basis (#2823)
|
||||||
|
o Add Mycielski Operator (#2785)
|
||||||
|
o Adds prefix_tree, dag_to_branching, and example. (#2784)
|
||||||
|
o Add inverse_line_graph generator from #2241 (#2782)
|
||||||
|
o Steiner tree and metric closure. (#2252)
|
||||||
|
o Add flow based node and edge disjoint paths. (#2063)
|
||||||
|
o Update geometric networks with new models (#2498)
|
||||||
|
o Graph edit distance (#2729)
|
||||||
|
o Added function for finding a k-edge-augmentation (#2572)
|
||||||
|
+ G.name is no longer processed by graph operators. It remains as
|
||||||
|
a property mechanism to access G.graph['name'] but the user is
|
||||||
|
in charge of updating or changing it for copies, subgraphs,
|
||||||
|
unions and other graph operations.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 31 03:14:26 UTC 2017 - arun@gmx.de
|
Tue Oct 31 03:14:26 UTC 2017 - arun@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-networkx
|
# spec file for package python-networkx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,16 +18,15 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-networkx
|
Name: python-networkx
|
||||||
Version: 2.0
|
Version: 2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python package for the creation, manipulation,
|
Summary: Python package for the creation, manipulation,
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://networkx.lanl.gov
|
URL: http://networkx.lanl.gov
|
||||||
Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.zip
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module decorator >= 3.4.0}
|
BuildRequires: %{python_module decorator >= 3.4.0}
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module matplotlib}
|
BuildRequires: %{python_module matplotlib}
|
||||||
BuildRequires: %{python_module numpy-devel}
|
BuildRequires: %{python_module numpy-devel}
|
||||||
BuildRequires: %{python_module pydot}
|
BuildRequires: %{python_module pydot}
|
||||||
@ -38,14 +37,13 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: python-decorator >= 3.4.0
|
Requires: python-decorator >= 3.4.0
|
||||||
|
Recommends: python-PyYAML
|
||||||
|
Recommends: python-matplotlib
|
||||||
|
Recommends: python-numpy
|
||||||
Recommends: python-pydot
|
Recommends: python-pydot
|
||||||
Recommends: python-pygraphviz
|
Recommends: python-pygraphviz
|
||||||
Recommends: python-PyYAML
|
|
||||||
Recommends: python-pyparsing
|
Recommends: python-pyparsing
|
||||||
Recommends: python-numpy
|
|
||||||
Recommends: python-matplotlib
|
|
||||||
Recommends: python-scipy
|
Recommends: python-scipy
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -70,7 +68,6 @@ Provides: %{python_module networkx-doc = %{version}}
|
|||||||
%description -n %{name}-doc
|
%description -n %{name}-doc
|
||||||
Documentation and examples for %{name}.
|
Documentation and examples for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n networkx-%{version}
|
%setup -q -n networkx-%{version}
|
||||||
|
|
||||||
@ -90,7 +87,7 @@ fi
|
|||||||
|
|
||||||
%{python_expand pushd %{buildroot}%{$python_sitelib}
|
%{python_expand pushd %{buildroot}%{$python_sitelib}
|
||||||
# Fix wrong-script-interpreter
|
# Fix wrong-script-interpreter
|
||||||
find networkx -name '*test*.py' -exec sed -i "s|#!/usr/bin/env python|#!%__$python|" {} \;
|
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 grep -q '#!%__$python' {} \; -exec chmod a+x {} \;
|
||||||
# Deduplicating files can generate a RPMLINT warning for pyc mtime
|
# 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 -m compileall -d %{$python_sitelib} {} \;
|
||||||
@ -101,14 +98,13 @@ popd
|
|||||||
}
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license LICENSE.txt
|
||||||
%doc README.rst LICENSE.txt CONTRIBUTING.rst
|
%doc README.rst CONTRIBUTING.rst
|
||||||
%{python_sitelib}/networkx/
|
%{python_sitelib}/networkx/
|
||||||
%{python_sitelib}/networkx-%{version}-py*.egg-info
|
%{python_sitelib}/networkx-%{version}-py*.egg-info
|
||||||
|
|
||||||
%files -n %{name}-doc
|
%files -n %{name}-doc
|
||||||
%defattr(-,root,root)
|
%license LICENSE.txt
|
||||||
%doc LICENSE.txt
|
|
||||||
%{_docdir}/networkx-%{version}/
|
%{_docdir}/networkx-%{version}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user