git: fbce3f875fc2 - main - devel/pytype: Strip shared library

Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Sep 21 22:24:33 UTC 2021


The branch main has been updated by sunpoet:

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

commit fbce3f875fc24a317c320636a9adf6d1bdfed126
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-21 22:11:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-21 22:23:21 +0000

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

diff --git a/devel/pytype/Makefile b/devel/pytype/Makefile
index 3294e4b286a4..f76f676c9bf7 100644
--- a/devel/pytype/Makefile
+++ b/devel/pytype/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	pytype
 PORTVERSION=	2021.9.9
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
@@ -32,4 +33,7 @@ USE_PYTHON=	autoplist concurrent distutils
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR}
 .endif
 
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
 .include <bsd.port.post.mk>


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