16 Commits

Author SHA1 Message Date
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
Peter Robinson
b4b3a75d63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 20:46:57 +00:00
Dennis Gilmore
46a4f9c239 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 13:20:54 -05:00
Kalev Lember
43fe709440 Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 2014-05-27 23:57:05 +02:00
Björn Esser
8c1528b56e Initial import (#999563) 2013-08-22 16:01:02 +02:00
3 changed files with 182 additions and 0 deletions

4
.gitignore vendored
View File

@@ -0,0 +1,4 @@
*~
*.rpm
*.tar*
results_*/

177
python-Bottleneck.spec Normal file
View File

@@ -0,0 +1,177 @@
%global upname Bottleneck
Name: python-%{upname}
Version: 1.2.1
Release: 4%{?dist}
Summary: Collection of fast NumPy array functions written in Cython
License: BSD
URL: http://berkeleyanalytics.com/bottleneck
Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
%description
%{name} is a collection of fast NumPy array functions
written in Cython.
%package doc
Summary: Documentation files for %{name}
BuildArch: noarch
%description doc
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-numpy
BuildRequires: python3-scipy
BuildRequires: python3-setuptools
Requires: python3-numpy%{?_isa}
Requires: python3-scipy%{?_isa}
%{?python_provide:%python_provide python2-%{upname}}
%description -n python3-%{upname}
python3-%{upname} is a collection of fast NumPy array functions
written in Cython.
%prep
%autosetup -n %{upname}-%{version} -p 1
%{__rm} -fr .egg* *.egg*
%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 \
%{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
# Clean unneeded stuff from docs.
%{__rm} -rf doc/html/{.buildinfo,.doctrees}
%check
pushd tmp_inst/%{python2_sitearch}
%{_bindir}/nosetests-%{python2_version} -vv
popd
pushd tmp_inst/%{python3_sitearch}
%{_bindir}/nosetests-%{python3_version} -vv
popd
%files doc
%license bottleneck/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
%doc README* RELEASE*
%{python3_sitearch}/bottleneck
%{python3_sitearch}/%{upname}-%{version}-py%{python3_version}.egg-info
%changelog
* 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
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
* Wed Aug 21 2013 Björn Esser <bjoern.esser@gmail.com> - 0.6.0-1
- Initial rpm release (#999563)

View File

@@ -0,0 +1 @@
SHA512 (Bottleneck-1.2.1.tar.gz) = c766999cd1501b9f1dee0177b631ece12824d1f95c33077705f6387c911df583c3556ea22b208e455567f75e6e12e29b95855a6aea316bd1d6113bf47a04cf5a