pkgsrc-WIP-changes archive

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

py-blosc: update to 1.11.1



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Thu Feb 2 18:37:39 2023 -0800
Changeset:	6adc7b2967871f37c02bac7f6d6e56dfa3efa6b0

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

Log Message:
py-blosc: update to 1.11.1

Changes from 1.11.0 to 1.11.1
    Internal C-Blosc sources updated to 1.21.3.

Changes from 1.10.6 to 1.11.0
    Internal C-Blosc sources updated to 1.21.2 (they are a git submodule now).
    Many small code improvements, improved consistency and typo fixes. Thanks to Dimitri Papadopoulos Orfanos.
    Support for Python 3.11. Support for Python 3.7 has been dropped. Thanks to Dimitri Papadopoulos Orfanos.
    Several other fixes, mainly related with the building process, which should be more solid now in different situations.

Changes from 1.10.5 to 1.10.6
    Add a missed cmake folder to distributed files. See #253. Thanks to Ben Greiner.

Changes from 1.10.4 to 1.10.5
    Re-enable the possibility to use an already installed C-Blosc library. See #244. Thanks to Ben Greiner.
    Add aarch64 wheels. See #250. Thanks to @odidev.
    Deactivate SSE2 and AVX2 if a CPU has no flags. See #242. Thanks to Graham Inggs.
    Wheels for Linux 32 bits are not distributed anymore.
    Updated vendored C-Blosc to 1.21.1.

Changes from 1.10.2 to 1.10.4
    Update blosc.nthreads when blosc.set_nthreads() is called. Fixes #246

Changes from 1.10.1 to 1.10.2
    README.rst updated with wheels information.

Changes from 1.10.0 to 1.10.1
    Added pyproject.toml to fix issues when building the package for a Python version that does not have a wheel. See: #239
    Added blosc/c-blosc/README.md in the source distribution. See: #240
    Vendored cpuinfo.py updated to version 7.0.0.

Changes from 1.9.2 to 1.10.0
    Updated vendored C-Blosc to 1.21.0.

    Wheels for Intel (32 and 64 bits) and all major OS (Win, Linux, Mac) are here. The wheels have support for runtime detection for AVX2, so it will be automatically leveraged in case the local host has AVX2. No need anymore to worry about using different binaries for CPUs not having AVX2 hardware.

    Also, we are distributing binaries for C-Blosc libraries (dynamic and static) and headers. This way, people trying to use the C-Blosc library can use the python-blosc wheels to install the necessary development files. For details, see: https://github.com/Blosc/c-blosc/blob/main/COMPILING_WITH_WHEELS.rst

    We gratefully acknowledge Jeff Hammerbacher for supporting the addition of wheels for Blosc.

    Officially drop support for Python < 3.7. Although we did not any explicit action that is incompatible with older Python versions, we only provide wheels for Python >= 3.7 (til 3.9).

Changes from 1.9.1 to 1.9.2
    Internal C-Blosc updated to 1.20.1. This fixes #229, and also brings many new updates in internal codecs, providing interesting bumps in performance in some cases.
    Due to recent addition of more cores in new CPUs, the number of internal threads to be used by default has been increased from 4 to 8.
    Allow zero-copy decompression by allowing bytes-like input. See PR: #230. Thanks to Lehman Garrison.
    Fix DeprecationWarning due to invalid escape sequence and use array.tobytes for Python 3.9.

