New upstream version.
Drop upstreamed -numpy patch.
This commit is contained in:
parent
7711eeef85
commit
0a95056739
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/networkx-documentation.zip
|
/networkx-documentation.zip
|
||||||
/networkx-1.9.1.tar.gz
|
/networkx-1.9.1.tar.gz
|
||||||
/networkx-1.10.tar.gz
|
/networkx-1.10.tar.gz
|
||||||
|
/networkx-1.11.tar.gz
|
||||||
|
|||||||
@ -15,20 +15,15 @@
|
|||||||
%global srcname networkx
|
%global srcname networkx
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 1.10
|
Version: 1.11
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Creates and Manipulates Graphs and Networks
|
Summary: Creates and Manipulates Graphs and Networks
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://networkx.github.io/
|
URL: http://networkx.github.io/
|
||||||
Source0: https://github.com/networkx/networkx/archive/%{srcname}-%{version}.tar.gz
|
Source0: https://github.com/networkx/networkx/archive/%{srcname}-%{version}.tar.gz
|
||||||
Source1: https://github.com/networkx/documentation/blob/gh-pages/%{srcname}-%{version}/_downloads/networkx_reference.pdf
|
|
||||||
Source2: https://github.com/networkx/documentation/blob/gh-pages/%{srcname}-%{version}/_downloads/networkx_tutorial.pdf
|
|
||||||
Source3: https://github.com/networkx/documentation/blob/gh-pages/%{srcname}-%{version}/_downloads/networkx-documentation.zip
|
|
||||||
Patch0: %{srcname}-optional-modules.patch
|
Patch0: %{srcname}-optional-modules.patch
|
||||||
Patch1: %{srcname}-nose1.0.patch
|
Patch1: %{srcname}-nose1.0.patch
|
||||||
Patch2: %{srcname}-skip-scipy-0.8-tests.patch
|
Patch2: %{srcname}-skip-scipy-0.8-tests.patch
|
||||||
# Fix failure to add 2 matrices with recent numpy versions
|
|
||||||
Patch3: %{srcname}-numpy.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,19 +47,19 @@ study of the structure, dynamics, and functions of complex networks.
|
|||||||
%package -n python2-%{srcname}-core
|
%package -n python2-%{srcname}-core
|
||||||
Summary: Creates and Manipulates Graphs and Networks
|
Summary: Creates and Manipulates Graphs and Networks
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-decorator
|
BuildRequires: python2-decorator
|
||||||
BuildRequires: PyYAML
|
BuildRequires: python2-scipy
|
||||||
BuildRequires: scipy
|
BuildRequires: python2-setuptools
|
||||||
|
BuildRequires: python2-yaml
|
||||||
BuildRequires: pyparsing
|
BuildRequires: pyparsing
|
||||||
BuildRequires: python-setuptools
|
|
||||||
%if 0%{?rhel} == 6
|
%if 0%{?rhel} == 6
|
||||||
BuildRequires: python-nose1.1
|
BuildRequires: python-nose1.1
|
||||||
%else
|
%else
|
||||||
BuildRequires: python-nose
|
BuildRequires: python2-nose
|
||||||
%endif
|
%endif
|
||||||
Requires: python-decorator
|
Requires: python2-decorator
|
||||||
Requires: PyYAML
|
Requires: python2-scipy
|
||||||
Requires: scipy
|
Requires: python2-yaml
|
||||||
Requires: pyparsing
|
Requires: pyparsing
|
||||||
|
|
||||||
%{?python_provide:%python_provide python2-%{srcname}-core}
|
%{?python_provide:%python_provide python2-%{srcname}-core}
|
||||||
@ -128,12 +123,12 @@ study of the structure, dynamics, and functions of complex networks.
|
|||||||
Summary: Creates and Manipulates Graphs and Networks
|
Summary: Creates and Manipulates Graphs and Networks
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-decorator
|
BuildRequires: python3-decorator
|
||||||
BuildRequires: python3-PyYAML
|
BuildRequires: python3-yaml
|
||||||
BuildRequires: python3-scipy
|
BuildRequires: python3-scipy
|
||||||
BuildRequires: python3-pyparsing
|
BuildRequires: python3-pyparsing
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
Requires: python3-decorator
|
Requires: python3-decorator
|
||||||
Requires: python3-PyYAML
|
Requires: python3-yaml
|
||||||
Requires: python3-scipy
|
Requires: python3-scipy
|
||||||
Requires: python3-pyparsing
|
Requires: python3-pyparsing
|
||||||
|
|
||||||
@ -186,11 +181,15 @@ Summary: Documentation for networkx
|
|||||||
%if 0%{?rhel} == 6
|
%if 0%{?rhel} == 6
|
||||||
BuildRequires: python-sphinx10
|
BuildRequires: python-sphinx10
|
||||||
%else
|
%else
|
||||||
|
BuildRequires: python2-pandas
|
||||||
|
BuildRequires: python2-pydotplus
|
||||||
BuildRequires: python2-sphinx
|
BuildRequires: python2-sphinx
|
||||||
BuildRequires: python-sphinx_rtd_theme
|
BuildRequires: python2-sphinx_rtd_theme
|
||||||
|
BuildRequires: python2-sphinxcontrib-bibtex
|
||||||
|
BuildRequires: python-ipython-console
|
||||||
BuildRequires: python-numpydoc
|
BuildRequires: python-numpydoc
|
||||||
BuildRequires: pydot
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: pydot
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: tex-preview
|
BuildRequires: tex-preview
|
||||||
BuildRequires: python-matplotlib
|
BuildRequires: python-matplotlib
|
||||||
@ -208,13 +207,9 @@ Documentation for networkx
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch3 -p1
|
|
||||||
|
|
||||||
# Fix permissions
|
# Fix permissions
|
||||||
find examples -type f -perm /0111 | xargs chmod a-x
|
find examples -type f -perm /0111 -exec chmod a-x {} +
|
||||||
|
|
||||||
# Avoid downloading the doc files while building
|
|
||||||
cp -pf %{SOURCE1} %{SOURCE2} %{SOURCE3} doc/source
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
%py2_build
|
||||||
@ -325,6 +320,10 @@ PYTHONPATH=$PWD/site-packages python -c "import networkx; networkx.test()"
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 5 2016 Jerry James <loganjerry@gmail.com> - 1.11-1
|
||||||
|
- New upstream version
|
||||||
|
- Drop upstreamed -numpy patch
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
5
sources
5
sources
@ -1,4 +1 @@
|
|||||||
abce95ecda7b990cda39391f1d00bc43 networkx-1.10.tar.gz
|
986c399d93995676fc1c65446c92d433 networkx-1.11.tar.gz
|
||||||
1bc817b2b73c812f48619a284ed067d8 networkx_reference.pdf
|
|
||||||
9f3a3dc0fe5c32b23a47906a22a49bba networkx_tutorial.pdf
|
|
||||||
eab78caf7dfcb7833f5e45457c0f323a networkx-documentation.zip
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user