Accepting request 304138 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/304138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blosc?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2015-04-27 11:05:35 +00:00 committed by Git OBS Bridge
parent dffc7d906c
commit 47043532a1
5 changed files with 18 additions and 28 deletions

View File

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

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

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Apr 26 14:22:04 UTC 2015 - benoit.monin@gmx.fr
- update to version 1.2.5:
* Updated to c-blosc v1.5.4.
* Added wrapper for the expert function ``set_blocksize``.
(#72 @esc)
* Fix setup.py to allow compilation on posix architectures
without SSE2. (#70 @andreas-schwab)
* Don't release the GIL on compression/decompression (#77 @esc)
* Various miscellaneous fixes.
- drop setup.patch: fixed upstream
-------------------------------------------------------------------
Wed Aug 6 15:16:57 UTC 2014 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-blosc
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -18,14 +18,13 @@
%define modname blosc
Name: python-blosc
Version: 1.2.4
Version: 1.2.5
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
Patch: setup.patch
BuildRequires: blosc-devel
BuildRequires: gcc-c++
BuildRequires: python-devel
@ -41,7 +40,6 @@ Python.
%prep
%setup -q -n blosc-%{version}
%patch -p1
%build
CFLAGS="%{optflags}" python setup.py build_ext --inplace --blosc=%{_prefix}

View File

@ -1,21 +0,0 @@
Index: blosc-1.2.4/setup.py
===================================================================
--- blosc-1.2.4.orig/setup.py
+++ blosc-1.2.4/setup.py
@@ -8,6 +8,7 @@
########################################################################
import sys, os
+import re, platform
from distutils.core import Extension
from distutils.core import setup
@@ -57,7 +58,7 @@ for arg in args:
sys.argv.remove(arg)
# Add -msse2 flag for optimizing shuffle in Blosc
-if os.name == 'posix':
+if os.name == 'posix' and re.match("i.86", platform.machine()) != None:
CFLAGS.append("-msse2")
# Blosc sources and headers