This commit is contained in:
commit
a0a8503e2f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
numpy-1.2.1.tar.bz2
Normal file
3
numpy-1.2.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0dfd16e49fb6a6c2852745fdb45bd48b1cbc4119e02cd4f5bb3c51e7d4591de0
|
||||||
|
size 1190832
|
11
numpy-buildfix.patch
Normal file
11
numpy-buildfix.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- numpy/distutils/command/install.py
|
||||||
|
+++ numpy/distutils/command/install.py
|
||||||
|
@@ -58,7 +58,7 @@
|
||||||
|
need_rewrite = False
|
||||||
|
for l in f.readlines():
|
||||||
|
l = l.rstrip()
|
||||||
|
- if ' ' in l:
|
||||||
|
+ if ' ' in l and '%dir ' not in l:
|
||||||
|
need_rewrite = True
|
||||||
|
l = '"%s"' % (l)
|
||||||
|
lines.append(l)
|
50
python-numpy.changes
Normal file
50
python-numpy.changes
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 11 01:31:36 CET 2009 - ro@suse.de
|
||||||
|
|
||||||
|
- fix filelist by using "--record-rpm" instead of "--record"
|
||||||
|
(and do not quote lines starting with "%dir ")
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 4 17:10:04 CET 2009 - matejcik@suse.cz
|
||||||
|
|
||||||
|
- package taken directly from devel:languages:python repository,
|
||||||
|
original changelog follows:
|
||||||
|
|
||||||
|
* Tue Dec 02 2008 - James Oakley <jfunk@funktronics.ca> - 1.2.1-1
|
||||||
|
- Update to 1.2.1
|
||||||
|
|
||||||
|
* Mon Aug 11 2008 - James Oakley <jfunk@funktronics.ca> - 1.1.1-1
|
||||||
|
- Update to 1.1.1:
|
||||||
|
- Python 2.3.x fixes
|
||||||
|
* Robert Kern -- remove development branch of f2py.
|
||||||
|
* Pierre GM -- masked array, fix dictionary update.
|
||||||
|
* Pierre GM -- masked array, fix itertools groupby dependency.
|
||||||
|
* Pierre GM -- masked array, fix use of iterators.
|
||||||
|
* Neil Muller -- fix test dependency on pretty print (#828).
|
||||||
|
- General improvements
|
||||||
|
* David Cournapeau -- scons build fixes/improvements.
|
||||||
|
* Stefan van der Walt -- Howto document updates.
|
||||||
|
* Fernando Perez -- cython updates.
|
||||||
|
* Robert Kern -- PyPI metadata fixes.
|
||||||
|
- Bug fixes
|
||||||
|
* #791 -- Travis Oliphant, std/var not properly calling array_finalize.
|
||||||
|
* #798 -- Stefan van der Walt, piecewise exposes raw memory.
|
||||||
|
* #810 -- David Huard, Verbose argument not effective for ndarrays in assert_equal.
|
||||||
|
* #828 -- Neil Muller, numpy file format format test failures on Solaris.
|
||||||
|
* #825 -- Neil Muller/Charles Harris, SIGBUS in UNICODE_getattr on Sparc Linux.
|
||||||
|
* #837 -- Pauli Virtanen, Infinite loop in fromfile & fromstring
|
||||||
|
* #841 -- Charles Harris, make numpy complex types print like Python.
|
||||||
|
* #843 -- Michael Abbott, reference count error in PyArray_CanCoerceScalar
|
||||||
|
* #844 -- David Cournapeau, failure with numpy inner.
|
||||||
|
* #848 -- Michael Abbott/Charles Harris/Travis Oliphant, reference leak.
|
||||||
|
* #849 -- Michael Abbott, reference to deallocated object.
|
||||||
|
* #850 -- Michael Abbott, memory leak.
|
||||||
|
* #854 -- Pauli Virtanen, Non-standard branch cuts (arccosh).
|
||||||
|
* #857 -- Pierre GM, dividing masked array with newaxis fails.
|
||||||
|
* ------- David Cournapeau, ctypes load_library fix.
|
||||||
|
* ------- Ryan May, Stefan van der Walt, fix loadtxt.
|
||||||
|
* ------- Robert Kern, make numeric.py functions return booleans.
|
||||||
|
* ------- Robert Kern, correct old numeric typecodes.
|
||||||
|
* ------- Robert Kern, fix raising exception in tests.
|
||||||
|
* ------- Robert Kern, make sure Zipf results are in allowable range.
|
||||||
|
* ------- Robert Kern, fix c++ style comment.
|
122
python-numpy.spec
Normal file
122
python-numpy.spec
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-numpy (Version 1.2.1)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2009 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: python-numpy
|
||||||
|
Url: http://numpy.scipy.org/
|
||||||
|
Summary: Array processing for numbers, strings, records and objects
|
||||||
|
Version: 1.2.1
|
||||||
|
Release: 3
|
||||||
|
License: BSD 3-Clause
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Source: %{modname}-%{version}.tar.bz2
|
||||||
|
Patch0: numpy-buildfix.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{py_requires}
|
||||||
|
BuildRequires: python-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
The fundamental package needed for scientific computing with Python is
|
||||||
|
called NumPy. This package contains:
|
||||||
|
|
||||||
|
* a powerful N-dimensional array object
|
||||||
|
|
||||||
|
* sophisticated (broadcasting) functions
|
||||||
|
|
||||||
|
* basic linear algebra functions
|
||||||
|
|
||||||
|
* basic Fourier transforms
|
||||||
|
|
||||||
|
* sophisticated random number capabilities
|
||||||
|
|
||||||
|
* tools for integrating Fortran code.
|
||||||
|
|
||||||
|
Authors: Todd Miller <jmiller@stsci.edu> Perry Greenfield
|
||||||
|
<perry@stsci.edu>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Todd Miller <jmiller@stsci.edu>
|
||||||
|
Perry Greenfield <perry@stsci.edu>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{modname}-%{version}
|
||||||
|
%patch0
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
python setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT"
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files -f INSTALLED_FILES
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COMPATIBILITY LICENSE.txt README.txt THANKS.txt DEV_README.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Feb 11 2009 ro@suse.de
|
||||||
|
- fix filelist by using "--record-rpm" instead of "--record"
|
||||||
|
(and do not quote lines starting with "%%dir ")
|
||||||
|
* Wed Feb 04 2009 matejcik@suse.cz
|
||||||
|
- package taken directly from devel:languages:python repository,
|
||||||
|
original changelog follows:
|
||||||
|
* Tue Dec 02 2008 - James Oakley <jfunk@funktronics.ca> - 1.2.1-1
|
||||||
|
- Update to 1.2.1
|
||||||
|
* Mon Aug 11 2008 - James Oakley <jfunk@funktronics.ca> - 1.1.1-1
|
||||||
|
- Update to 1.1.1:
|
||||||
|
- Python 2.3.x fixes
|
||||||
|
* Robert Kern -- remove development branch of f2py.
|
||||||
|
* Pierre GM -- masked array, fix dictionary update.
|
||||||
|
* Pierre GM -- masked array, fix itertools groupby dependency.
|
||||||
|
* Pierre GM -- masked array, fix use of iterators.
|
||||||
|
* Neil Muller -- fix test dependency on pretty print (#828).
|
||||||
|
- General improvements
|
||||||
|
* David Cournapeau -- scons build fixes/improvements.
|
||||||
|
* Stefan van der Walt -- Howto document updates.
|
||||||
|
* Fernando Perez -- cython updates.
|
||||||
|
* Robert Kern -- PyPI metadata fixes.
|
||||||
|
- Bug fixes
|
||||||
|
* #791 -- Travis Oliphant, std/var not properly calling array_finalize.
|
||||||
|
* #798 -- Stefan van der Walt, piecewise exposes raw memory.
|
||||||
|
* #810 -- David Huard, Verbose argument not effective for ndarrays in assert_equal.
|
||||||
|
* #828 -- Neil Muller, numpy file format format test failures on Solaris.
|
||||||
|
* #825 -- Neil Muller/Charles Harris, SIGBUS in UNICODE_getattr on Sparc Linux.
|
||||||
|
* #837 -- Pauli Virtanen, Infinite loop in fromfile & fromstring
|
||||||
|
* #841 -- Charles Harris, make numpy complex types print like Python.
|
||||||
|
* #843 -- Michael Abbott, reference count error in PyArray_CanCoerceScalar
|
||||||
|
* #844 -- David Cournapeau, failure with numpy inner.
|
||||||
|
* #848 -- Michael Abbott/Charles Harris/Travis Oliphant, reference leak.
|
||||||
|
* #849 -- Michael Abbott, reference to deallocated object.
|
||||||
|
* #850 -- Michael Abbott, memory leak.
|
||||||
|
* #854 -- Pauli Virtanen, Non-standard branch cuts (arccosh).
|
||||||
|
* #857 -- Pierre GM, dividing masked array with newaxis fails.
|
||||||
|
* ------- David Cournapeau, ctypes load_library fix.
|
||||||
|
* ------- Ryan May, Stefan van der Walt, fix loadtxt.
|
||||||
|
* ------- Robert Kern, make numeric.py functions return booleans.
|
||||||
|
* ------- Robert Kern, correct old numeric typecodes.
|
||||||
|
* ------- Robert Kern, fix raising exception in tests.
|
||||||
|
* ------- Robert Kern, make sure Zipf results are in allowable range.
|
||||||
|
* ------- Robert Kern, fix c++ style comment.
|
Loading…
Reference in New Issue
Block a user