From c40c8700fd7141585aacdf3b6d23dcc023893e837676b01cfcfcfe707b1e0867 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 9 Nov 2017 13:01:23 +0000 Subject: [PATCH] Accepting request 538121 from devel:languages:python OBS-URL: https://build.opensuse.org/request/show/538121 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-networkx?expand=0&rev=13 --- networkx-1.11.tar.gz | 3 --- networkx-2.0.zip | 3 +++ python-networkx.changes | 19 +++++++++++++++++++ python-networkx.spec | 24 ++++++++++-------------- 4 files changed, 32 insertions(+), 17 deletions(-) delete mode 100644 networkx-1.11.tar.gz create mode 100644 networkx-2.0.zip diff --git a/networkx-1.11.tar.gz b/networkx-1.11.tar.gz deleted file mode 100644 index 8b33616..0000000 --- a/networkx-1.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d0e70e10dfb47601cbb3425a00e03e2a2e97477be6f80638fef91d54dd1e4b8 -size 1315737 diff --git a/networkx-2.0.zip b/networkx-2.0.zip new file mode 100644 index 0000000..2ac9f5d --- /dev/null +++ b/networkx-2.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd5ff8f75d92c79237f067e2f0876824645d37f017cfffa5b7c9678cae1454aa +size 1549125 diff --git a/python-networkx.changes b/python-networkx.changes index b324808..48f0cd6 100644 --- a/python-networkx.changes +++ b/python-networkx.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Oct 31 03:14:26 UTC 2017 - arun@gmx.de + +- specfile: + * changes from tar.gz to zip + * updated sed + * INSTALL doesn't seem to be packaged anymore, deleted "rm" command + +- update to version 2.0: + * Highlights + + This release is the result of over two years of work with 1212 + commits and 193 merges by 86 contributors. Highlights include: + + We have made major changes to the methods in the Multi/Di/Graph + classes. There is a migration guide for people moving from 1.X + to 2.0. + + We updated the documentation system. + * full release notes at + https://networkx.github.io/documentation/stable/release/release_2.0.html + ------------------------------------------------------------------- Sun Aug 6 04:46:44 UTC 2017 - toddrme2178@gmail.com diff --git a/python-networkx.spec b/python-networkx.spec index b126743..2f547b2 100644 --- a/python-networkx.spec +++ b/python-networkx.spec @@ -18,24 +18,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-networkx -Version: 1.11 +Version: 2.0 Release: 0 Summary: Python package for the creation, manipulation, License: BSD-3-Clause Group: Development/Languages/Python Url: http://networkx.lanl.gov -Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} +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 devel} +BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module pydot} BuildRequires: %{python_module pyparsing} -BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module scipy} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip Requires: python-decorator >= 3.4.0 Recommends: python-pydot Recommends: python-pygraphviz @@ -60,7 +61,7 @@ Features: * Exploits existing code from high-quality legacy software in C, C++, Fortran, etc. * Open source (encourages community input) * Unit-tested - + %package -n %{name}-doc Summary: Documentation for %{name} Group: Documentation/Other @@ -72,7 +73,6 @@ Documentation and examples for %{name}. %prep %setup -q -n networkx-%{version} -sed -i "s|#!/usr/bin/env python|#!%__python3|" examples/drawing/unix_email.py %build %python_build @@ -88,9 +88,6 @@ fi %fdupes %{buildroot}%{_docdir} -# Installation instructions shouldn't be packaged -rm %{buildroot}%{_docdir}/networkx-%{version}/INSTALL.txt - %{python_expand pushd %{buildroot}%{$python_sitelib} # Fix wrong-script-interpreter find networkx -name '*test*.py' -exec sed -i "s|#!/usr/bin/env python|#!%__$python|" {} \; @@ -103,10 +100,9 @@ rm -f _current_flavor popd } - %files %{python_files} %defattr(-,root,root) -%doc README.rst LICENSE.txt +%doc README.rst LICENSE.txt CONTRIBUTING.rst %{python_sitelib}/networkx/ %{python_sitelib}/networkx-%{version}-py*.egg-info