From 9bd6d1619e1e551ec2b61d00a3c7b73bf13ba83ec858f7c513e5b12fba491b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 2 Jan 2019 14:18:54 +0000 Subject: [PATCH] Accepting request 662473 from devel:languages:python:avocado - Update to version 2.2: * Add support for Python 3.7. This is the last release to support Python 2. * Uniform random number generator (RNG) handling which defaults to global RNGs but allows specification of a single RNG for all random numbers in NX. * Improved GraphViews to ease subclassing and remove cyclic references which caused trouble with deepcopy and pickle. * New Graph method G.update(H) - Run tests - Update project url OBS-URL: https://build.opensuse.org/request/show/662473 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-networkx?expand=0&rev=5 --- networkx-2.1.zip | 3 --- networkx-2.2.zip | 3 +++ python-networkx.changes | 15 +++++++++++++++ python-networkx.spec | 14 ++++++++------ 4 files changed, 26 insertions(+), 9 deletions(-) delete mode 100644 networkx-2.1.zip create mode 100644 networkx-2.2.zip diff --git a/networkx-2.1.zip b/networkx-2.1.zip deleted file mode 100644 index 9ad531c..0000000 --- a/networkx-2.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1 -size 1612593 diff --git a/networkx-2.2.zip b/networkx-2.2.zip new file mode 100644 index 0000000..1014f9a --- /dev/null +++ b/networkx-2.2.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45e56f7ab6fe81652fb4bc9f44faddb0e9025f469f602df14e3b2551c2ea5c8b +size 1700336 diff --git a/python-networkx.changes b/python-networkx.changes index f21ae3d..a73c9ef 100644 --- a/python-networkx.changes +++ b/python-networkx.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jan 2 13:55:25 UTC 2019 - Martin Pluskal + +- Update to version 2.2: + * Add support for Python 3.7. This is the last release to support + Python 2. + * Uniform random number generator (RNG) handling which defaults + to global RNGs but allows specification of a single RNG for all + random numbers in NX. + * Improved GraphViews to ease subclassing and remove cyclic + references which caused trouble with deepcopy and pickle. + * New Graph method G.update(H) +- Run tests +- Update project url + ------------------------------------------------------------------- Sun Sep 2 17:28:03 UTC 2018 - arun@gmx.de diff --git a/python-networkx.spec b/python-networkx.spec index 2f4fe96..522d633 100644 --- a/python-networkx.spec +++ b/python-networkx.spec @@ -1,7 +1,7 @@ # # spec file for package python-networkx # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-networkx -Version: 2.1 +Version: 2.2 Release: 0 Summary: Python package for the creation, manipulation, License: BSD-3-Clause Group: Development/Languages/Python -URL: http://networkx.lanl.gov +URL: https://networkx.github.io/ Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.zip BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module decorator >= 3.4.0} BuildRequires: %{python_module matplotlib} -BuildRequires: %{python_module numpy-devel} +BuildRequires: %{python_module nose >= 0.10.1} BuildRequires: %{python_module pydot} BuildRequires: %{python_module pyparsing} BuildRequires: %{python_module scipy} @@ -39,7 +39,6 @@ BuildRequires: unzip Requires: python-decorator >= 3.4.0 Recommends: python-PyYAML Recommends: python-matplotlib -Recommends: python-numpy Recommends: python-pydot Recommends: python-pygraphviz Recommends: python-pyparsing @@ -97,6 +96,9 @@ rm -f _current_flavor popd } +%check +%python_exec setup.py test + %files %{python_files} %license LICENSE.txt %doc README.rst CONTRIBUTING.rst