Created attachment 244576 [details] py-markdown-2.4.10-v1.patch Hi Wen, attached is a patch that updates textproc/py-markdown2 to 2.4.10. Changes to the port: ~~~~~~~~~~~~~~~~~~~~ - Introduce SYNTAX and WAVEDROM options to reflect the settings in setup.py. - Make the port concurrent safe as it installs a script outside of Python's site-lib directory. - Update WWW as the repository has moved to a new location. - Hook up the test suite. This should be also MFH'ed (together with the recently added port textproc/py-wavedrom) as it fixes two security issues [1]: - c9b3324f-8e03-4ae3-89ce-8098cdc5bfa9 - cf6f3465-e996-4672-9458-ce803f29fdb7 QA: ~~~ poudriere -> OK (12.4-RELEASE amd64 for py38, py39, py310 and py311) bulk run against its consumers (main + 2023Q3 branches) -> OK Results of "make test" (py38, py39, py310, py311): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ One test fails which is a known failure: > Ran 164 tests in 0.495s > > FAILED (1 failure) > WARNING:test:skipping pygments<2.14 tests (pygments 2.16.1 found) > *** Error code 1 -- [1] Both issues were reported in bug #270923 by Hubert Tournier.
Approved! Please go ahead ! Thank you! wen
^Triage: Take bug, set maintainer-feedback due comment #1 accordingly.
Comment on attachment 244576 [details] py-markdown-2.4.10-v1.patch ^Triage: Set maintainer-approval flag accordingly as the approval was given via comment #1.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f58017fbbf3f23ae9073f0202fb3758ec5d0f0a5 commit f58017fbbf3f23ae9073f0202fb3758ec5d0f0a5 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2023-09-03 07:59:25 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-09-03 07:59:25 +0000 textproc/py-markdown2: Update to 2.4.10 * Introduce SYNTAX and WAVEDROM options to reflect the settings in setup.py accordingly. * Make the port concurrent safe as it installs a script outside of Python's site-lib directory. * Update WWW as the repository has moved to a new location. * Hook up the test suite. Changelog since 2.3.6: https://github.com/trentm/python-markdown2/compare/2.3.6...2.4.10 PR: 273513, 270923 [1] Reported by: Hubert Tournier [1] Approved by: wen (maintainer) MFH: 2023Q3 Security: c9b3324f-8e03-4ae3-89ce-8098cdc5bfa9 [1] cf6f3465-e996-4672-9458-ce803f29fdb7 [1] textproc/py-markdown2/Makefile | 25 +++++++++++++++++++++---- textproc/py-markdown2/distinfo | 6 +++--- 2 files changed, 24 insertions(+), 7 deletions(-)
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7cac28e6977bfded94c707a0f09cf8ecb7344da0 commit 7cac28e6977bfded94c707a0f09cf8ecb7344da0 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2023-09-03 07:59:25 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-09-03 08:20:24 +0000 textproc/py-markdown2: Update to 2.4.10 * Introduce SYNTAX and WAVEDROM options to reflect the settings in setup.py accordingly. * Make the port concurrent safe as it installs a script outside of Python's site-lib directory. * Update WWW as the repository has moved to a new location. * Hook up the test suite. Changelog since 2.3.6: https://github.com/trentm/python-markdown2/compare/2.3.6...2.4.10 PR: 273513, 270923 [1] Reported by: Hubert Tournier [1] Approved by: wen (maintainer) MFH: 2023Q3 Security: c9b3324f-8e03-4ae3-89ce-8098cdc5bfa9 [1] cf6f3465-e996-4672-9458-ce803f29fdb7 [1] (cherry picked from commit f58017fbbf3f23ae9073f0202fb3758ec5d0f0a5) textproc/py-markdown2/Makefile | 25 +++++++++++++++++++++---- textproc/py-markdown2/distinfo | 6 +++--- 2 files changed, 24 insertions(+), 7 deletions(-)
(In reply to Wen Heping from comment #1) Committed to the main branch and MFH'ed to the 2023Q3 branch. Thank you for the quick review and approval!