Changes from 1.9.0 to 1.9.1
    Disable the attempt to include support for SSE2 and AVX2 on non-Intel platforms, allowing the build on such platforms (see #244). Thanks to Lehman Garrison.

Changes from 1.8.3 to 1.9.0
    Dropped support for Python 2.7 and 3.5.
    Fixed the copy of the leftovers of a chunk when its size is not a multiple of the typesize. Although this is a very unusual situation, it can certainly happen (e.g. #220).

Changes from 1.8.2 to 1.8.3
    Add a missing pyproject.toml to MANIFEST.in. This allows to install the necessary skbuild module. Thanks to Manuel Castro.

Changes from 1.8.1 to 1.8.2
    Use cmake internally to build the Python extension via the scikit-build library. This seems enough to cope with the conflicting types in using XGETBV when using a recent GCC (>= 9.1) compiler. Fixes #203 and #209. Thanks to Matt McCormick.
    Include C-Blosc v1.17.1.

Changes from 1.8.0 to 1.8.1
    Fix a bug that prevented the source distribution from PyPi to be compiled. Specifically, *.inc were not included via the manifest.

Changes from 1.7.0 to 1.8.0
    Include C-Blosc v1.16.2
    Fix cpuinfo.py usage on Windows. Thanks to Robert McLeod
    Implement Python access to the C function cbuffer_validate which was added to c-blosc in version 1.16.0
    Check if compiler supports CPU capabilities. Thanks to Nicholas Devenish
    Many minor improvements and fixes

Changes from 1.6.2 to 1.7.0
    Include C-Blosc v1.15.1
    Remove Support for Python 2.6 and 3.3
    Fix vendored cpuinfo.py
    Rework Windows CI via Appveyor
    Various minor bugfixes

Changes from 1.6.1 to 1.6.2
    Fixed numpy import in toplevel.py, this makes python-blosc usable without numpy once again.

Changes from 1.5.1 to 1.6.1
    Updated C-Blosc to 1.14.3
    Adding support for aarch64
    unpack_array can now accepts keyword arguments. This allows decompressing pickled arrays that were compressed with Python 2.x using Python 3.x. Thanks to Simba Nyatsanga and Juan Maree.
    Implemented get_blocksize(), thanks to Alberto Sabater
    Separate compilation of codecs, thanks to Robert McLeod
    Removal of Numpy dependencies, thanks to Robert McLeod
    Allow codecs to be included by using environment variables, thanks to Robert McLeod
    Don't compile snappy by default, thanks to Robert McLeod
    Update cpuinfo.py to use dmesg.boot, thanks to Prakhar Goel
    Allow SSE2 and AVX2 detection to be disabled via environment variables, thanks to Lorenzo Bolla
    Varios minor fixes

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

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

diffstat:
 py-blosc/Makefile | 17 ++++++++++++++---
 py-blosc/PLIST    | 11 +++++++++++
 py-blosc/distinfo |  6 +++---
 3 files changed, 28 insertions(+), 6 deletions(-)

diffs:
diff --git a/py-blosc/Makefile b/py-blosc/Makefile
index c03abf5e40..1225420202 100644
--- a/py-blosc/Makefile
+++ b/py-blosc/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.3 2015/04/14 11:56:20 thomasklausner Exp $
 
-DISTNAME=	blosc-1.5.1
+DISTNAME=	blosc-1.11.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=b/blosc/}
@@ -10,10 +10,21 @@ HOMEPAGE=	http://python-blosc.blosc.org/
 COMMENT=	Python wrapper for the Blosc compression library
 LICENSE=	modified-bsd
 
-USE_LANGUAGES=	c
+USE_LANGUAGES+=	c
+USE_LANGUAGES+= c++
 
+USE_TOOLS+=	cmake
+USE_TOOLS+=	ninja
+
+BUILD_DEPENDS+=	${PYPKGPREFIX}-scikit-build>=0.15.0:../../wip/py-scikit-build
+BUILD_DEPENDS+=       ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 MAKE_ENV+=	BLOSC_DIR=${BUILDLINK_PREFIX.blosc}
-PYDISTUTILSPKG=	yes
+# Address an erron
+PYSETUPARGS+=	-DCMAKE_SKIP_RPATH:BOOL=YES
+
+do-test:
+	(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} \
+	 -m blosc.test)
 
 .include "../../devel/blosc/buildlink3.mk"
 .include "../../lang/python/egg.mk"
diff --git a/py-blosc/PLIST b/py-blosc/PLIST
index a7ff9d0c9a..830833821b 100644
--- a/py-blosc/PLIST
+++ b/py-blosc/PLIST
@@ -1,11 +1,22 @@
 @comment $NetBSD$
+include/blosc-export.h
+include/blosc.h
+lib/libblosc.a
+lib/libblosc.so
+lib/libblosc.so.1
+lib/libblosc.so.1.21.3
+lib/pkgconfig/blosc.pc
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/blosc/__init__.py
 ${PYSITELIB}/blosc/__init__.pyc
 ${PYSITELIB}/blosc/__init__.pyo
+${PYSITELIB}/blosc/_version.py
+${PYSITELIB}/blosc/_version.pyc
+${PYSITELIB}/blosc/_version.pyo
 ${PYSITELIB}/blosc/blosc_extension.so
 ${PYSITELIB}/blosc/test.py
 ${PYSITELIB}/blosc/test.pyc
diff --git a/py-blosc/distinfo b/py-blosc/distinfo
index 7266240cfb..906a65b662 100644
--- a/py-blosc/distinfo
+++ b/py-blosc/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1 2014/05/09 23:00:49 jihbed Exp $
 
-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
+BLAKE2s (blosc-1.11.1.tar.gz) = ef852841933d76169fe2f9eaa64090795d1e7a19878e7ec8dab5c7b1cc1d6072
+SHA512 (blosc-1.11.1.tar.gz) = a1568abb90aa598e90b2bbe3b431079b4e3c18411aa3b73f36cb132bf14aa61bcd87ec9cda5d3237c20e8263b14a7ef90b027483a407afb8069932bab33e57b8
+Size (blosc-1.11.1.tar.gz) = 1177460 bytes


Home | Main Index | Thread Index | Old Index