git: cf8699864d7e - main - devel/py-thrift: Strip shared library
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Sep 2026 19:30:11 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cf8699864d7e855e9f595dd8c6fa7b425a8a1926
commit cf8699864d7e855e9f595dd8c6fa7b425a8a1926
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:59:51 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:24:53 +0000
devel/py-thrift: Strip shared library
- Bump PORTREVISION for package change
- Take maintainership
---
devel/py-thrift/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/devel/py-thrift/Makefile b/devel/py-thrift/Makefile
index cd209a7e73a9..dee097b6852d 100644
--- a/devel/py-thrift/Makefile
+++ b/devel/py-thrift/Makefile
@@ -1,12 +1,13 @@
PORTNAME= thrift
PORTVERSION= 0.24.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
DIST_SUBDIR= python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python bindings for the Apache Thrift RPC system
WWW= https://thrift.apache.org/ \
https://thrift.apache.org/docs/ \
@@ -23,4 +24,7 @@ USE_PYTHON= autoplist concurrent pep517
CPE_VENDOR= apache
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
.include <bsd.port.mk>