git: 529b12420f16 - main - devel/py-ijson: Update to 3.2.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 11 Oct 2023 12:59:57 UTC
The branch main has been updated by sunpoet:

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

commit 529b12420f161bc19e78b0b070c7004c07dd2faf
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-11 12:57:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-11 12:57:51 +0000

    devel/py-ijson: Update to 3.2.3
    
    - Strip shared library
    
    Changes:        https://github.com/ICRAR/ijson/blob/master/CHANGELOG.md
---
 devel/py-ijson/Makefile | 8 +++++---
 devel/py-ijson/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/devel/py-ijson/Makefile b/devel/py-ijson/Makefile
index 372c0e969e86..db07ee9059ca 100644
--- a/devel/py-ijson/Makefile
+++ b/devel/py-ijson/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ijson
-PORTVERSION=	3.2.0.post0
+PORTVERSION=	3.2.3
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,10 +18,12 @@ OPTIONS_DEFINE=	YAJL
 YAJL_DESC=	Enable yajl2_c backend
 
 YAJL_LIB_DEPENDS=	libyajl.so:devel/yajl
+YAJL_MAKE_ENV=		IJSON_BUILD_YAJL2C='1'
+YAJL_MAKE_ENV_OFF=	IJSON_BUILD_YAJL2C='0'
 YAJL_USES=		localbase:ldflags
 YAJL_VARS_OFF=		NO_ARCH=yes
 
-post-patch-YAJL-off:
-	@${REINPLACE_CMD} -e 's|if embed_yajl or have_yajl|if False|' ${WRKSRC}/setup.py
+post-install-YAJL-on:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>
diff --git a/devel/py-ijson/distinfo b/devel/py-ijson/distinfo
index 75e30d6afe47..9adf1fadd1e4 100644
--- a/devel/py-ijson/distinfo
+++ b/devel/py-ijson/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684104414
-SHA256 (ijson-3.2.0.post0.tar.gz) = 80a5bd7e9923cab200701f67ad2372104328b99ddf249dbbe8834102c852d316
-SIZE (ijson-3.2.0.post0.tar.gz) = 56854
+TIMESTAMP = 1696904122
+SHA256 (ijson-3.2.3.tar.gz) = 10294e9bf89cb713da05bc4790bdff616610432db561964827074898e174f917
+SIZE (ijson-3.2.3.tar.gz) = 57596