git: 8447b93f3694 - main - www/py-jh2: Fix build after 75f9a60e9790

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Tue, 11 Mar 2025 15:54:23 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8447b93f3694aa645f2523d987e172f43d366ac2

commit 8447b93f3694aa645f2523d987e172f43d366ac2
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-03-11 15:49:52 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-03-11 15:53:59 +0000

    www/py-jh2: Fix build after 75f9a60e9790
    
    * The 1.8.2 release of devel/py-maturin uses a updated version of the
      "pyproject-toml" crate which is stricter with regard to license
      metadata:
    
    [...]
    maturin failed
      Caused by: pyproject.toml at /wrkdirs/usr/ports/www/py-jh2/work-py311/jh2-5.0.7/pyproject.toml is invalid
      Caused by: TOML parse error at line 9, column 17
      |
    9 | license-files = { paths = ["LICENSE"] }
      |                 ^^^^^^^^^^^^^^^^^^^^^^^
    [...]
    
    Approved by:    portmgr (build fix blanket)
---
 www/py-jh2/files/patch-pyproject.toml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/www/py-jh2/files/patch-pyproject.toml b/www/py-jh2/files/patch-pyproject.toml
new file mode 100644
index 000000000000..4c9a93226cbd
--- /dev/null
+++ b/www/py-jh2/files/patch-pyproject.toml
@@ -0,0 +1,19 @@
+From: Ahmed TAHRI <tahri.ahmed@proton.me>
+Date: Thu, 6 Mar 2025 08:21:41 +0100
+Subject: [PATCH] :bug: fix project metadata around license
+
+Obtained from:
+
+https://github.com/jawah/h2/commit/3fe0d2c671354205832f2e028533e8b4a5962e92
+
+--- pyproject.toml.orig	2025-02-16 19:03:23 UTC
++++ pyproject.toml
+@@ -6,7 +6,7 @@ readme = "README.rst"
+ name = "jh2"
+ description = "HTTP/2 State-Machine based protocol implementation"
+ readme = "README.rst"
+-license-files = { paths = ["LICENSE"] }
++license-files = ["LICENSE"]
+ license = "MIT"
+ keywords = ["http2", "hpack", "h2"]
+ authors = [