|
|
|
@@ -1,11 +1,19 @@
|
|
|
|
|
# No matplot yet in EPEL10
|
|
|
|
|
%if 0%{?rhel} >= 10
|
|
|
|
|
%bcond_with matplotlib
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without matplotlib
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: python-numpydoc
|
|
|
|
|
Version: 1.7.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.9.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Sphinx extension to support docstrings in NumPy format
|
|
|
|
|
|
|
|
|
|
License: BSD-2-Clause
|
|
|
|
|
URL: https://pypi.python.org/pypi/numpydoc
|
|
|
|
|
Source: %pypi_source numpydoc
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
@@ -27,14 +35,17 @@ Summary: %{summary}
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n numpydoc-%{version}
|
|
|
|
|
# let's not measure coverage:
|
|
|
|
|
sed -i '/pytest-cov/d' requirements/test.txt pyproject.toml
|
|
|
|
|
sed -i '/pytest-cov/d' pyproject.toml
|
|
|
|
|
sed -Ei 's/\s+--cov\S+//g' pyproject.toml
|
|
|
|
|
%if %{without matplotlib}
|
|
|
|
|
sed -i '/matplotlib/d' pyproject.toml
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Remove a useless shebang
|
|
|
|
|
sed -i '\,#!/usr/bin/env python,d' numpydoc/validate.py
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires -x test
|
|
|
|
|
%pyproject_buildrequires -g test
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
@@ -50,9 +61,33 @@ sed -i '\,#!/usr/bin/env python,d' numpydoc/validate.py
|
|
|
|
|
|
|
|
|
|
%files -n python3-numpydoc -f %pyproject_files
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{_bindir}/validate-docstrings
|
|
|
|
|
%{_bindir}/numpydoc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Nov 29 2025 Orion Poplawski <orion@nwra.com> - 1.9.0-1
|
|
|
|
|
- Update to 1.9.0
|
|
|
|
|
|
|
|
|
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.8.0-6
|
|
|
|
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
|
|
|
|
|
|
|
|
|
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.8.0-5
|
|
|
|
|
- Rebuilt for Python 3.14.0rc2 bytecode
|
|
|
|
|
|
|
|
|
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 1.8.0-3
|
|
|
|
|
- Rebuilt for Python 3.14
|
|
|
|
|
|
|
|
|
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 24 2024 Orion Poplawski <orion@nwra.com> - 1.8.0-1
|
|
|
|
|
- Update to 1.8.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|