38 Commits
f21 ... f36

Author SHA1 Message Date
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
Fedora Release Engineering
e0aa0006ae - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 10:18:35 +00:00
Orion Poplawski
e160ed5e8e Fix URL 2019-10-04 10:55:59 -06:00
Miro Hrončok
1816070f6c Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:00:11 +02:00
Miro Hrončok
45733e4010 Rebuilt for Python 3.8 2019-08-19 10:24:49 +02:00
Fedora Release Engineering
e138800959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 11:51:35 +00:00
Miro Hrončok
cc92459849 Subpackage python2-Bottleneck has been removed 2019-06-28 13:03:26 +02:00
Miro Hrončok
3ae40abe2d Build docs with Python 3
https://fedoraproject.org/wiki/Changes/Sphinx2
2019-05-01 19:09:45 +02:00
Fedora Release Engineering
4727e85324 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 05:20:53 +00:00
Fedora Release Engineering
db9b831856 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 23:15:40 +00:00
Igor Gnatenko
5f970dc7e3 add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-10 15:56:26 +02:00
Miro Hrončok
3f0567d665 Use numpydoc from our package to fix FTBFS (#1594555) 2018-06-24 16:48:15 +02:00
Miro Hrončok
10d33a1796 Rebuilt for Python 3.7 2018-06-19 10:51:37 +02:00
Iryna Shcherbina
882880ed80 Update Python 2 dependency declarations to new packaging standards 2018-02-09 10:59:23 +01:00
Fedora Release Engineering
c5cc7ffabd - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 06:21:52 +00:00
Fedora Release Engineering
9704d69fcb - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 06:37:08 +00:00
Fedora Release Engineering
dba59075a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 09:26:14 +00:00
Björn Esser
c27c5b98ec Updated to new upstream release (rhbz#1451146) 2017-05-16 14:56:31 +02:00
Björn Esser
2b9fa2d841 Updated to new upstream release (rhbz#1105817)
Updated spec-file to recent guidelines
2017-04-09 16:05:25 +02:00
Fedora Release Engineering
ca8b848bd7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 08:11:48 +00:00
Miro Hrončok
04cbee2756 Rebuild for Python 3.6 2016-12-19 18:20:37 +01:00
Fedora Release Engineering
11f556feb1 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 08:41:03 +00:00
Fedora Release Engineering
00b6a22e05 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:50:52 +00:00
Thomas Spura
c10bb6f7b7 Use new python macros and add python2 subpackage 2015-11-15 11:55:34 +01:00
Peter Robinson
5ac451a602 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 15:01:53 +00:00
Dennis Gilmore
d1cf3e2a83 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 18:20:06 +00:00
2 changed files with 153 additions and 73 deletions

View File

@@ -1,30 +1,15 @@
%global __provides_exclude_from ^%{python_sitearch}/.*\\.so
%global upname Bottleneck
Name: python-%{upname}
Version: 0.6.0
Release: 4%{?dist}
Version: 1.3.7
Release: 1%{?dist}
Summary: Collection of fast NumPy array functions written in Cython
License: BSD
URL: http://berkeleyanalytics.com/bottleneck
Source0: https://pypi.python.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
URL: https://pypi.org/project/Bottleneck/
Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
BuildRequires: numpy
BuildRequires: python-nose
%{?!fc18:BuildRequires: python-numpydoc}
BuildRequires: python-setuptools
BuildRequires: python-sphinx
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python3-nose
BuildRequires: python3-numpy
BuildRequires: python3-scipy
BuildRequires: python3-setuptools
BuildRequires: scipy
Requires: numpy%{?_isa}
Requires: scipy%{?_isa}
BuildRequires: gcc
%description
%{name} is a collection of fast NumPy array functions
@@ -35,7 +20,6 @@ written in Cython.
Summary: Documentation files for %{name}
BuildArch: noarch
Provides: python3-%{upname}-doc = %{version}-%{release}
%description doc
This package contains the HTML-docs for %{name}.
@@ -44,87 +28,183 @@ This package contains the HTML-docs for %{name}.
%package -n python3-%{upname}
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}
%{?python_provide:%python_provide python3-%{upname}}
%description -n python3-%{upname}
python3-%{upname} is a collection of fast NumPy array functions
written in Cython.
%prep
%setup -qn %{upname}-%{version}
rm -rf %{py3dir}
cp -a . %{py3dir}
%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
# export compiler-flags
%configure ||:
# build
%{__python} setup.py build
pushd %{py3dir}
%{__python3} setup.py build
popd
# build autodocs
export PYTHONPATH="`pwd`/`find . -depth -type d -name lib.linux*`"
pushd doc
mkdir -p source/_static
make html
# clean unneeded stuff from docs
rm -rf build/html/.buildinfo \
build/html/_sources
%py3_build
%install
%{__python} setup.py install -O1 --skip-build --root `pwd`/test_install
%py3_install
# clean unneeded stuff
rm -rf test_install/%{python_sitearch}/bottleneck/src \
test_install/%{python_sitearch}/bottleneck/LICENSE
# install into buildroot
cp -a test_install/* %{buildroot}
pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root `pwd`/test_install
# clean unneeded stuff
rm -rf test_install/%{python3_sitearch}/bottleneck/src \
test_install/%{python3_sitearch}/bottleneck/LICENSE
# install into buildroot
cp -a test_install/* %{buildroot}
popd
rm -rf %{buildroot}%{python3_sitearch}/bottleneck/LICENSE
%{_fixperms} %{buildroot}/*
# 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}
%check
pushd `find . -depth -type d -name lib.linux*`
%{__python} -c 'import bottleneck as bn; bn.test()'
pushd %{buildroot}%{python3_sitearch}
pytest-%{python3_version} bottleneck -v
popd
pushd `find %{py3dir} -depth -type d -name lib.linux*`
%{__python3} -c 'import bottleneck as bn; bn.test()'
popd
%files
%doc bottleneck/LICENSE
%{python_sitearch}/*
rm -rf %{buildroot}%{python3_sitearch}/.pytest_cache
%files doc
%doc README* RELEASE* bottleneck/LICENSE doc/build/html
%license LICENSE
%doc README* RELEASE* doc/html
%files -n python3-%{upname}
%doc bottleneck/LICENSE
%{python3_sitearch}/*
%license LICENSE
%doc README* RELEASE*
%{python3_sitearch}/bottleneck
%{python3_sitearch}/%{upname}-%{version}-py%{python3_version}.egg-info
%changelog
* 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
* Fri Oct 4 2019 Orion Poplawski <orion@nwra.com> - 1.2.1-13
- Fix URL
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-12
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-11
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jun 28 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-9
- Subpackage python2-Bottleneck has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-6
- Rebuilt for Python 3.7
- Use numpydoc from our package to fix FTBFS (#1594555)
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.1-5
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue May 16 2017 Björn Esser <besser82@fedoraproject.org> - 1.2.1-1
- Updated to new upstream release (rhbz#1451146)
* Sun Apr 09 2017 Björn Esser <besser82@fedoraproject.org> - 1.2.0-1
- Updated to new upstream release (rhbz#1105817)
- Updated spec-file to recent guidelines
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-10
- Rebuild for Python 3.6
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Nov 15 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.6.0-7
- Use new python macros and add python2 subpackage
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-6
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@@ -1 +1 @@
44ede1261fae49445b695ac861e48cb9 Bottleneck-0.6.0.tar.gz
SHA512 (Bottleneck-1.3.7.tar.gz) = ffeacb13e5a99db85e1580b9f2ead98239b4fd0b253a3c242a5507a026b439b9927ea49becec7e4d2d8f8e4ced15f43514c0af99379389db141ae50c4513e011