git: 56fb65d86071 - main - devel/py-flake8-pyi: Fix build with py-hatchling 1.20.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Dec 2023 09:09:03 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=56fb65d86071507492cbcfe48cd9a83730fe0e99

commit 56fb65d86071507492cbcfe48cd9a83730fe0e99
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 09:00:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 09:00:10 +0000

    devel/py-flake8-pyi: Fix build with py-hatchling 1.20.0
---
 devel/py-flake8-pyi/files/patch-pyproject.toml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/devel/py-flake8-pyi/files/patch-pyproject.toml b/devel/py-flake8-pyi/files/patch-pyproject.toml
new file mode 100644
index 000000000000..a9dc037c1937
--- /dev/null
+++ b/devel/py-flake8-pyi/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig	2020-02-02 00:00:00 UTC
++++ pyproject.toml
+@@ -74,6 +74,9 @@ dev = [
+ [project.entry-points]
+ "flake8.extension" = {Y0 = "pyi:PyiTreeChecker"}
+ 
++[tool.hatch.build.targets.wheel]
++packages = ["pyi.py"]
++
+ [tool.hatch.version]
+ source = "vcs"
+