git: 373e2f935c9f - 2022Q2 - devel/py-cython-test-exception-raiser: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 04 Jun 2022 01:50:50 UTC
The branch 2022Q2 has been updated by sunpoet:

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

commit 373e2f935c9ff1f529c095d000da249527231bca
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:23:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-04 01:50:23 +0000

    devel/py-cython-test-exception-raiser: Strip shared library
    
    - Bump PORTREVISION for package change
    
    (cherry picked from commit 5aaea1e7dd7674f6210c32c10c80066ed0dbc149)
---
 devel/py-cython-test-exception-raiser/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/py-cython-test-exception-raiser/Makefile b/devel/py-cython-test-exception-raiser/Makefile
index 94fcb7565a66..b634cab915c5 100644
--- a/devel/py-cython-test-exception-raiser/Makefile
+++ b/devel/py-cython-test-exception-raiser/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	cython-test-exception-raiser
 PORTVERSION=	1.0.2
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,6 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent cython distutils
 
-#NO_ARCH=	yes
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>