Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
python3-networkx
python3-networkx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-networkx.spec of Package python3-networkx
# # spec file for package python3-networkx # # Copyright (c) 2016 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # Name: python3-networkx Version: 1.11 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: python3-PyYAML BuildRequires: python3-decorator >= 3.4.0 BuildRequires: python3-devel BuildRequires: python3-matplotlib BuildRequires: python3-numpy-devel BuildRequires: python3-pyparsing BuildRequires: python3-scipy BuildRequires: python3-setuptools Requires: python3-decorator >= 3.4.0 Recommends: python3-matplotlib Recommends: python3-numpy Recommends: python3-PyYAML Recommends: python3-pyparsing Recommends: python3-scipy BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description NetworkX (NX) is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. Features: * Includes standard graph-theoretic and statistical physics functions * Easy 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 %prep %setup -q -n networkx-%{version} sed -i -e "s@share/doc/networkx-.*@share/doc/packages/%{name}'@g" setup.py find networkx/ examples/ -name "*.py" -exec sed -i -e '/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';' sed -i 's/\r//' examples/algorithms/hartford_drug.edgelist %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root %{buildroot} rm -r %{buildroot}%{_docdir}/%{name}/INSTALL.txt # Makes no sense %fdupes -s %{buildroot} %files %defattr(-,root,root) %{_docdir}/%{name} %{python3_sitelib}/networkx/ %{python3_sitelib}/networkx-%{version}-py*.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor