git: 5aaea1e7dd76 - main - devel/py-cython-test-exception-raiser: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 22 May 2022 05:15:15 UTC
The branch main has been updated by sunpoet:

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

commit 5aaea1e7dd7674f6210c32c10c80066ed0dbc149
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:23:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 04:23:00 +0000

    devel/py-cython-test-exception-raiser: Strip shared library
    
    - Bump PORTREVISION for package change
---
 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>