git: 6a76ec2335a7 - main - print/py-uharfbuzz: Update to 0.19.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 18:55:32 UTC
The branch main has been updated by sunpoet:

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

commit 6a76ec2335a7285bda7c0b1538185a9c008a0dee
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 17:16:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:44:39 +0000

    print/py-uharfbuzz: Update to 0.19.0
    
    Changes:        https://github.com/harfbuzz/uharfbuzz/releases
---
 print/py-uharfbuzz/Makefile | 8 ++++++--
 print/py-uharfbuzz/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/print/py-uharfbuzz/Makefile b/print/py-uharfbuzz/Makefile
index fbd666524b01..03c3d253a200 100644
--- a/print/py-uharfbuzz/Makefile
+++ b/print/py-uharfbuzz/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	uharfbuzz
-PORTVERSION=	0.18.0
+PORTVERSION=	0.19.0
 CATEGORIES=	print python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,11 @@ USES=		compiler:c++11-lang python:3.6+ zip
 USE_PYTHON=	autoplist concurrent cython distutils
 
 post-patch:
-	@${RM} -r ${WRKSRC}/harfbuzz/
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py ${WRKSRC}/src/uharfbuzz/_harfbuzz.cpp
+# Clean up bundled libraries
+	@${RM} -r ${WRKSRC}/harfbuzz/
+
+post-install:
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>
diff --git a/print/py-uharfbuzz/distinfo b/print/py-uharfbuzz/distinfo
index c3c3fa503c40..52d6921718dc 100644
--- a/print/py-uharfbuzz/distinfo
+++ b/print/py-uharfbuzz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632037218
-SHA256 (uharfbuzz-0.18.0.zip) = 2cfbc34049f7443894d33ce22e7e87b2707842c48b23ab22de0b80a68a7751a7
-SIZE (uharfbuzz-0.18.0.zip) = 1148659
+TIMESTAMP = 1641045992
+SHA256 (uharfbuzz-0.19.0.zip) = 0807c4f14f40e20ca8fcc554ed4460d311fb91d9a8e3e2f8012acc7e9e6f0425
+SIZE (uharfbuzz-0.19.0.zip) = 1174012