Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64e5ff5341 | |||
| a2335368d8 | |||
| 9cab2e9c11 | |||
| 40d1e0ba99 | |||
| a6c5945732 | |||
| d1c87681a6 |
@@ -0,0 +1,26 @@
|
|||||||
|
From 00f39d74f8788ad5aa0dbfe34e7b66b38d0c63d1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||||
|
Date: Mon, 8 May 2023 00:05:59 -0400
|
||||||
|
Subject: [PATCH] Fix doc build with Sphinx 6
|
||||||
|
|
||||||
|
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||||
|
---
|
||||||
|
doc/source/conf.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/doc/source/conf.py b/doc/source/conf.py
|
||||||
|
index 7efdfd8..ab40673 100644
|
||||||
|
--- a/doc/source/conf.py
|
||||||
|
+++ b/doc/source/conf.py
|
||||||
|
@@ -226,7 +226,7 @@ latex_documents = [
|
||||||
|
# If false, no module index is generated.
|
||||||
|
# latex_use_modindex = True
|
||||||
|
|
||||||
|
-extlinks = {"issue": ("https://github.com/pydata/bottleneck/issues/%s", "#")}
|
||||||
|
+extlinks = {"issue": ("https://github.com/pydata/bottleneck/issues/%s", "#%s")}
|
||||||
|
intersphinx_mapping = {
|
||||||
|
"numpy": ("https://docs.scipy.org/doc/numpy/", None),
|
||||||
|
"numpydoc": ("https://numpydoc.readthedocs.io/en/latest/", None),
|
||||||
|
--
|
||||||
|
2.40.0
|
||||||
|
|
||||||
+24
-22
@@ -1,20 +1,15 @@
|
|||||||
%global upname Bottleneck
|
%global upname Bottleneck
|
||||||
|
|
||||||
# build docs on Fedora but not on RHEL (not all sphinx packages available)
|
|
||||||
%if 0%{?rhel}
|
|
||||||
%bcond_with docs
|
|
||||||
%else
|
|
||||||
%bcond_without docs
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: python-%{upname}
|
Name: python-%{upname}
|
||||||
Version: 1.3.2
|
Version: 1.3.7
|
||||||
Release: 7%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Collection of fast NumPy array functions written in Cython
|
Summary: Collection of fast NumPy array functions written in Cython
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://pypi.org/project/Bottleneck/
|
URL: https://pypi.org/project/Bottleneck/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
|
||||||
|
# https://github.com/pydata/bottleneck/pull/432
|
||||||
|
Patch0001: 0001-Fix-doc-build-with-Sphinx-6.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
|
||||||
@@ -23,14 +18,14 @@ BuildRequires: gcc
|
|||||||
written in Cython.
|
written in Cython.
|
||||||
|
|
||||||
|
|
||||||
%if %{with docs}
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation files for %{name}
|
Summary: Documentation files for %{name}
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package contains the HTML-docs for %{name}.
|
This package contains the HTML-docs for %{name}.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package -n python3-%{upname}
|
%package -n python3-%{upname}
|
||||||
Summary: Collection of fast NumPy array functions written in Cython
|
Summary: Collection of fast NumPy array functions written in Cython
|
||||||
@@ -38,12 +33,10 @@ Summary: Collection of fast NumPy array functions written in Cython
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-numpy
|
BuildRequires: python3-numpy
|
||||||
|
BuildRequires: python3-numpydoc
|
||||||
BuildRequires: python3-scipy
|
BuildRequires: python3-scipy
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%if %{with docs}
|
|
||||||
BuildRequires: python3-numpydoc
|
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
%endif
|
|
||||||
|
|
||||||
Requires: python3-numpy%{?_isa}
|
Requires: python3-numpy%{?_isa}
|
||||||
Requires: python3-scipy%{?_isa}
|
Requires: python3-scipy%{?_isa}
|
||||||
@@ -77,12 +70,10 @@ sed -i /contributors/d doc/source/conf.py
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
# clean unneeded stuff
|
# clean unneeded stuff
|
||||||
rm -rf %{buildroot}%{python3_sitearch}/bottleneck/src \
|
rm -rf %{buildroot}%{python3_sitearch}/bottleneck/LICENSE
|
||||||
%{buildroot}%{python3_sitearch}/bottleneck/LICENSE
|
|
||||||
|
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%if %{with docs}
|
|
||||||
# Build the autodocs.
|
# Build the autodocs.
|
||||||
export PYTHONPATH="%{buildroot}%{python3_sitearch}"
|
export PYTHONPATH="%{buildroot}%{python3_sitearch}"
|
||||||
export READTHEDOCS=1
|
export READTHEDOCS=1
|
||||||
@@ -90,7 +81,6 @@ sphinx-build -b html doc/source doc/html
|
|||||||
|
|
||||||
# Clean unneeded stuff from docs.
|
# Clean unneeded stuff from docs.
|
||||||
rm -rf doc/html/{.buildinfo,.doctrees}
|
rm -rf doc/html/{.buildinfo,.doctrees}
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -99,11 +89,9 @@ pytest-%{python3_version} bottleneck -v
|
|||||||
popd
|
popd
|
||||||
rm -rf %{buildroot}%{python3_sitearch}/.pytest_cache
|
rm -rf %{buildroot}%{python3_sitearch}/.pytest_cache
|
||||||
|
|
||||||
%if %{with docs}
|
|
||||||
%files doc
|
%files doc
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README* RELEASE* doc/html
|
%doc README* RELEASE* doc/html
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{upname}
|
%files -n python3-%{upname}
|
||||||
@@ -114,8 +102,22 @@ rm -rf %{buildroot}%{python3_sitearch}/.pytest_cache
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jan 24 2023 Jonathan Wright <jonathan@almalinux.org> - 1.3.2-7
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-5
|
||||||
- disable building docs on RHEL
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 28 2023 Python Maint <python-maint@redhat.com> - 1.3.7-2
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Tue Apr 04 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.3.7-1
|
||||||
|
- Update to 1.3.7
|
||||||
|
Fixes: rhbz#2056294
|
||||||
|
Fixes: rhbz#2137289
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-6
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (Bottleneck-1.3.2.tar.gz) = 78f1a42c9429783c08de22e3c1815e8e8267a633323b7fd520b120ff21a31f9489717a1ca45b81d0b808aa48d0f17fd08b8018be48d8f78bea5f1fbd17d762d1
|
SHA512 (Bottleneck-1.3.7.tar.gz) = ffeacb13e5a99db85e1580b9f2ead98239b4fd0b253a3c242a5507a026b439b9927ea49becec7e4d2d8f8e4ced15f43514c0af99379389db141ae50c4513e011
|
||||||
|
|||||||
Reference in New Issue
Block a user