7 Commits
f42 ... main

Author SHA1 Message Date
Fedora Release Engineering
85f278eecc Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 06:03:15 +00:00
Björn Esser
183d40ed39 Update to 1.6.0
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-10-07 12:15:38 +02:00
Python Maint
7f243ee354 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:56:02 +02:00
Jerry James
8d8bc14cae 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
2025-08-26 09:48:36 -06:00
Python Maint
f67893ef13 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:24:08 +02:00
Fedora Release Engineering
376f6d9f90 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 06:25:39 +00:00
Python Maint
f6013dd4ea Rebuilt for Python 3.14 2025-06-03 21:14:52 +02:00
2 changed files with 55 additions and 44 deletions

View File

@@ -1,24 +1,37 @@
%global upname bottleneck
%bcond docs %[!0%{?rhel}]
Name: python-Bottleneck
Version: 1.4.2
Version: 1.6.0
Release: 2%{?dist}
Summary: Collection of fast NumPy array functions written in Cython
# Automatically converted from old format: BSD - review is highly recommended.
License: LicenseRef-Callaway-BSD
License: BSD-2-Clause
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: 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
%{name} is a collection of fast NumPy array functions
written in Cython.
%if %{with docs}
%package doc
Summary: Documentation files for %{name}
@@ -26,22 +39,12 @@ BuildArch: noarch
%description doc
This package contains the HTML-docs for %{name}.
%endif
%package -n python3-Bottleneck
Summary: Collection of fast NumPy array functions written in Cython
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-numpy
BuildRequires: python3-numpydoc
BuildRequires: python3-scipy
BuildRequires: python3-setuptools
BuildRequires: python3-sphinx
Requires: python3-numpy%{?_isa}
Requires: python3-scipy%{?_isa}
%description -n python3-Bottleneck
python3-Bottleneck is a collection of fast NumPy array functions
written in Cython.
@@ -49,58 +52,66 @@ written in Cython.
%prep
%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
# have a repo anyway.
sed -i /contributors/d doc/source/conf.py
%build
%py3_build
%install
%py3_install
# clean unneeded stuff
rm -rf %{buildroot}%{python3_sitearch}/bottleneck/LICENSE
%{_fixperms} %{buildroot}/*
%if %{with docs}
%install -a
# Build the autodocs.
export PYTHONPATH="%{buildroot}%{python3_sitearch}"
export READTHEDOCS=1
sphinx-build -b html doc/source doc/html
# Clean unneeded stuff from docs.
rm -rf doc/html/{.buildinfo,.doctrees}
rm -rf doc/html/{.buildinfo,.doctrees,.nojekyll}
%endif
%check
pushd %{buildroot}%{python3_sitearch}
pytest-%{python3_version} bottleneck -v
popd
rm -rf %{buildroot}%{python3_sitearch}/.pytest_cache
cd build/lib.linux-*
%pytest bottleneck
cd -
%if %{with docs}
%files doc
%license LICENSE
%doc README* RELEASE* doc/html
%endif
%files -n python3-Bottleneck
%license LICENSE
%files -n python3-Bottleneck -f %{pyproject_files}
%doc README* RELEASE*
%{python3_sitearch}/bottleneck
%{python3_sitearch}/Bottleneck-%{version}-py%{python3_version}.egg-info
%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

View File

@@ -1 +1 @@
SHA512 (bottleneck-1.4.2.tar.gz) = 6998a00375527fe77edd159311780a6551ee21dc2ef0ede7f47f6ca26542af4858df0065b2e8e82c3e5914069d0f467a770f460d04da5288d5a01ffd310d6292
SHA512 (bottleneck-1.6.0.tar.gz) = e83d470b3380d579966855eef18c50069ca7db7a789ce0e8c39b707d0a8ad7cd2179121bad0c8bce41da5095ea1dea3dbfd59d31968ab21724d66baad694d978