Hello community,

here is the log from the commit of package python-numpy for openSUSE:Factory 
checked in at 2012-05-07 22:50:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-numpy (Old)
 and      /work/SRC/openSUSE:Factory/.python-numpy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-numpy", Maintainer is "jmate...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-numpy/python-numpy.changes        
2012-04-17 22:01:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-numpy.new/python-numpy.changes   
2012-05-07 22:50:19.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 23 16:25:57 UTC 2012 - toddrme2...@gmail.com
+
+- Add python 3 package
+- devel package BuildRequires -> Requires
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ /work/SRC/openSUSE:Factory/.python-numpy.new/python3-numpy.changes  
2012-05-07 22:50:19.000000000 +0200
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------
+Mon Apr 30 15:17:34 UTC 2012 - toddrme2...@gmail.com
+
+- Removed tests for unsupported openSUSE versions
+
+-------------------------------------------------------------------
+Mon Apr 23 16:25:57 UTC 2012 - toddrme2...@gmail.com
+
+- Add python 3 package
+- devel package BuildRequires -> Requires
+

New:
----
  python3-numpy.changes
  python3-numpy.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-numpy.spec ++++++
--- /var/tmp/diff_new_pack.TcQFoo/_old  2012-05-07 22:50:23.000000000 +0200
+++ /var/tmp/diff_new_pack.TcQFoo/_new  2012-05-07 22:50:23.000000000 +0200
@@ -77,7 +77,7 @@
 %if 0%{?suse_version}
 Requires:       gcc-fortran
 %else
-BuildRequires:  gcc-gfortran
+Requires:  gcc-gfortran
 %endif
 
 %description devel

++++++ python3-numpy.spec ++++++
#
# spec file for package python3-numpy
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           python3-numpy
Version:        1.6.1
Release:        0
Url:            http://sourceforge.net/projects/numpy
Summary:        NumPy array processing for numbers, strings, records and objects
License:        BSD-3-Clause
Group:          Development/Libraries/Python
Source:         numpy-%{version}.tar.gz
Patch1:         numpy-buildfix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3
BuildRequires:  python3-2to3
BuildRequires:  python3-devel
BuildRequires:  blas-devel
BuildRequires:  lapack-devel
%if 0%{?suse_version} <= 1140
%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
%if 0%{?suse_version}
BuildRequires:  gcc-fortran
BuildRequires:  fdupes
%else
BuildRequires:  gcc-gfortran
%endif
Requires:       python3 >= %{py3_ver}

%description
NumPy is a general-purpose array-processing package designed to
efficiently manipulate large multi-dimensional arrays of arbitrary
records without sacrificing too much speed for small multi-dimensional
arrays.  NumPy is built on the Numeric code base and adds features
introduced by numarray as well as an extended C-API and the ability to
create arrays of arbitrary type which also makes NumPy suitable for
interfacing with general-purpose data-base applications.

There are also basic facilities for discrete fourier transform,
basic linear algebra and random number generation.

%package devel
Summary:        Development files for numpy applications
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}
%if 0%{?suse_version} > 1130
Requires:       blas-devel
Requires:       lapack-devel
%else
Requires:       blas
Requires:       lapack
%endif
Requires:       python3 >= %{py3_ver}
Requires:       python3-devel >= %{py3_ver}
%if 0%{?suse_version}
Requires:       gcc-fortran
%else
Requires:  gcc-gfortran
%endif

%description devel
This package contains files for developing applications using numpy.

%prep
%setup -q -n numpy-%{version}
%patch1 -p0
sed -i "1d" 
numpy/{compat/setup{,scons},distutils/{conv_template,cpuinfo,exec_command,from_template,setup,setupscons,system_info},f2py/{auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,docs/usersguide/setup_example,f2py2e,f90mod_rules,func2subr,__init__,rules,setup,setupscons,use_rules},ma/setup{,scons},matrixlib/setup{,scons},setup,setupscons,testing/print_coercion_tables,testing/setup{,scons}}.py
 # Fix non-executable scripts

%build
CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build

%install
python3 setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
rm -rf 
%{buildroot}%{python3_sitearch}/numpy/{,core,distutils,f2py,fft,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests
 # Don't package testsuite
mv %{buildroot}%{_bindir}/f2py3 %{buildroot}%{_bindir}/f2py3-python3
%if 0%{?suse_version}
%fdupes -s %{buildroot}%{_prefix}
%endif

%files
%defattr(-,root,root)
%doc *.txt
%{_bindir}/f2py3-python3
%{python3_sitearch}/*
%exclude %{python3_sitearch}/numpy/*/*/*.c
%exclude %{python3_sitearch}/numpy/*/*.h
%exclude %{python3_sitearch}/numpy/*/*/*.h
%exclude %{python3_sitearch}/numpy/*/*/*/*.h
%exclude %{python3_sitearch}/numpy/core/lib/libnpymath.a

%files devel
%defattr(-,root,root)
%{python3_sitearch}/numpy/*/*/*.c
%{python3_sitearch}/numpy/*/*.h
%{python3_sitearch}/numpy/*/*/*.h
%{python3_sitearch}/numpy/*/*/*/*.h
%{python3_sitearch}/numpy/core/lib/libnpymath.a

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to