|
Thomas Spura |
5b379d4 |
Name: python-numpydoc
|
|
|
c1bf4a9 |
Version: 1.1.0
|
|
|
cb7ef5c |
Release: 2%{?dist}
|
|
|
8a2e130 |
Summary: Sphinx extension to support docstrings in NumPy format
|
|
Thomas Spura |
5b379d4 |
|
|
Thomas Spura |
5b379d4 |
License: BSD
|
|
Thomas Spura |
5b379d4 |
URL: https://pypi.python.org/pypi/numpydoc
|
|
|
8a2e130 |
Source0: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
|
|
|
c1bf4a9 |
# Upstream patch to ignore doc/ directory during tests
|
|
|
c1bf4a9 |
Patch0: https://github.com/numpy/numpydoc/pull/296.patch
|
|
Thomas Spura |
5b379d4 |
BuildArch: noarch
|
|
|
8a2e130 |
|
|
Thomas Spura |
5b379d4 |
BuildRequires: python3-devel
|
|
|
c1bf4a9 |
BuildRequires: pyproject-rpm-macros
|
|
Thomas Spura |
5b379d4 |
|
|
Thomas Spura |
5b379d4 |
%description
|
|
Thomas Spura |
5b379d4 |
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
|
|
8a2e130 |
following the NumPy/SciPy format to a form palatable to Sphinx.
|
|
Thomas Spura |
5b379d4 |
|
|
|
8a2e130 |
|
|
|
8a2e130 |
%package -n python3-numpydoc
|
|
|
8a2e130 |
Summary: %{summary}
|
|
|
8a2e130 |
%{?python_provide:%python_provide python3-numpydoc}
|
|
|
8a2e130 |
%description -n python3-numpydoc
|
|
|
8a2e130 |
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
|
|
8a2e130 |
following the NumPy/SciPy format to a form palatable to Sphinx.
|
|
Thomas Spura |
5b379d4 |
|
|
Thomas Spura |
5b379d4 |
|
|
|
8a2e130 |
%prep
|
|
|
d3140f4 |
%autosetup -p1 -n numpydoc-%{version}
|
|
|
cb7ef5c |
# let's not measure coverage:
|
|
|
cb7ef5c |
sed -i '/pytest-cov/d' test_requirements.txt
|
|
|
cb7ef5c |
sed -Ei 's/\s+--cov\S+//g' setup.cfg
|
|
Thomas Spura |
5b379d4 |
|
|
|
c1bf4a9 |
%generate_buildrequires
|
|
|
c1bf4a9 |
%pyproject_buildrequires -x testing
|
|
|
c1bf4a9 |
|
|
Thomas Spura |
5b379d4 |
%build
|
|
|
c1bf4a9 |
%pyproject_wheel
|
|
Thomas Spura |
5b379d4 |
|
|
Thomas Spura |
5b379d4 |
%install
|
|
|
c1bf4a9 |
%pyproject_install
|
|
|
c1bf4a9 |
%pyproject_save_files numpydoc
|
|
Thomas Spura |
5b379d4 |
|
|
Thomas Spura |
5b379d4 |
%check
|
|
|
c1bf4a9 |
# Deselected tests need to download an inventory from docs.python.org
|
|
|
c1bf4a9 |
%pytest -k "not test_MyClass and not test_my_function"
|
|
|
8a2e130 |
|
|
|
8a2e130 |
|
|
|
c1bf4a9 |
%files -n python3-numpydoc -f %pyproject_files
|
|
|
8a2e130 |
%license LICENSE.txt
|
|
|
8a2e130 |
%doc README.rst
|
|
Thomas Spura |
5b379d4 |
|
|
Thomas Spura |
5b379d4 |
%changelog
|
|
|
cb7ef5c |
* Fri Nov 13 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-2
|
|
|
cb7ef5c |
- Don't BR pytest-cov
|
|
|
cb7ef5c |
|
|
|
c1bf4a9 |
* Wed Sep 09 2020 Lumír Balhar <lbalhar@redhat.com> - 1.1.0-1
|
|
|
c1bf4a9 |
- Update to 1.1.0 (#1701764)
|
|
|
c1bf4a9 |
|
|
|
c72a899 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
|
|
|
c72a899 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
c72a899 |
|
|
|
680cb10 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-4
|
|
|
680cb10 |
- Rebuilt for Python 3.9
|
|
|
680cb10 |
|
|
|
d3140f4 |
* Fri May 08 2020 Orion Poplawski <orion@nwra.com> - 0.9.2-3
|
|
|
d3140f4 |
- Add upstream patch for python 3.9 compatibility
|
|
|
d3140f4 |
|
|
|
c05de8f |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
|
|
|
c05de8f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
c05de8f |
|
|
|
33ce2ad |
* Sat Dec 28 2019 Orion Poplawski <orion@nwra.com> - 0.9.2-1
|
|
|
33ce2ad |
- Update to 0.9.2
|
|
|
33ce2ad |
|
|
|
13d75e3 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-4
|
|
|
13d75e3 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
13d75e3 |
|
|
|
4e58d8e |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-3
|
|
|
4e58d8e |
- Rebuilt for Python 3.8
|
|
|
4e58d8e |
|
|
|
e362e5f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
|
|
e362e5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e362e5f |
|
|
|
e223be0 |
* Tue May 7 2019 Orion Poplawski <orion@nwra.com> - 0.9.1-1
|
|
|
e223be0 |
- Update to 0.9.1
|
|
|
e223be0 |
|
|
|
5ee584c |
* Wed Mar 06 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-5
|
|
|
5ee584c |
- Subpackage python2-numpydoc has been removed
|
|
|
5ee584c |
See https://fedoraproject.org/wiki/Changes/Sphinx2
|
|
|
5ee584c |
|
|
|
9432bbe |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
|
|
9432bbe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
9432bbe |
|
|
|
98d3d2c |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
|
|
98d3d2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
98d3d2c |
|
|
|
7d39256 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-2
|
|
|
7d39256 |
- Rebuilt for Python 3.7
|
|
|
7d39256 |
|
|
Thomas Spura |
2be86be |
* Tue May 29 2018 Thomas Spura <tomspur@fedoraproject.org> - 0.8.0-1
|
|
Thomas Spura |
2be86be |
- update to 0.8.0 (#1562463)
|
|
Thomas Spura |
2be86be |
|
|
|
7416528 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
|
7416528 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7416528 |
|
|
|
8a2e130 |
* Tue Aug 15 2017 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-1
|
|
|
8a2e130 |
- Updated to 0.7.0 (#1481761)
|
|
|
8a2e130 |
- Rewrote the spec completely
|
|
|
8a2e130 |
|
|
|
c43144a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-8
|
|
|
c43144a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
c43144a |
|
|
|
b2e833c |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-7
|
|
|
b2e833c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b2e833c |
|
|
|
f843db5 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5-6
|
|
|
f843db5 |
- Rebuild for Python 3.6
|
|
|
f843db5 |
|
|
|
c36b602 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5
|
|
|
c36b602 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
c36b602 |
|
|
|
b6c95b4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-4
|
|
|
b6c95b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b6c95b4 |
|
|
|
2d944a7 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-3
|
|
|
2d944a7 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
2d944a7 |
|
|
|
d4743f7 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
|
|
d4743f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d4743f7 |
|
|
Thomas Spura |
c782b7c |
* Wed Aug 27 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.5-1
|
|
Thomas Spura |
c782b7c |
- update to 0.5 (#1134171)
|
|
Thomas Spura |
c782b7c |
- enable python3 subpackage
|
|
Thomas Spura |
c782b7c |
|
|
|
d2b7044 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
|
|
|
d2b7044 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d2b7044 |
|
|
Thomas Spura |
5b379d4 |
* Mon Aug 5 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.4-2
|
|
Thomas Spura |
5b379d4 |
- BR python2-devel, python-sphinx, python-nose
|
|
Thomas Spura |
5b379d4 |
- use macro in URL
|
|
Thomas Spura |
5b379d4 |
- disable python3 package for now
|
|
Thomas Spura |
5b379d4 |
|
|
Thomas Spura |
5b379d4 |
* Fri Aug 2 2013 Thomas Spura <tomspur@fedoraproject.org> - 0.4-1
|
|
Thomas Spura |
5b379d4 |
- initial package
|