Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2024 05:28:03 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b1c39644b0e7 - main - archivers/py-bitshuffle: Update to 0.5.2
Message-ID:  <202410140528.49E5S3dL048637@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit b1c39644b0e701e91a262ac696f7cb51cb7f440a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-14 04:49:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-14 05:25:24 +0000

    archivers/py-bitshuffle: Update to 0.5.2
    
    Changes:        https://github.com/kiyo-masui/bitshuffle/releases
---
 archivers/py-bitshuffle/Makefile                     | 10 ++++++----
 archivers/py-bitshuffle/distinfo                     |  6 +++---
 archivers/py-bitshuffle/files/patch-lzf-lzf_filter.c | 14 --------------
 archivers/py-bitshuffle/files/patch-pyproject.toml   |  6 +++---
 4 files changed, 12 insertions(+), 24 deletions(-)

diff --git a/archivers/py-bitshuffle/Makefile b/archivers/py-bitshuffle/Makefile
index 5d89c913325e..f9d538f95045 100644
--- a/archivers/py-bitshuffle/Makefile
+++ b/archivers/py-bitshuffle/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	bitshuffle
-PORTVERSION=	0.5.1
+PORTVERSION=	0.5.2
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,15 +13,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h5py>=2.4.0:science/py-h5py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools>=0.7:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h5py>=2.4.0:science/py-h5py@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}numpy>=1.6.1,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.24,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools>=0.7:devel/py-setuptools@${PY_FLAVOR}
 
-USES=		pkgconfig python
+USES=		pkgconfig python:3.9+
 USE_PYTHON=	autoplist concurrent cython pep517
 
+CFLAGS+=	-Wno-error=int-conversion
+
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
diff --git a/archivers/py-bitshuffle/distinfo b/archivers/py-bitshuffle/distinfo
index c8a2e59bc658..4e756844563b 100644
--- a/archivers/py-bitshuffle/distinfo
+++ b/archivers/py-bitshuffle/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710712300
-SHA256 (bitshuffle-0.5.1.tar.gz) = 988f224739aa6858475a4c59172968c7b51cc657d2249580c8f96848708fbae3
-SIZE (bitshuffle-0.5.1.tar.gz) = 229441
+TIMESTAMP = 1728632308
+SHA256 (bitshuffle-0.5.2.tar.gz) = dc0e3fb7bdbf42be1009cc3028744180600d625a75b31833a24aa32aeaf83d8d
+SIZE (bitshuffle-0.5.2.tar.gz) = 290156
diff --git a/archivers/py-bitshuffle/files/patch-lzf-lzf_filter.c b/archivers/py-bitshuffle/files/patch-lzf-lzf_filter.c
deleted file mode 100644
index 2b15f0ebac8c..000000000000
--- a/archivers/py-bitshuffle/files/patch-lzf-lzf_filter.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- lzf/lzf_filter.c.orig	2022-11-26 00:17:16 UTC
-+++ lzf/lzf_filter.c
-@@ -51,11 +51,7 @@
-         macro H5_USE_16_API is set
- */
- 
--#if H5_VERS_MAJOR == 1 && H5_VERS_MINOR == 8 && (H5_VERS_RELEASE < 3 || !H5_USE_16_API)
- #define H5PY_H5Z_NEWCLS 1
--#else
--#define H5PY_H5Z_NEWCLS 0   
--#endif
- 
- size_t lzf_filter(unsigned flags, size_t cd_nelmts,
- 		    const unsigned cd_values[], size_t nbytes,
diff --git a/archivers/py-bitshuffle/files/patch-pyproject.toml b/archivers/py-bitshuffle/files/patch-pyproject.toml
index 620e4c320914..337f553ce7c5 100644
--- a/archivers/py-bitshuffle/files/patch-pyproject.toml
+++ b/archivers/py-bitshuffle/files/patch-pyproject.toml
@@ -1,10 +1,10 @@
---- pyproject.toml.orig	2022-11-26 00:17:16 UTC
+--- pyproject.toml.orig	2024-09-26 18:05:42 UTC
 +++ pyproject.toml
 @@ -3,7 +3,7 @@ requires = [
  requires = [
-     "setuptools>=0.7",
+     "setuptools",
      "Cython>=0.19",
--    "oldest-supported-numpy",
+-    "numpy>=2.0.0rc1",
 +    "numpy",
      "h5py>=2.4.0",
  ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410140528.49E5S3dL048637>