24 Commits
f32 ... epel10

Author SHA1 Message Date
Orion Poplawski
a16e12bb5a Fix name 2024-12-18 07:59:03 -07:00
Orion Poplawski
87c06f6c67 Update to 1.4.2 2024-12-16 21:20:12 -07:00
Orion Poplawski
ad0b0d8755 Rebuild with numpy 2.0 2024-12-16 21:19:06 -07:00
Miroslav Suchý
6ca88239ef convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-04 19:29:44 +02:00
Fedora Release Engineering
bd8ec18302 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 09:00:55 +00:00
Python Maint
fed942f23d Rebuilt for Python 3.13 2024-06-09 01:34:50 +02:00
Fedora Release Engineering
64e5ff5341 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 00:44:39 +00:00
Fedora Release Engineering
a2335368d8 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 22:51:51 +00:00
Fedora Release Engineering
9cab2e9c11 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 06:50:59 +00:00
Python Maint
40d1e0ba99 Rebuilt for Python 3.12 2023-06-28 13:50:20 +02:00
Elliott Sales de Andrade
a6c5945732 Fix build with Sphinx 6 2023-05-08 00:10:34 -04:00
Tomáš Hrnčiar
d1c87681a6 Update to 1.3.7
Fixes: rhbz#2056294
Fixes: rhbz#2137289
2023-04-04 14:21:07 +02:00
Fedora Release Engineering
c8504d6913 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 10:46:37 +00:00
Fedora Release Engineering
65bc97ee2d Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 15:55:14 +00:00
Python Maint
477d830513 Rebuilt for Python 3.11 2022-06-15 13:45:28 +02:00
Fedora Release Engineering
e95679924e - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:55:47 +00:00
Fedora Release Engineering
9b388d39f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 04:33:15 +00:00
Zbigniew Jędrzejewski-Szmek
41611e5750 Version 1.3.2 2021-06-17 11:11:33 +02:00
Zbigniew Jędrzejewski-Szmek
bf326edfcb Remove cruft 2021-06-17 10:09:04 +02:00
Python Maint
e993080cf8 Rebuilt for Python 3.10 2021-06-04 19:30:50 +02:00
Tomas Hrnciar
5fec942d8d python 3.10 compatibility - wrap if clauses in parens in C 2021-05-19 13:10:30 +02:00
Fedora Release Engineering
891b053023 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:59:40 +00:00
Fedora Release Engineering
952b9c7978 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 23:25:33 +00:00
Miro Hrončok
688015e9ef Rebuilt for Python 3.9 2020-05-26 01:23:59 +02:00
3 changed files with 121 additions and 34 deletions

View File

@@ -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

View File

@@ -1,13 +1,16 @@
%global upname Bottleneck
%global upname bottleneck
Name: python-%{upname}
Version: 1.2.1
Release: 14%{?dist}
Name: python-Bottleneck
Version: 1.4.2
Release: 1%{?dist}
Summary: Collection of fast NumPy array functions written in Cython
License: BSD
# Automatically converted from old format: BSD - review is highly recommended.
License: LicenseRef-Callaway-BSD
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
@@ -25,11 +28,11 @@ BuildArch: noarch
This package contains the HTML-docs for %{name}.
%package -n python3-%{upname}
%package -n python3-Bottleneck
Summary: Collection of fast NumPy array functions written in Cython
BuildRequires: python3-devel
BuildRequires: python3-nose
BuildRequires: python3-pytest
BuildRequires: python3-numpy
BuildRequires: python3-numpydoc
BuildRequires: python3-scipy
@@ -39,22 +42,24 @@ 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
%description -n python3-Bottleneck
python3-Bottleneck is a collection of fast NumPy array functions
written in Cython.
%prep
%autosetup -n %{upname}-%{version} -p 1
%{__rm} -fr .egg* *.egg*
rm -fr .egg* *.egg*
# use numpydoc from the package instead
%{__rm} -f doc/sphinxext/numpydoc.py*
rm -f doc/sphinxext/numpydoc.py*
# Python 2 remark
%{__sed} -i 's/fid = file(/fid = open(/' doc/source/conf.py
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
@@ -64,44 +69,100 @@ written in Cython.
%py3_install
# clean unneeded stuff
%{__rm} -rf %{buildroot}%{python3_sitearch}/bottleneck/src \
%{buildroot}%{python3_sitearch}/bottleneck/LICENSE
rm -rf %{buildroot}%{python3_sitearch}/bottleneck/LICENSE
%{_fixperms} %{buildroot}/*
# Move installed files to temporary location.
%{__mkdir} -p tmp_inst
%{__cp} -fpr %{buildroot}/* tmp_inst
# Build the autodocs.
export PYTHONPATH="$(/bin/pwd)/tmp_inst/%{python3_sitearch}"
%{__mkdir} -p doc/source/_static
%{_bindir}/sphinx-build -b html doc/source doc/html
unset PYTHONPATH
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}
%check
pushd tmp_inst/%{python3_sitearch}
%{_bindir}/nosetests-%{python3_version} -vv
pushd %{buildroot}%{python3_sitearch}
pytest-%{python3_version} bottleneck -v
popd
rm -rf %{buildroot}%{python3_sitearch}/.pytest_cache
%files doc
%license bottleneck/LICENSE
%license LICENSE
%doc README* RELEASE* doc/html
%files -n python3-%{upname}
%license bottleneck/LICENSE
%files -n python3-Bottleneck
%license LICENSE
%doc README* RELEASE*
%{python3_sitearch}/bottleneck
%{python3_sitearch}/%{upname}-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/Bottleneck-%{version}-py%{python3_version}.egg-info
%changelog
* 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
- 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 1.3.2-4
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jun 17 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.2-1
- Update to latest version (#1768152)
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.1-18
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-15
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@@ -1 +1 @@
SHA512 (Bottleneck-1.2.1.tar.gz) = c766999cd1501b9f1dee0177b631ece12824d1f95c33077705f6387c911df583c3556ea22b208e455567f75e6e12e29b95855a6aea316bd1d6113bf47a04cf5a
SHA512 (bottleneck-1.4.2.tar.gz) = 6998a00375527fe77edd159311780a6551ee21dc2ef0ede7f47f6ca26542af4858df0065b2e8e82c3e5914069d0f467a770f460d04da5288d5a01ffd310d6292