diff --git a/docs/packages/pygraphviz.yaml b/docs/packages/pygraphviz.yaml index c9b3841c8456..285bd4f14f9d 100644 --- a/docs/packages/pygraphviz.yaml +++ b/docs/packages/pygraphviz.yaml @@ -50,3 +50,4 @@ versions: gpl-sources: filename: gpl-sources.tar description: the copyleft libraries bundled in the wheel +- version: 2.0.4 diff --git a/patches/pygraphviz/2.0.4/0001-Ship-the-licences-of-the-libraries-bundled-in-the-wh.patch b/patches/pygraphviz/2.0.4/0001-Ship-the-licences-of-the-libraries-bundled-in-the-wh.patch new file mode 100644 index 000000000000..eb3bc208839d --- /dev/null +++ b/patches/pygraphviz/2.0.4/0001-Ship-the-licences-of-the-libraries-bundled-in-the-wh.patch @@ -0,0 +1,35 @@ +From f0aed7f4528cff54aaa8f61d799df8814c67ffb3 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Fri, 28 Aug 2026 11:34:14 +0200 +Subject: [PATCH] Ship the licences of the libraries bundled in the wheels + +The Linux and Windows wheels bundle the shared libraries graphviz links -- +cairo, pango, fontconfig, freetype, harfbuzz, fribidi, libthai, libdatrie, +graphite2, gd, libpng, libjpeg, libtiff, libwebp, libxcb and others. Several +are LGPL and the rest are MIT/BSD-style; all of them require their licence +text or copyright notice to travel with a binary redistribution. The wheels +ship only pygraphviz's own LICENSE and LICENSE.graphviz. + +`license-files` is an explicit list, so setuptools' default LICEN[CS]E* glob +is off and a licence file dropped beside LICENSE is ignored. Widen the second +entry to LICENSE.* so the build can stage one file per bundled library -- +LICENSE.graphviz keeps matching, so nothing is lost. + +Upstream-Status: To upstream [same gap affects upstream's own manylinux and Windows wheels; not yet submitted to pygraphviz/pygraphviz] +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 43d2896..e78521f 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -13,7 +13,7 @@ description = "Python interface to Graphviz" + readme = "README.rst" + requires-python = ">=3.10" + license = "BSD-3-Clause" +-license-files = ['LICENSE', 'LICENSE.graphviz'] ++license-files = ['LICENSE', 'LICENSE.*'] + dynamic = ["version"] + keywords = [ + "Networks",