forked from pool/python-networkx
Accepting request 1170766 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1170766 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-networkx?expand=0&rev=37
This commit is contained in:
commit
60396d91d0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:de346335408f84de0eada6ff9fafafff9bcda11f0a0dfaa931133debb146ab61
|
|
||||||
size 2021691
|
|
3
networkx-3.3.tar.gz
Normal file
3
networkx-3.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0c127d8b2f4865f59ae9cb8aafcd60b5c70f3241ebd66f7defad7c4ab90126c9
|
||||||
|
size 2126579
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 22 15:25:05 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.3
|
||||||
|
* Add @nx._dispatch decorator to most algorithms
|
||||||
|
* Remove topo_order kwarg from is_semiconnected without deprecation
|
||||||
|
* API: Add a decorator to deprecate positional args
|
||||||
|
* Drop support for Python 3.8 and 3.9
|
||||||
|
* Support Python 3.12
|
||||||
|
* Test on Python 3.13-dev
|
||||||
|
* Don't test numpy2 nightlies
|
||||||
|
* Unpin scipy upperbound for tests
|
||||||
|
* Disallow negative number of nodes in complete_multipartite_graph
|
||||||
|
* [A-star] Added expansion pruning via cutoff if cutoff is provided
|
||||||
|
* Add Tadpole graph
|
||||||
|
* [Feat] Random expanders utilities
|
||||||
|
* Add Kirchhoff index / Effective graph resistance
|
||||||
|
* Changed return types of shortest path methods to improve consistency
|
||||||
|
* Many more changes, see upstream changelog
|
||||||
|
- drop doc build, PyPI tarball doesn't support it anymore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 27 11:55:11 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
Thu Jul 27 11:55:11 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-networkx
|
# spec file for package python-networkx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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,14 +18,15 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-networkx
|
Name: python-networkx
|
||||||
Version: 3.1
|
Version: 3.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python package for the study of complex networks
|
Summary: Python package for the study of complex networks
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://networkx.github.io/
|
URL: https://networkx.github.io/
|
||||||
Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/n/networkx/networkx-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
@ -65,28 +66,15 @@ Features:
|
|||||||
* Exploits existing code from high-quality legacy software in C, C++, Fortran, etc.
|
* Exploits existing code from high-quality legacy software in C, C++, Fortran, etc.
|
||||||
* Unit-tested
|
* Unit-tested
|
||||||
|
|
||||||
%package -n %{name}-doc
|
|
||||||
Summary: Documentation for %{name}
|
|
||||||
Provides: %{python_module networkx-doc = %{version}}
|
|
||||||
|
|
||||||
%description -n %{name}-doc
|
|
||||||
Documentation and examples for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n networkx-%{version}
|
%setup -q -n networkx-%{version}
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
|
|
||||||
# Move docs into correct directory if necessary
|
|
||||||
if [ "%{_docdir}" != "%{_datadir}/doc" ] ; then
|
|
||||||
mkdir -p %{buildroot}%{_docdir}/
|
|
||||||
mv %{buildroot}%{_datadir}/doc/networkx-%{version} %{buildroot}%{_docdir}/
|
|
||||||
fi
|
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_docdir}
|
%fdupes %{buildroot}%{_docdir}
|
||||||
|
|
||||||
@ -116,10 +104,6 @@ rm -v networkx/drawing/tests/test_pydot.py
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.rst CONTRIBUTING.rst
|
%doc README.rst CONTRIBUTING.rst
|
||||||
%{python_sitelib}/networkx/
|
%{python_sitelib}/networkx/
|
||||||
%{python_sitelib}/networkx-%{version}-py*.egg-info
|
%{python_sitelib}/networkx-%{version}*info
|
||||||
|
|
||||||
%files -n %{name}-doc
|
|
||||||
%license LICENSE.txt
|
|
||||||
%doc %{_docdir}/networkx-%{version}/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user