Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85f278eecc | ||
|
|
183d40ed39 | ||
|
|
7f243ee354 | ||
|
|
8d8bc14cae | ||
|
|
f67893ef13 | ||
|
|
376f6d9f90 | ||
|
|
f6013dd4ea | ||
|
|
54c59cfb44 | ||
|
|
a16e12bb5a | ||
|
|
87c06f6c67 | ||
|
|
ad0b0d8755 | ||
|
|
6ca88239ef | ||
|
|
bd8ec18302 | ||
|
|
fed942f23d | ||
|
|
64e5ff5341 | ||
|
|
a2335368d8 | ||
|
|
9cab2e9c11 | ||
|
|
40d1e0ba99 | ||
|
|
a6c5945732 |
@@ -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
|
||||||
|
|
||||||
+92
-50
@@ -1,21 +1,37 @@
|
|||||||
%global upname Bottleneck
|
%global upname bottleneck
|
||||||
|
|
||||||
Name: python-%{upname}
|
%bcond docs %[!0%{?rhel}]
|
||||||
Version: 1.3.7
|
|
||||||
Release: 1%{?dist}
|
Name: python-Bottleneck
|
||||||
|
Version: 1.6.0
|
||||||
|
Release: 2%{?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-2-Clause
|
||||||
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: %pypi_source %{upname}
|
||||||
|
# https://github.com/pydata/bottleneck/pull/432
|
||||||
|
Patch0001: 0001-Fix-doc-build-with-Sphinx-6.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
|
BuildSystem: pyproject
|
||||||
|
BuildOption(install): -l bottleneck
|
||||||
|
%if %{with docs}
|
||||||
|
BuildOption(generate_buildrequires): -x doc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||||
|
ExcludeArch: %{ix86}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{name} is a collection of fast NumPy array functions
|
%{name} is a collection of fast NumPy array functions
|
||||||
written in Cython.
|
written in Cython.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with docs}
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation files for %{name}
|
Summary: Documentation files for %{name}
|
||||||
|
|
||||||
@@ -23,83 +39,109 @@ 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-Bottleneck
|
||||||
Summary: Collection of fast NumPy array functions written in Cython
|
Summary: Collection of fast NumPy array functions written in Cython
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
%description -n python3-Bottleneck
|
||||||
BuildRequires: python3-pytest
|
python3-Bottleneck is a collection of fast NumPy array functions
|
||||||
BuildRequires: python3-numpy
|
|
||||||
BuildRequires: python3-numpydoc
|
|
||||||
BuildRequires: python3-scipy
|
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
BuildRequires: python3-sphinx
|
|
||||||
|
|
||||||
Requires: python3-numpy%{?_isa}
|
|
||||||
Requires: python3-scipy%{?_isa}
|
|
||||||
|
|
||||||
%{?python_provide:%python_provide python3-%{upname}}
|
|
||||||
|
|
||||||
%description -n python3-%{upname}
|
|
||||||
python3-%{upname} is a collection of fast NumPy array functions
|
|
||||||
written in Cython.
|
written in Cython.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{upname}-%{version} -p 1
|
%autosetup -n %{upname}-%{version} -p 1
|
||||||
rm -fr .egg* *.egg*
|
|
||||||
|
|
||||||
# use numpydoc from the package instead
|
|
||||||
rm -f doc/sphinxext/numpydoc.py*
|
|
||||||
|
|
||||||
# Python 2 remark
|
|
||||||
sed -i 's/fid = file(/fid = open(/' doc/source/conf.py
|
|
||||||
|
|
||||||
# Remove the contributors extensions which can't work because we don't
|
# Remove the contributors extensions which can't work because we don't
|
||||||
# have a repo anyway.
|
# have a repo anyway.
|
||||||
sed -i /contributors/d doc/source/conf.py
|
sed -i /contributors/d doc/source/conf.py
|
||||||
|
|
||||||
%build
|
%if %{with docs}
|
||||||
%py3_build
|
%install -a
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
%py3_install
|
|
||||||
|
|
||||||
# clean unneeded stuff
|
|
||||||
rm -rf %{buildroot}%{python3_sitearch}/bottleneck/LICENSE
|
|
||||||
|
|
||||||
%{_fixperms} %{buildroot}/*
|
|
||||||
|
|
||||||
# Build the autodocs.
|
# Build the autodocs.
|
||||||
export PYTHONPATH="%{buildroot}%{python3_sitearch}"
|
export PYTHONPATH="%{buildroot}%{python3_sitearch}"
|
||||||
export READTHEDOCS=1
|
export READTHEDOCS=1
|
||||||
sphinx-build -b html doc/source doc/html
|
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,.nojekyll}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd %{buildroot}%{python3_sitearch}
|
cd build/lib.linux-*
|
||||||
pytest-%{python3_version} bottleneck -v
|
%pytest bottleneck
|
||||||
popd
|
cd -
|
||||||
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-Bottleneck -f %{pyproject_files}
|
||||||
%license LICENSE
|
|
||||||
%doc README* RELEASE*
|
%doc README* RELEASE*
|
||||||
%{python3_sitearch}/bottleneck
|
|
||||||
%{python3_sitearch}/%{upname}-%{version}-py%{python3_version}.egg-info
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Oct 07 2025 Björn Esser <besser82@fedoraproject.org> - 1.6.0-1
|
||||||
|
- Update to 1.6.0
|
||||||
|
|
||||||
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.5.0-2
|
||||||
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||||
|
|
||||||
|
* Tue Aug 26 2025 Jerry James <loganjerry@gmail.com> - 1.5.0-1
|
||||||
|
- Version 1.5.0
|
||||||
|
- Stop building for 32-bit x86
|
||||||
|
- Update the License field to BSD-2-Clause
|
||||||
|
- Use the pyproject declarative buildsystem
|
||||||
|
- Do not build documentation for RHEL
|
||||||
|
|
||||||
|
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.4.2-5
|
||||||
|
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||||
|
|
||||||
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 1.4.2-3
|
||||||
|
- Rebuilt for Python 3.14
|
||||||
|
|
||||||
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 17 2024 Orion Poplawski <orion@nwra.com> - 1.4.2-1
|
||||||
|
- Update to 1.4.2
|
||||||
|
|
||||||
|
* Tue Dec 17 2024 Orion Poplawski <orion@nwra.com> - 1.3.7-9
|
||||||
|
- Rebuild with numpy 2.0
|
||||||
|
|
||||||
|
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 1.3.7-8
|
||||||
|
- convert license to SPDX
|
||||||
|
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 1.3.7-6
|
||||||
|
- Rebuilt for Python 3.13
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-5
|
||||||
|
- 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
|
* Tue Apr 04 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.3.7-1
|
||||||
- Update to 1.3.7
|
- Update to 1.3.7
|
||||||
Fixes: rhbz#2056294
|
Fixes: rhbz#2056294
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (Bottleneck-1.3.7.tar.gz) = ffeacb13e5a99db85e1580b9f2ead98239b4fd0b253a3c242a5507a026b439b9927ea49becec7e4d2d8f8e4ced15f43514c0af99379389db141ae50c4513e011
|
SHA512 (bottleneck-1.6.0.tar.gz) = e83d470b3380d579966855eef18c50069ca7db7a789ce0e8c39b707d0a8ad7cd2179121bad0c8bce41da5095ea1dea3dbfd59d31968ab21724d66baad694d978
|
||||||
|
|||||||
Reference in New Issue
Block a user