Accepting request 141145 from devel:languages:python

- Add numpy-python33.patch to fix compilation with Python 3.3

OBS-URL: https://build.opensuse.org/request/show/141145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=24
This commit is contained in:
Stephan Kulow
2012-11-14 08:16:14 +00:00
committed by Git OBS Bridge
parent 11254d45a3
commit 877f911204
5 changed files with 95 additions and 13 deletions

View File

@@ -15,12 +15,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define modname numpy
Name: python-%{modname}-doc
%define docname numpydoc
Version: 1.6.2
%define docvers 0.4
Release: 0
%define docvers 0.4
Url: http://sourceforge.net/projects/numpy
Summary: Documentation for python-numpy
License: BSD-3-Clause
@@ -28,19 +29,19 @@ Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.gz
Patch1: numpy-buildfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-Sphinx
BuildRequires: python-matplotlib
BuildRequires: python-numpy-devel
BuildRequires: blas-devel
BuildRequires: lapack-devel
BuildRequires: python-Sphinx
BuildRequires: python-devel
BuildRequires: python-matplotlib
BuildRequires: python-numpy-devel
BuildRequires: texlive-latex
BuildRequires: zip
Provides: python-numpydoc = %{version}
Obsoletes: python-numpydoc < %{version}
%if 0%{?suse_version}
BuildRequires: gcc-fortran
BuildRequires: fdupes
BuildRequires: gcc-fortran
%if 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%else