git: 53e214576176 - main - print/py-uharfbuzz: update to 0.30.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 25 Aug 2022 21:51:02 UTC
The branch main has been updated by jbeich:

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

commit 53e2145761760a52e1ac4f8e6e54be5ec4daee4c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-07-31 12:39:52 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-08-25 21:47:51 +0000

    print/py-uharfbuzz: update to 0.30.0
    
    Changes:        https://github.com/harfbuzz/uharfbuzz/releases/tag/v0.30.0
    PR:             265585
    Reported by:    GitHub (watch releases)
    Approved by:    maintainer timeout (3 weeks)
---
 print/py-uharfbuzz/Makefile                              |  4 +---
 print/py-uharfbuzz/distinfo                              |  6 +++---
 print/py-uharfbuzz/files/patch-setup.py                  |  7 ++++---
 .../py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp | 16 +++++-----------
 4 files changed, 13 insertions(+), 20 deletions(-)

diff --git a/print/py-uharfbuzz/Makefile b/print/py-uharfbuzz/Makefile
index 4abb7a2b710a..90cac49a83c1 100644
--- a/print/py-uharfbuzz/Makefile
+++ b/print/py-uharfbuzz/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	uharfbuzz
-PORTVERSION=	0.29.0
+PORTVERSION=	0.30.0
 CATEGORIES=	print python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,8 +10,6 @@ COMMENT=	Streamlined Cython bindings for the harfbuzz shaping engine
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		does not build: no matching function for call to 'hb_subset_repack_or_fail'
-
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
 LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
 
diff --git a/print/py-uharfbuzz/distinfo b/print/py-uharfbuzz/distinfo
index a6ada79036d3..c9d68d95d4af 100644
--- a/print/py-uharfbuzz/distinfo
+++ b/print/py-uharfbuzz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659209954
-SHA256 (uharfbuzz-0.29.0.zip) = 57342bafa7d83e01598e38c765f3d3ced9061ea0654b48723f777d571dc4c6d1
-SIZE (uharfbuzz-0.29.0.zip) = 1297681
+TIMESTAMP = 1659271192
+SHA256 (uharfbuzz-0.30.0.zip) = a2e28cced389d8ddc235234d78e8a0535e2a0b6d452dab5dbc20843b6ef08219
+SIZE (uharfbuzz-0.30.0.zip) = 1310884
diff --git a/print/py-uharfbuzz/files/patch-setup.py b/print/py-uharfbuzz/files/patch-setup.py
index eae7ea11a653..8f4eaa12ef40 100644
--- a/print/py-uharfbuzz/files/patch-setup.py
+++ b/print/py-uharfbuzz/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig	2022-03-22 22:29:38 UTC
+--- setup.py.orig	2022-07-31 12:39:52 UTC
 +++ setup.py
-@@ -39,11 +39,9 @@ if platform.system() == 'Darwin':
+@@ -39,12 +39,9 @@ extension = Extension(
  extension = Extension(
      'uharfbuzz._harfbuzz',
      define_macros=define_macros,
@@ -10,6 +10,7 @@
          'src/uharfbuzz/_harfbuzz.pyx',
 -        'harfbuzz/src/harfbuzz.cc',
 -        'harfbuzz/src/hb-subset-repacker.cc',
+-        'harfbuzz/src/graph/gsubgpos-context.cc',
+         'src/uharfbuzz/_draw_test_funcs.cc',
      ],
      language='c++',
-     libraries=libraries,
diff --git a/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp b/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp
index f486a2cf2b4f..f60669a0747f 100644
--- a/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp
+++ b/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp
@@ -1,18 +1,12 @@
---- src/uharfbuzz/_harfbuzz.cpp.orig	2022-03-22 22:30:14 UTC
+--- src/uharfbuzz/_harfbuzz.cpp.orig	2022-07-31 12:40:22 UTC
 +++ src/uharfbuzz/_harfbuzz.cpp
-@@ -30,14 +30,12 @@
-             "-std=c++11"
-         ],
-         "include_dirs": [
--            "harfbuzz/src"
-+            "%%LOCALBASE%%/include/harfbuzz"
-         ],
-         "language": "c++",
+@@ -36,9 +36,6 @@
          "name": "uharfbuzz._harfbuzz",
          "sources": [
              "src/uharfbuzz/_harfbuzz.pyx",
 -            "harfbuzz/src/harfbuzz.cc",
--            "harfbuzz/src/hb-subset-repacker.cc"
+-            "harfbuzz/src/hb-subset-repacker.cc",
+-            "harfbuzz/src/graph/gsubgpos-context.cc",
+             "src/uharfbuzz/_draw_test_funcs.cc"
          ]
      },
-     "module_name": "uharfbuzz._harfbuzz"