Skip to content

Commit 985eb91

Browse files
uharfbuzz: Add version 0.56.2 (#2219)
* uharfbuzz: Add version 0.56.2 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> * uharfbuzz: carry forward the licence patch to 0.56.2 The nightly bump to 0.56.2 didn't copy patches/uharfbuzz/0.56.1/ forward, so build-uharfbuzz.yml's "git apply .../0.56.2/00*.patch" step failed on both the manylinux and musllinux legs (No such file or directory). setup.cfg is unchanged since 0.56.1 and the pinned harfbuzz submodule (863d3f7787c6, HarfBuzz 14.5.0) still ships harfbuzz/COPYING, so the 0.56.1 patch applies to 0.56.2 as-is (verified with git apply --check against a real checkout of the v0.56.2 tag and its submodule). --------- Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> Co-authored-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> Co-authored-by: Ludovic Henry <git@ludovic.dev>
1 parent d0e5e0c commit 985eb91

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

‎docs/packages/uharfbuzz.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ versions:
3131
- filename: uharfbuzz-0.56.1-cp310-abi3-musllinux_1_2_riscv64.whl
3232
sha256: 41fead271d2521bde5c9a6bd9ed4fbdf1244a1d637a3d11b651e1f940aad2dc9
3333
requires-python: '>=3.10'
34+
- version: 0.56.2
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From 19248e0348f0749399fb1f3a50c5fcd21b158238 Mon Sep 17 00:00:00 2001
2+
From: Ludovic Henry <git@ludovic.dev>
3+
Date: Tue, 8 Sep 2026 00:00:00 +0200
4+
Subject: [PATCH] ship harfbuzz's licence alongside uharfbuzz's own
5+
6+
Upstream-Status: To upstream [not yet submitted; the same gap exists in every uharfbuzz wheel on PyPI, so this needs a maintainer discussion rather than a drive-by PR]
7+
8+
The extension statically links the vendored HarfBuzz C++ sources
9+
(harfbuzz/, a git submodule, compiled in as harfbuzz-world.cc), which
10+
carry their own "Old MIT" notice. That licence requires the copyright
11+
notice to travel with binary redistributions, but setup.cfg's
12+
`license_file` names only uharfbuzz's own LICENSE (Apache-2.0), so the
13+
built wheel ships a single notice covering the wrapper alone --
14+
confirmed on the published `uharfbuzz-0.56.0-cp310-abi3-*.whl`, whose
15+
dist-info/licenses/ carries just LICENSE.
16+
17+
Switching to the plural `license_files` (setuptools' modern key,
18+
`license_file` is its deprecated singular alias) and naming the
19+
vendored file in place keeps the patch to one line of intent and lets
20+
it track the submodule: setuptools resolves each license-files entry
21+
relative to the project root and preserves its path in the wheel, so
22+
it lands as dist-info/licenses/harfbuzz/COPYING.
23+
24+
Signed-off-by: Ludovic Henry <git@ludovic.dev>
25+
---
26+
setup.cfg | 4 +++-
27+
1 file changed, 3 insertions(+), 1 deletion(-)
28+
29+
diff --git a/setup.cfg b/setup.cfg
30+
index 0c9e0fc..7cf49c6 100644
31+
--- a/setup.cfg
32+
+++ b/setup.cfg
33+
@@ -1,2 +1,4 @@
34+
[metadata]
35+
-license_file = LICENSE
36+
+license_files =
37+
+ LICENSE
38+
+ harfbuzz/COPYING

0 commit comments

Comments
 (0)