|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
|
Name: python-numpydoc
|
|
|
|
|
Version: 0.8.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.9.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Sphinx extension to support docstrings in NumPy format
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@@ -8,15 +8,10 @@ URL: https://pypi.python.org/pypi/numpydoc
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
BuildRequires: python2-nose
|
|
|
|
|
BuildRequires: python2-sphinx
|
|
|
|
|
BuildRequires: python2-matplotlib
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-nose
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-matplotlib
|
|
|
|
|
|
|
|
|
@@ -25,20 +20,10 @@ Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
|
|
|
|
following the NumPy/SciPy format to a form palatable to Sphinx.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python2-numpydoc
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python2-numpydoc}
|
|
|
|
|
Requires: python2-sphinx >= 1.2.3
|
|
|
|
|
Requires: python2-jinja2 >= 2.3
|
|
|
|
|
%description -n python2-numpydoc
|
|
|
|
|
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
|
|
|
|
following the NumPy/SciPy format to a form palatable to Sphinx.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-numpydoc
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python3-numpydoc}
|
|
|
|
|
Requires: python3-sphinx >= 1.2.3
|
|
|
|
|
Requires: python3-sphinx >= 1.6.5
|
|
|
|
|
Requires: python3-jinja2 >= 2.3
|
|
|
|
|
%description -n python3-numpydoc
|
|
|
|
|
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
|
|
|
@@ -49,25 +34,16 @@ following the NumPy/SciPy format to a form palatable to Sphinx.
|
|
|
|
|
%autosetup -n numpydoc-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py2_build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py2_install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
nosetests -v
|
|
|
|
|
nosetests-3 -v
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-numpydoc
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python2_sitelib}/numpydoc
|
|
|
|
|
%{python2_sitelib}/numpydoc-%{version}-py?.?.egg-info
|
|
|
|
|
|
|
|
|
|
%files -n python3-numpydoc
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%doc README.rst
|
|
|
|
@@ -76,6 +52,16 @@ nosetests-3 -v
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 7 2019 Orion Poplawski <orion@nwra.com> - 0.9.1-1
|
|
|
|
|
- Update to 0.9.1
|
|
|
|
|
|
|
|
|
|
* Wed Mar 06 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-5
|
|
|
|
|
- Subpackage python2-numpydoc has been removed
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Sphinx2
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|