git: dbe4e65fe8cb - main - graphics/py-rasterio: Strip shared library

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Sep 19 06:08:07 UTC 2021


The branch main has been updated by sunpoet:

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

commit dbe4e65fe8cbe98f9437fef119d2ec40bfcdd576
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-19 05:30:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-19 06:00:20 +0000

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

diff --git a/graphics/py-rasterio/Makefile b/graphics/py-rasterio/Makefile
index aaa124695e28..d5dc7e482e34 100644
--- a/graphics/py-rasterio/Makefile
+++ b/graphics/py-rasterio/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	rasterio
 PORTVERSION=	1.2.6
+PORTREVISION=	1
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -34,4 +35,7 @@ S3_DESC=	Amazon S3 support
 PLOT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR}
 S3_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}boto3>=1.2.4:www/py-boto3@${PY_FLAVOR}
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/rasterio/*.so
+
 .include <bsd.port.mk>


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