SHA256
1
0
forked from pool/python-blosc

Accepting request 489487 from devel:languages:python

Update to version 1.5.1
Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/489487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blosc?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2017-04-28 08:43:25 +00:00 committed by Git OBS Bridge
parent 14f270c7eb
commit dde0ad26a6
4 changed files with 99 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc8996733de73d70cc2482f98972a38a908ca7286d30429fe828390b1bb010c3
size 259299

3
blosc-1.5.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c16d39ea7baa5b4f726e1bb06869356c5f8564988e85585a23e0c920d0ba9b2
size 641172

View File

@ -1,3 +1,82 @@
-------------------------------------------------------------------
Wed Apr 19 22:13:57 UTC 2017 - toddrme2178@gmail.com
- Source url must be https.
-------------------------------------------------------------------
Wed Apr 19 18:43:04 UTC 2017 - toddrme2178@gmail.com
- Update to version 1.5.1
* License updated from MIT to BSD.
* Updated to C-Blosc 1.11.3.
- Update to version 1.5.0
* Added a new `blosc.set_releasegil()` function that allows to
release/acquire the GIL at will. See PR #116.
Thanks to Robert McLeod.
* Updated to C-Blosc 1.11.2.
* Added tests that detect possible memory leaks.
Thanks to Robert McLeod.
- Update to version 1.4.4
* Updated to C-Blosc 1.11.1. Fixes #115.
- Update to version 1.4.3
* Internal C-Blosc sources updated to 1.11.0. Among other things, this
updates the internal Zstd codec to version 1.0.0 (i.e. it is
officially apt for production usage!).
- Update to version 1.4.1
* Internal C-Blosc sources updated to 1.10.1. This fixes an outstanding issue
with the clang compiler. For details, see:
https://github.com/Blosc/bloscpack/issues/50.
- Update to version 1.4.0
* Internal C-Blosc sources updated to 1.10.0.
* Benchmarks updated for a Skylake processor (Xeon E3-1245 v5 @
3.50GHz).
- Update to version 1.3.3
* Internal C-Blosc sources updated to 1.9.3.
* C-Blosc do not segfaults anymore, so -O1 flag on Linux is not the
default anymore.
* SSE2 and AVX2 are now auto-discovered so the internal C-Blosc will be
compiled with maximum optimization on processors supporting them.
- Update to version 1.3.2
* Fixed the version of the include C-Blosc library (should be 1.8.1 not
1.8.2.dev).
- Update to version 1.3.1
* Use the -O1 flag for compiling the included C-Blosc sources on Linux.
This represents slower performance, but fixes the nasty issue #110.
Also, it prints a warning for using an external C-Blosc library.
* Internal C-Blosc version bumped to 1.8.1 for better compatibility
with gcc 5.3.1 in forthcoming Ubuntu Xenial.
* Added a protection to avoid using BITSHUFLE with C-Blosc < 1.8.0.
* Restored old symbols for backward compatibility with pre 1.3.0:
BLOSC_VERSION_STRING
BLOSC_VERSION_DATE
BLOSC_MAX_BUFFERSIZE
BLOSC_MAX_THREADS
BLOSC_MAX_TYPESIZE
However, these are considered deprecated and should be replaced by
libraries using python-blosc by the ones without the BLOSC_ prefix.
- Update to version 1.3.0
* Internal C-Blosc version bumped to 1.8.0. As consequence, support for
BITSHUFFLE is here. For activating it, just pass `blosc.BITSHUFFLE`
to the `shuffle` parameter of compression functions.
* Added a new `as_bytearray=False` parameter to the `decompress()` function
so that a mutable bytearray will be returned instead of a bytes one
(inmutable). PR #107. Thanks to Joe Jevnik.
* The '__all__' variable has been removed from the module. I consider
this good practice to avoid things like "from blosc import *".
* For consistency, the next symbols have been renamed:
BLOSC_VERSION_STRING -> VERSION_STRING,
BLOSC_VERSION_DATE -> VERSION_DATE,
BLOSC_MAX_BUFFERSIZE -> MAX_BUFFERSIZE,
BLOSC_MAX_THREADS -> MAX_THREADS,
BLOSC_MAX_TYPESIZE -> MAX_TYPESIZE,
* The `typesize` parameter is set by default to 8 in compression
functions. This usually behaves well for 4-bytes typesizes too.
Nevertheless, it is advised to use the actual typesize.
* The maximum number of threads to use by default is set to 4 (less if
less cores are detected). Feel free to use more or less threads
depending on the resources you want to use for compression.
- Implement single-spec version.
-------------------------------------------------------------------
Thu Mar 10 19:48:59 UTC 2016 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-blosc
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,25 +16,27 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-blosc
Version: 1.2.8
Version: 1.5.1
Release: 0
Summary: Blosc data compressor for Python
License: MIT
Group: Development/Languages/Python
Url: http://www.blosc.org/
Source: http://pypi.python.org/packages/source/b/blosc/blosc-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/b/blosc/blosc-%{version}.tar.gz
BuildRequires: blosc-devel
BuildRequires: gcc-c++
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-numpy-devel
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module numpy-devel}
Requires: blosc-devel
Requires: python-numpy
ExclusiveArch: %ix86 x86_64
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%python_subpackages
%description
Blosc is a high performance compressor optimized for binary data in
@ -44,12 +46,15 @@ Python.
%setup -q -n blosc-%{version}
%build
CFLAGS="%{optflags}" python setup.py build_ext --inplace --blosc=%{_prefix}
export CFLAGS="%{optflags}"
%python_exec setup.py build_ext --inplace --blosc=%{_prefix}
%install
python setup.py install --blosc=%{_prefix} --prefix=%{_prefix} --root=%{buildroot}
%python_install --blosc=%{_prefix}
# %python_exec setup.py install --blosc=%{_prefix} --prefix=%{_prefix} --root=%{buildroot}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc ANNOUNCE.rst README.rst LICENSES/*.txt RELEASE_NOTES.rst
%{python_sitearch}/blosc-%{version}-py*.egg-info