Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 22:24:32 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: fbce3f875fc2 - main - devel/pytype: Strip shared library
Message-ID:  <202109212224.18LMOWW8037968@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=fbce3f875fc24a317c320636a9adf6d1bdfed126

commit fbce3f875fc24a317c320636a9adf6d1bdfed126
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-21 22:11:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@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>



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