git: cf4032270363 - main - devel/py-unicodedata2: Strip shared library

Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Sep 21 03:52:25 UTC 2021


The branch main has been updated by sunpoet:

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

commit cf403227036371fe2366bbde5ebac64b88f5cdcc
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 03:13:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 03:44:44 +0000

    devel/py-unicodedata2: Strip shared library
    
    - Bump PORTREVISION for package change
---
 devel/py-unicodedata2/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/py-unicodedata2/Makefile b/devel/py-unicodedata2/Makefile
index 4dd2bf16b139..5c373556c00a 100644
--- a/devel/py-unicodedata2/Makefile
+++ b/devel/py-unicodedata2/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	unicodedata2
 PORTVERSION=	13.0.0.post2
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,4 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
 .include <bsd.port.mk>


More information about the dev-commits-ports-main mailing list