commit 61fdbea33670858ff1bc9caef5956a4661bc226f98a52064fe7122886ea8d7c2 Author: Stephan Kulow Date: Thu Jul 17 15:31:33 2014 +0000 Accepting request 241240 from devel:languages:python I intend to submit python-pandas to openSUSE:Factory. python-pandas is a tool that makes it easy to do complex data import, export, and manipulation. It has become one of the critical tools for data analysis in python, like python-numpy, python-scipy, python-matplotlib, and IPython (all of which are in openSUSE:Factory). This is a dependency of python-pandas. OBS-URL: https://build.opensuse.org/request/show/241240 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Bottleneck?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Bottleneck-0.8.0.tar.gz b/Bottleneck-0.8.0.tar.gz new file mode 100644 index 0000000..765040e --- /dev/null +++ b/Bottleneck-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0a980510239f685ebaf4dbc8c9f0e55ac964312e0d11c551208c250d22cc64b +size 1634340 diff --git a/python-Bottleneck.changes b/python-Bottleneck.changes new file mode 100644 index 0000000..9f2555f --- /dev/null +++ b/python-Bottleneck.changes @@ -0,0 +1,56 @@ +------------------------------------------------------------------- +Thu May 8 10:58:17 UTC 2014 - toddrme2178@gmail.com + +- Update to version 0.8.0 + - This version of Bottleneck requires NumPy 1.8 + - nanargmin and nanargmax behave like the corresponding functions in NumPy 1.8 + - nanargmax/nanargmin wrong for redundant max/min values in 1d int arrays + +------------------------------------------------------------------- +Tue Oct 22 12:07:46 UTC 2013 - toddrme2178@gmail.com + +- Update to version 0.7.0 + + bn.rankdata() is twice as fast (with input a = np.random.rand(1000000)) + + C files now included in github repo; cython not needed to try latest + + C files are now generated with Cython 0.19.1 instead of 0.16 + + Test bottleneck across multiple python/numpy versions using tox + + Source tarball size cut in half + +------------------------------------------------------------------- +Fri Jun 22 13:11:43 UTC 2012 - saschpe@suse.de + +- %py_requires is only needed for SLE_11_SP2 (and older), newer Python + package releases generate the RPM requires for the Python ABI automatically + +------------------------------------------------------------------- +Fri Jun 22 12:25:12 UTC 2012 - saschpe@suse.de + +- Update to version 0.6.0: + + replace(arr, old, new), e.g, replace(arr, np.nan, 0) + + nn(arr, arr0, axis) nearest neighbor and its index of 1d arr0 in 2d arr + + anynan(arr, axis) faster alternative to np.isnan(arr).any(axis) + + allnan(arr, axis) faster alternative to np.isnan(arr).all(axis) + + Python 3.2 support (may work on earlier verions of Python 3) + + C files are now generated with Cython 0.16 instead of 0.14.1 + + Upgrade numpydoc from 0.3.1 to 0.4 to support Sphinx 1.0.1 + + Support for Python 2.5 dropped + + Default axis for benchmark suite is now axis=1 (was 0) + + #31 Confusing error message in partsort and argpartsort + + #32 Update path in MANIFEST.in + + #35 Wrong output for very large (2**31) input arrays + +------------------------------------------------------------------- +Fri Jun 1 09:05:36 UTC 2012 - toddrme2178@gmail.com + +- spec file cleanups +- fix license tag + +------------------------------------------------------------------- +Mon Feb 27 21:55:40 UTC 2012 - scorot@free.fr + +- version 0.5.0 + +------------------------------------------------------------------- +Fri Jan 22 00:00:00 UTC 2011 - scorot@gtt.fr + +- Initial release diff --git a/python-Bottleneck.spec b/python-Bottleneck.spec new file mode 100644 index 0000000..a7747c6 --- /dev/null +++ b/python-Bottleneck.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-Bottleneck +# +# Copyright (c) 2014 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 Bottleneck +Name: python-%{modname} +Version: 0.8.0 +Release: 0 +Summary: A collection of fast NumPy array functions +License: BSD-2-Clause and BSD-3-Clause +Group: Development/Libraries/Python +Url: http://berkeleyanalytics.com/bottleneck/ +Source0: http://pypi.python.org/packages/source/B/Bottleneck/%{modname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildRequires: python-numpy-devel >= 1.8 +BuildRequires: python-setuptools +Requires: python-numpy >= 1.8 +%if 0%{?suse_version} <= 1110 +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%{py_requires} +%endif + +%description +Bottleneck is a collection of fast NumPy array functions written in Cython. + +%prep +%setup -q -n %{modname}-%{version} + +%build +CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root) +%doc README.rst RELEASE.rst LICENSE +%{python_sitearch}/bottleneck/ +%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info + +%changelog