Skip to content

Commit

Permalink
print/py-uharfbuzz: Update to 0.39.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent 02cd09d commit 76003b0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
5 changes: 2 additions & 3 deletions print/py-uharfbuzz/Makefile
@@ -1,5 +1,5 @@
PORTNAME= uharfbuzz
PORTVERSION= 0.37.3
PORTVERSION= 0.39.0
CATEGORIES= print python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,7 +11,7 @@ WWW= https://github.com/harfbuzz/uharfbuzz
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= harfbuzz>=8.2.0:print/harfbuzz \
BUILD_DEPENDS= harfbuzz>=8.3.0:print/harfbuzz \
${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}
Expand All @@ -22,7 +22,6 @@ USE_PYTHON= autoplist concurrent cython pep517

post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py ${WRKSRC}/src/uharfbuzz/_harfbuzz.cpp
@${RM} ${WRKSRC}/src/uharfbuzz/_harfbuzz.cpp
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/harfbuzz/

Expand Down
6 changes: 3 additions & 3 deletions print/py-uharfbuzz/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1695143357
SHA256 (uharfbuzz-0.37.3.zip) = f2b213386c1e1588c2c9baea436a85c4609902001cd21bc3065244b744223a6d
SIZE (uharfbuzz-0.37.3.zip) = 1684765
TIMESTAMP = 1708449432
SHA256 (uharfbuzz-0.39.0.zip) = 06001ab50339003b04b194fd3804e3292c023b3f1d5b376f7e128891cc584491
SIZE (uharfbuzz-0.39.0.zip) = 1842110
20 changes: 10 additions & 10 deletions print/py-uharfbuzz/files/patch-setup.py
@@ -1,16 +1,16 @@
--- setup.py.orig 2023-03-13 09:18:30 UTC
+++ setup.py
@@ -39,12 +39,8 @@ if platform.system() == 'Darwin':
@@ -39,12 +39,8 @@ if platform.system() == "Darwin":
extension = Extension(
'uharfbuzz._harfbuzz',
"uharfbuzz._harfbuzz",
define_macros=define_macros,
- include_dirs=['harfbuzz/src'],
+ include_dirs=['%%LOCALBASE%%/include/harfbuzz'],
- 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',
- "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++',
language="c++",

0 comments on commit 76003b0

Please sign in to comment.