Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 03:52:13 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cf4032270363 - main - devel/py-unicodedata2: Strip shared library
Message-ID:  <202109210352.18L3qDc1034037@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit cf403227036371fe2366bbde5ebac64b88f5cdcc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 03:13:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109210352.18L3qDc1034037>