Created attachment 247451 [details] patch
I don't think this is exactly what you wanted or meant. This port should be renamed to match the upstream. Will do accordingly.
(In reply to Muhammad Moinur Rahman from comment #1) The patch renames the package pygithub -> PyGithub according to https://pypi.org/project/PyGithub/ But the directory is left devel/py-pygithub.
(In reply to Yuri Victorovich from comment #2) Exactly. That's what is lacking. However have taken care of it. Will push in my next batches.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf6c371912524933a5d8780062b15d82001e17ad commit cf6c371912524933a5d8780062b15d82001e17ad Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-06 05:32:45 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-06 09:44:45 +0000 devel/py-pygithub: Rename port to match upstream - Update version 1.57=>2.1.1 Changelog: https://github.com/PyGithub/PyGithub/releases/tag/v2.1.1 PR: 276122 MOVED | 1 + devel/Makefile | 2 +- devel/py-PyGithub/Makefile (new) | 31 ++++++++++++++++++++++++++++ devel/py-PyGithub/distinfo (new) | 3 +++ devel/{py-pygithub => py-PyGithub}/pkg-descr | 0 devel/py-frictionless/Makefile | 2 +- devel/py-pygithub/Makefile (gone) | 25 ---------------------- devel/py-pygithub/distinfo (gone) | 3 --- math/mathlibtools/Makefile | 2 +- sysutils/py-azure-cli/Makefile | 2 +- sysutils/py-keep/Makefile | 2 +- 11 files changed, 40 insertions(+), 33 deletions(-)