git: a3a1f93789ba - main - archivers/py-blosc2: Update to 2.2.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 04:26:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3a1f93789baab126f792a159e79d7c09eba151f

commit a3a1f93789baab126f792a159e79d7c09eba151f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:08:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:08:18 +0000

    archivers/py-blosc2: Update to 2.2.2
    
    Changes:        https://github.com/Blosc/python-blosc2/releases
---
 archivers/py-blosc2/Makefile                   | 9 +++------
 archivers/py-blosc2/distinfo                   | 6 +++---
 archivers/py-blosc2/files/patch-pyproject.toml | 6 +++---
 3 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/archivers/py-blosc2/Makefile b/archivers/py-blosc2/Makefile
index 75ce06b4b81b..457fa89206f4 100644
--- a/archivers/py-blosc2/Makefile
+++ b/archivers/py-blosc2/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	blosc2
-PORTVERSION=	2.2.0
-PORTREVISION=	1
+PORTVERSION=	2.2.2
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +11,8 @@ WWW=		https://github.com/Blosc/python-blosc2
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	cmake:devel/cmake-core \
+BUILD_DEPENDS=	c-blosc2>=2.9.1:archivers/c-blosc2 \
+		cmake:devel/cmake-core \
 		ninja:devel/ninja \
 		${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR} \
@@ -29,9 +29,6 @@ USE_PYTHON=	autoplist concurrent cython pep517
 
 MAKE_ENV=	CMAKE_ARGS=-DUSE_SYSTEM_BLOSC2=ON
 
-post-extract:
-	@${RM} ${WRKSRC}/blosc2/c-blosc2/blosc/shuffle-avx2.c.orig
-
 post-patch:
 # Clean up bundled libraries
 	@${RM} -r ${WRKSRC}/blosc2/c-blosc2/
diff --git a/archivers/py-blosc2/distinfo b/archivers/py-blosc2/distinfo
index 09a27244985f..08c6956e5cd8 100644
--- a/archivers/py-blosc2/distinfo
+++ b/archivers/py-blosc2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681052880
-SHA256 (blosc2-2.2.0.tar.gz) = 4cf3893fe85da4bd899ecf7a457fd09b2212fad256182100108de7a92b88aa87
-SIZE (blosc2-2.2.0.tar.gz) = 4135248
+TIMESTAMP = 1684104358
+SHA256 (blosc2-2.2.2.tar.gz) = 110a00d95f9fb9c2753d7ae01b7cf50c12ed28e67c41aed726f547d5202464f2
+SIZE (blosc2-2.2.2.tar.gz) = 4170532
diff --git a/archivers/py-blosc2/files/patch-pyproject.toml b/archivers/py-blosc2/files/patch-pyproject.toml
index 0493f71cbd28..d330ef2ac941 100644
--- a/archivers/py-blosc2/files/patch-pyproject.toml
+++ b/archivers/py-blosc2/files/patch-pyproject.toml
@@ -1,9 +1,9 @@
---- pyproject.toml.orig	2023-04-04 10:26:30 UTC
+--- pyproject.toml.orig	2023-05-11 11:46:32 UTC
 +++ pyproject.toml
 @@ -1,5 +1,5 @@
  [build-system]
 -requires = ["setuptools", "scikit-build", "cython", "cmake", "ninja", "oldest-supported-numpy"]
 +requires = ["setuptools", "scikit-build", "cython", "numpy"]
  
- [tool.cibuildwheel]
- skip = "cp36-* cp37-* pp37-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux*"
+ [project]
+ name = "blosc2"