git: 68f6f63bdd9c - main - databases/py-kyotocabinet: Strip shared library

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 31 Mar 2024 03:39:35 UTC
The branch main has been updated by sunpoet:

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

commit 68f6f63bdd9c5e4ec6ddb2bba28ec9ee9ec2251e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:06:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:06:11 +0000

    databases/py-kyotocabinet: Strip shared library
    
    - Bump PORTREVISION for package change
---
 databases/py-kyotocabinet/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/databases/py-kyotocabinet/Makefile b/databases/py-kyotocabinet/Makefile
index e378df24f392..88e263383eb0 100644
--- a/databases/py-kyotocabinet/Makefile
+++ b/databases/py-kyotocabinet/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	kyotocabinet
 PORTVERSION=	1.23
 DISTVERSIONPREFIX=	python-
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases python
 MASTER_SITES=	https://dbmx.net/kyotocabinet/pythonpkg/ \
 		LOCAL/sunpoet
@@ -21,4 +21,7 @@ LIB_DEPENDS=	libkyotocabinet.so:databases/kyotocabinet
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
 .include <bsd.port.mk>