21 Commits
f28 ... f35

Author SHA1 Message Date
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
2 changed files with 81 additions and 56 deletions

View File

@@ -1,14 +1,16 @@
%global upname Bottleneck
Name: python-%{upname}
Version: 1.2.1
Release: 4%{?dist}
Version: 1.3.2
Release: 2%{?dist}
Summary: Collection of fast NumPy array functions written in Cython
License: BSD
URL: http://berkeleyanalytics.com/bottleneck
URL: https://pypi.org/project/Bottleneck/
Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
BuildRequires: gcc
%description
%{name} is a collection of fast NumPy array functions
written in Cython.
@@ -23,39 +25,21 @@ BuildArch: noarch
This package contains the HTML-docs for %{name}.
%package -n python2-%{upname}
Summary: Collection of fast NumPy array functions written in Cython
BuildRequires: numpy
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRequires: python-sphinx
BuildRequires: python2-devel
BuildRequires: scipy
Requires: numpy%{?_isa}
Requires: scipy%{?_isa}
%{?python_provide:%python_provide python2-%{upname}}
%description -n python2-%{upname}
python2-%{upname} is a collection of fast NumPy array functions
written in Cython.
%package -n python3-%{upname}
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
BuildRequires: python3-setuptools
BuildRequires: python3-sphinx
Requires: python3-numpy%{?_isa}
Requires: python3-scipy%{?_isa}
%{?python_provide:%python_provide python2-%{upname}}
%{?python_provide:%python_provide python3-%{upname}}
%description -n python3-%{upname}
python3-%{upname} is a collection of fast NumPy array functions
@@ -64,69 +48,110 @@ 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*
# 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
%py2_build
%py3_build
%install
%py2_install
%py3_install
# clean unneeded stuff
%{__rm} -rf %{buildroot}%{python2_sitearch}/bottleneck/src \
%{buildroot}%{python2_sitearch}/bottleneck/LICENSE \
%{buildroot}%{python3_sitearch}/bottleneck/src \
rm -rf %{buildroot}%{python3_sitearch}/bottleneck/src \
%{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/%{python2_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/%{python2_sitearch}
%{_bindir}/nosetests-%{python2_version} -vv
pushd %{buildroot}%{python3_sitearch}
pytest-%{python3_version} bottleneck -v
popd
pushd tmp_inst/%{python3_sitearch}
%{_bindir}/nosetests-%{python3_version} -vv
popd
rm -rf %{buildroot}%{python3_sitearch}/.pytest_cache
%files doc
%license bottleneck/LICENSE
%license LICENSE
%doc README* RELEASE* doc/html
%files -n python2-%{upname}
%license bottleneck/LICENSE
%doc README* RELEASE*
%{python2_sitearch}/bottleneck
%{python2_sitearch}/%{upname}-%{version}-py%{python2_version}.egg-info
%files -n python3-%{upname}
%license bottleneck/LICENSE
%license LICENSE
%doc README* RELEASE*
%{python3_sitearch}/bottleneck
%{python3_sitearch}/%{upname}-%{version}-py%{python3_version}.egg-info
%changelog
* 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

View File

@@ -1 +1 @@
SHA512 (Bottleneck-1.2.1.tar.gz) = c766999cd1501b9f1dee0177b631ece12824d1f95c33077705f6387c911df583c3556ea22b208e455567f75e6e12e29b95855a6aea316bd1d6113bf47a04cf5a
SHA512 (Bottleneck-1.3.2.tar.gz) = 78f1a42c9429783c08de22e3c1815e8e8267a633323b7fd520b120ff21a31f9489717a1ca45b81d0b808aa48d0f17fd08b8018be48d8f78bea5f1fbd17d762d1