Created attachment 247254 [details] Update to 1.2.1 Update to 1.2.1: https://github.com/wtforms/flask-wtf/releases/tag/v1.2.1 - Port uses devel/py-hatchling, so remove use of ${PY_SETUPTOOL}, and ${PYDISTUTILS_SETUP} - Update ${TEST_DEPENDS} and use py-tox for testing - Add option DOCS, and build Sphinx documentation - Add option EMAIL for form validation of email addresses The release on PyPI does not include the requirements directory, needed for testing, so I switched to Github. There is a Python namespace dance I am not familiar with, using either the PiPY or Github release results in naming problems with .whl that prevent the build from finding it. I added a post-build, do-install, and post-stage targets to the Makefile to locate, and rename the .whl, and then regenerate ${WRKDIR}/.PLIST.pymodtmp). Seems like too much work.
Created attachment 247864 [details] Update to 1.2.1 Add man pages.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=33b886908000eabd21edcdd855564279aab3bfcd commit 33b886908000eabd21edcdd855564279aab3bfcd Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-02-18 16:50:16 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-02-18 16:50:16 +0000 www/py-flask-wtf: update to 1.2.1 - change portname to match upstream - add conditional dependency on email-validator (default on) PR: 275938 Submitted by: Alastair Hogge <agh@riseup.net> (based on) www/py-flask-wtf/Makefile | 21 ++++++++++----------- www/py-flask-wtf/distinfo | 6 +++--- 2 files changed, 13 insertions(+), 14 deletions(-)
Alastair, skipped DOCS changes for now, because it adds complexity that I can't handle at the moment. I'll think how to do that better in spare time. Right now there is urgent need to just update the port to make it work with current flask. I also skipped github transition change to keep things simple. `make test` works just fine now. Thank you for your patch and suggested changes! It is a great work!
Thanks, Ruslan.