git: 7ac3c52e8b74 - main - print/py-uharfbuzz: Update to 0.42.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Nov 2024 06:28:28 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ac3c52e8b740ecff77b0e54269583ec7e15efaf commit 7ac3c52e8b740ecff77b0e54269583ec7e15efaf Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-11-22 06:22:40 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-11-22 06:22:40 +0000 print/py-uharfbuzz: Update to 0.42.0 Changes: https://github.com/harfbuzz/uharfbuzz/releases --- print/py-uharfbuzz/Makefile | 10 ++++++---- print/py-uharfbuzz/distinfo | 6 +++--- print/py-uharfbuzz/files/patch-setup.py | 16 ---------------- .../files/patch-src-uharfbuzz-_harfbuzz.cpp | 20 -------------------- 4 files changed, 9 insertions(+), 43 deletions(-) diff --git a/print/py-uharfbuzz/Makefile b/print/py-uharfbuzz/Makefile index 050f260dd62b..d30b67b2f08e 100644 --- a/print/py-uharfbuzz/Makefile +++ b/print/py-uharfbuzz/Makefile @@ -1,5 +1,5 @@ PORTNAME= uharfbuzz -PORTVERSION= 0.39.1 +PORTVERSION= 0.42.0 CATEGORIES= print python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,17 +11,19 @@ WWW= https://github.com/harfbuzz/uharfbuzz LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= harfbuzz>=8.3.1:print/harfbuzz \ +BUILD_DEPENDS= harfbuzz>=10.1.0:print/harfbuzz \ + ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=36.4:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=2.1:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libharfbuzz.so:print/harfbuzz -USES= compiler:c++11-lang python zip +USES= compiler:c++11-lang python USE_PYTHON= autoplist concurrent cython pep517 +MAKE_ENV= CYTHON_ANNOTATE=0 CYTHON_LINETRACE=0 USE_SYSTEM_LIBS=1 + post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py ${WRKSRC}/src/uharfbuzz/_harfbuzz.cpp # Clean up bundled libraries @${RM} -r ${WRKSRC}/harfbuzz/ diff --git a/print/py-uharfbuzz/distinfo b/print/py-uharfbuzz/distinfo index b11f7fb22415..a4b82cc4dd0a 100644 --- a/print/py-uharfbuzz/distinfo +++ b/print/py-uharfbuzz/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711466212 -SHA256 (uharfbuzz-0.39.1.zip) = 68c341f7cc9e43418b2db295eb679ed6dc638d58c11cf279d9bd28ce8a3ade06 -SIZE (uharfbuzz-0.39.1.zip) = 1855858 +TIMESTAMP = 1732239530 +SHA256 (uharfbuzz-0.42.0.tar.gz) = b2276e49a420ff87f8b05c637d07dde92842ad21d857056c300c9c2fa3d30114 +SIZE (uharfbuzz-0.42.0.tar.gz) = 1532876 diff --git a/print/py-uharfbuzz/files/patch-setup.py b/print/py-uharfbuzz/files/patch-setup.py deleted file mode 100644 index 61d88af9f849..000000000000 --- a/print/py-uharfbuzz/files/patch-setup.py +++ /dev/null @@ -1,16 +0,0 @@ ---- setup.py.orig 2023-03-13 09:18:30 UTC -+++ setup.py -@@ -39,12 +39,8 @@ if platform.system() == "Darwin": - extension = Extension( - "uharfbuzz._harfbuzz", - define_macros=define_macros, -- include_dirs=["harfbuzz/src"], -+ include_dirs=["%%LOCALBASE%%/include/harfbuzz"], - sources=[ -- "harfbuzz/src/harfbuzz-subset.cc", -- "harfbuzz/src/hb-coretext.cc", -- "harfbuzz/src/hb-directwrite.cc", -- "harfbuzz/src/hb-uniscribe.cc", - "src/uharfbuzz/_harfbuzz.pyx", - ], - language="c++", diff --git a/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp b/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp deleted file mode 100644 index e68a963bd408..000000000000 --- a/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- src/uharfbuzz/_harfbuzz.cpp.orig 2023-03-13 09:19:32 UTC -+++ src/uharfbuzz/_harfbuzz.cpp -@@ -30,16 +30,12 @@ - "-std=c++11" - ], - "include_dirs": [ -- "harfbuzz/src" -+ "%%LOCALBASE%%/include/harfbuzz" - ], - "language": "c++", - "name": "uharfbuzz._harfbuzz", - "sources": [ - "src/uharfbuzz/_harfbuzz.pyx", -- "harfbuzz/src/harfbuzz-subset.cc", -- "harfbuzz/src/hb-coretext.cc", -- "harfbuzz/src/hb-directwrite.cc", -- "harfbuzz/src/hb-uniscribe.cc" - ] - }, - "module_name": "uharfbuzz._harfbuzz"