git: 892f901e717e - main - graphics/py-pygeos: Strip shared library

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


The branch main has been updated by sunpoet:

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

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

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

diff --git a/graphics/py-pygeos/Makefile b/graphics/py-pygeos/Makefile
index d2c762f95d5e..ad444459faa4 100644
--- a/graphics/py-pygeos/Makefile
+++ b/graphics/py-pygeos/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	pygeos
 PORTVERSION=	0.10
+PORTREVISION=	1
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -20,4 +21,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR}
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent cython distutils
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pygeos/*.so
+
 .include <bsd.port.mk>


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