pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-blosc: Update to 1.5.1



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Tue Sep 12 18:28:36 2017 -0700
Changeset:	88eef75606a9388300ecc4663e86aa9d1733ca26

Modified Files:
	py-blosc/DESCR
	py-blosc/Makefile
	py-blosc/PLIST
	py-blosc/distinfo

Log Message:
py-blosc: Update to 1.5.1

Major changes since 1.2.3:

- Added a new as_bytearray=False parameter to the decompress()
  function so that a mutable bytearray will be returned instead of a
  bytes one (immutable).

- The typesize parameter is set by default to 8 in compression
  functions.

- The maximum number of threads to use by default is set to 4 (less if
  less cores are detected).

- Added a new blosc.set_releasegil() function that allows to
  release/acquire the GIL at will.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=88eef75606a9388300ecc4663e86aa9d1733ca26

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-blosc/DESCR    |  9 ++++++++-
 py-blosc/Makefile | 14 ++++++++------
 py-blosc/PLIST    |  6 +++++-
 py-blosc/distinfo |  7 ++++---
 4 files changed, 25 insertions(+), 11 deletions(-)

diffs:
diff --git a/py-blosc/DESCR b/py-blosc/DESCR
index 0561d74ad9..f7da3238fa 100644
--- a/py-blosc/DESCR
+++ b/py-blosc/DESCR
@@ -1 +1,8 @@
-Blosc is a high performance compressor optimized for binary data
+Blosc is a high performance compressor optimized for binary data. It
+has been designed to transmit data to the processor cache faster than
+the traditional, non-compressed, direct memory fetch approach via a
+memcpy() OS call. Blosc works well for compressing numerical arrays
+that contains data with relatively low entropy, like sparse data, time
+series, grids with regular-spaced values, etc.
+
+py-blosc is a Python package that wraps Blosc.
diff --git a/py-blosc/Makefile b/py-blosc/Makefile
index 994ed6de3b..b245115eca 100644
--- a/py-blosc/Makefile
+++ b/py-blosc/Makefile
@@ -1,18 +1,20 @@
 # $NetBSD: Makefile,v 1.3 2015/04/14 11:56:20 thomasklausner Exp $
 
-DISTNAME=	blosc-1.2.3
+DISTNAME=	blosc-1.5.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=b/blosc/}
 
 MAINTAINER=	jihbed.research%gmail.com@localhost
-HOMEPAGE=	https://github.com/blosc/python-blosc
-COMMENT=	Blosc is a high performance compressor optimized for binary data
-LICENSE=	mit
+HOMEPAGE=	http://python-blosc.blosc.org/
+COMMENT=	Python wrapper for the Blosc compression library
+LICENSE=	modified-bsd
 
-USE_LANGUAGES=	c c++
+USE_LANGUAGES=	c
 
+MAKE_ENV+=	BLOSC_DIR=${BUILDLINK_PREFIX.blosc}
 PYDISTUTILSPKG=	yes
 
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
+.include "../../wip/blosc/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-blosc/PLIST b/py-blosc/PLIST
index d04eb8804b..a7ff9d0c9a 100644
--- a/py-blosc/PLIST
+++ b/py-blosc/PLIST
@@ -1,4 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2014/05/09 23:00:49 jihbed Exp $
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/blosc/__init__.py
 ${PYSITELIB}/blosc/__init__.pyc
 ${PYSITELIB}/blosc/__init__.pyo
diff --git a/py-blosc/distinfo b/py-blosc/distinfo
index 124e67e217..0a7b6106d4 100644
--- a/py-blosc/distinfo
+++ b/py-blosc/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.1 2014/05/09 23:00:49 jihbed Exp $
 
-SHA1 (blosc-1.2.3.tar.gz) = 019c1512024fe2c17f45a0e2b7ec9e21f3e573c6
-RMD160 (blosc-1.2.3.tar.gz) = f0da5119cd18a0a8cba6a60b222deffb39b26d93
-Size (blosc-1.2.3.tar.gz) = 225781 bytes
+SHA1 (blosc-1.5.1.tar.gz) = eb091c35bc14b4c2e2eb9b942b2f8982576ceeda
+RMD160 (blosc-1.5.1.tar.gz) = 854146b50a95afebb5a343f45a10173c189a1f12
+SHA512 (blosc-1.5.1.tar.gz) = 76d8c5d9e0e3485aacd5646970ce62e34d6ef3ff04e134342544ab044c4d1925a537187b4ce8b7ef3f6cd327e26d47dbdf1bf04233186a8baedbc7c839071cf8
+Size (blosc-1.5.1.tar.gz) = 641172 bytes


Home | Main Index | Thread Index | Old Index