Accepting request 179909 from devel:languages:python

housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=33
This commit is contained in:
Stephan Kulow 2013-06-19 14:40:58 +00:00 committed by Git OBS Bridge
parent 93784b1b28
commit 1f403f5bf5
2 changed files with 0 additions and 224 deletions

View File

@ -1,104 +0,0 @@
-------------------------------------------------------------------
Fri May 3 22:27:24 UTC 2013 - toddrme2178@gmail.com
- Update to 1.7.1
* Bugfixes
-------------------------------------------------------------------
Fri Apr 5 13:20:17 UTC 2013 - idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Tue Feb 19 06:21:35 UTC 2013 - highwaystar.ru@gmail.com
- update to 1.7.0
* This release includes several new features as well as numerous
bug fixes and refactorings
Highlights:
- ``where=`` parameter to ufuncs (allows the use of boolean
arrays to choose where a computation should be done)
- ``vectorize`` improvements (added 'excluded' and 'cache'
keyword, general cleanup and bug fixes)
- ``numpy.random.choice`` (random sample generating function)
New Features:
- Reduction UFuncs Generalize axis= Parameter
- Reduction UFuncs New keepdims= Parameter
- Datetime support
- Custom formatter for printing arrays
- New function numpy.random.choice
- New function isclose
- Preliminary multi-dimensional support in the polynomial package
- Ability to pad rank-n arrays
- New argument to searchsorted
- Added experimental support for the AArch64 architecture.
* For additional details check release notes at
http://sourceforge.net/projects/numpy/files/NumPy/1.7.0/
- numpy-fd15162.patch and numpy-python33.patch removed, because
now is is in upstream
-------------------------------------------------------------------
Wed Dec 12 02:25:57 UTC 2012 - highwaystar.ru@gmail.com
- regenerate mtrand.c with cython, needed for python3.3 compatibility
-------------------------------------------------------------------
Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com
- Removed openSUSE 11.4 spec file workarounds
-------------------------------------------------------------------
Wed Nov 21 09:31:44 UTC 2012 - idonmez@suse.com
- Add numpy-fd15162.patch which should fix python3-scipy
See https://github.com/numpy/numpy/commit/fd15162fbff5dd68c548284947d39bb2a2481183
-------------------------------------------------------------------
Tue Nov 13 12:23:18 UTC 2012 - idonmez@suse.com
- Add numpy-python33.patch to fix compilation with Python 3.3
-------------------------------------------------------------------
Fri Aug 17 08:20:36 UTC 2012 - toddrme2178@gmail.com
- Disable atlas buildrequires until the problems with atlas are
worked out
-------------------------------------------------------------------
Mon Jun 4 15:30:34 UTC 2012 - toddrme2178@gmail.com
- Add libatlas2 buildrequires
-------------------------------------------------------------------
Fri Jun 1 12:08:16 UTC 2012 - toddrme2178@gmail.com
- Remove blas/lapack tests since these build successfully on all
targets now
- Add documentation packages
These are separate packages because a lot of packages depend on
numpy, so building the documentation inside the base spec file
would slow down the build process for the entire project
-------------------------------------------------------------------
Mon May 21 08:03:11 UTC 2012 - toddrme2178@gmail.com
- Update to version 1.6.2:
* bugfixes
-------------------------------------------------------------------
Fri May 18 08:46:22 UTC 2012 - toddrme2178@gmail.com
- Fix rpmlint warnings
-------------------------------------------------------------------
Mon Apr 30 15:17:34 UTC 2012 - toddrme2178@gmail.com
- Removed tests for unsupported openSUSE versions
-------------------------------------------------------------------
Mon Apr 23 16:25:57 UTC 2012 - toddrme2178@gmail.com
- Add python 3 package
- devel package BuildRequires -> Requires

View File

@ -1,120 +0,0 @@
#
# spec file for package python3-numpy
#
# Copyright (c) 2013 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/
#
%define modname numpy
Name: python3-%{modname}
Version: 1.7.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: http://sourceforge.net/projects/numpy/files/NumPy/%{version}/%{modname}-%{version}.tar.gz
Patch1: numpy-buildfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: blas-devel
BuildRequires: lapack-devel
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
# Cython needed for mtrand.c regenerating (python3.3)
BuildRequires: python3-Cython
# FIXME: atlas is horribly broken
# %if 0%{?suse_version} <= 1210
# BuildRequires: libatlas3-devel
# %endif
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: gcc-fortran
%else
BuildRequires: gcc-gfortran
%endif
Requires: python(abi) = %{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 %{modname} applications
Group: Development/Libraries/Python
Requires: %{name} = %{version}
Requires: python3 >= %{py3_ver}
Requires: python3-devel >= %{py3_ver}
Requires: python(abi) >= %{py3_ver}
%if 0%{?suse_version} > 1130
Requires: blas-devel
Requires: lapack-devel
%else
Requires: blas
Requires: lapack
%endif
%if 0%{?suse_version}
Requires: gcc-fortran
%else
Requires: gcc-gfortran
%endif
%description devel
This package contains files for developing applications using %{modname}.
%prep
%setup -q -n %{modname}-%{version}
%patch1
sed -i "1d" %{modname}/{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}/%{modname}/{,core,distutils,f2py,fft,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite
%if 0%{?suse_version}
%fdupes -s %{buildroot}%{_prefix}
%endif
%files
%defattr(-,root,root)
%doc *.txt
%{_bindir}/f2py3
%{python3_sitearch}/%{modname}/
%{python3_sitearch}/%{modname}-%{version}-py%{py3_ver}.egg-info
%exclude %{python3_sitearch}/%{modname}/*/*/*.c
%exclude %{python3_sitearch}/%{modname}/*/*.h
%exclude %{python3_sitearch}/%{modname}/*/*/*.h
%exclude %{python3_sitearch}/%{modname}/*/*/*/*.h
%exclude %{python3_sitearch}/%{modname}/core/lib/libnpymath.a
%files devel
%defattr(-,root,root)
%{python3_sitearch}/%{modname}/*/*/*.c
%{python3_sitearch}/%{modname}/*/*.h
%{python3_sitearch}/%{modname}/*/*/*.h
%{python3_sitearch}/%{modname}/*/*/*/*.h
%{python3_sitearch}/%{modname}/core/lib/libnpymath.a
%changelog