[packages/python3-numpydoc] - updated to 1.9.0
qboosh
qboosh at pld-linux.org
Sun Oct 26 14:22:36 CET 2025
commit bf68d149315af25bdd629b9b7f217c5d90eb860c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 26 14:22:31 2025 +0100
- updated to 1.9.0
python3-numpydoc.spec | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/python3-numpydoc.spec b/python3-numpydoc.spec
index 8b1fc69..fb56fd6 100644
--- a/python3-numpydoc.spec
+++ b/python3-numpydoc.spec
@@ -6,32 +6,35 @@
Summary: Sphinx extension to support docstrings in Numpy format
Summary(pl.UTF-8): Rozszerzenie Sphinksa do obsług docstringów w formacie Numpy
Name: python3-numpydoc
-Version: 1.8.0
+Version: 1.9.0
Release: 1
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/numpydoc/
Source0: https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-%{version}.tar.gz
-# Source0-md5: f1dcf7f9e10d72680a6ff71607cce99b
+# Source0-md5: f84db6e9fdd4c4ea88d40eaeeeff5196
URL: https://pypi.org/project/numpydoc/
-BuildRequires: python3-modules >= 1:3.7
-BuildRequires: python3-setuptools
+BuildRequires: python3-modules >= 1:3.9
+BuildRequires: python3-setuptools >= 1:61.2
%if %{with tests}
-BuildRequires: python3-Sphinx >= 4.2
-BuildRequires: python3-jinja2 >= 2.10
+BuildRequires: python3-Sphinx >= 6
BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
BuildRequires: python3-tabulate
+%if "%{_ver_lt %{py3_ver} 3.11}" == "1"
+BuildRequires: python3-tomli >= 1.1.0
+%endif
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with doc}
+BuildRequires: python3-intersphinx_registry
BuildRequires: python3-matplotlib >= 3.5
-BuildRequires: python3-numpy >= 1.21
-BuildRequires: python3-pydata-sphinx-theme >= 0.11
-BuildRequires: sphinx-pdg-3 >= 5.2
+BuildRequires: python3-numpy >= 1.22
+BuildRequires: python3-pydata_sphinx_theme >= 0.13.3
+BuildRequires: sphinx-pdg-3 >= 7
%endif
-Requires: python3-modules >= 1:3.7
+Requires: python3-modules >= 1:3.9
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -53,9 +56,10 @@ dodaje także dyrektywy opisu kodu "np:function", "np-c:function" itp.
%py3_build_pyproject
%if %{with tests}
+# test_full.py requires network access (for intersphinx)
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTEST_PLUGINS="pytest_cov.plugin" \
-%{__python3} -m pytest numpydoc/tests
+%{__python3} -m pytest numpydoc/tests --ignore numpydoc/tests/test_full.py
%endif
%install
@@ -71,5 +75,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc LICENSE.txt README.rst
+%attr(755,root,root) %{_bindir}/numpydoc
%{py3_sitescriptdir}/numpydoc
%{py3_sitescriptdir}/numpydoc-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-numpydoc.git/commitdiff/bf68d149315af25bdd629b9b7f217c5d90eb860c
More information about the pld-cvs-commit
mailing list