The event_rpcgen.py installed by libevent works fine with python 3, see the upstream commit https://github.com/libevent/libevent/commit/8b0aa7b36a3250fad4953f194c8a94ab25032583. Please fix USES: -USES= autoreconf libtool pathfix pkgconfig python:2.7,env shebangfix +USES= autoreconf libtool pathfix pkgconfig python:env shebangfix
A commit references this bug: Author: zeising Date: Mon May 18 21:09:53 UTC 2020 New revision: 535788 URL: https://svnweb.freebsd.org/changeset/ports/535788 Log: devel/libevent: Don't force Python 2.7 There is no need to force the use of python 2.7 in libevent, it has been updated to work with python 3 in this upstream commit: https://github.com/libevent/libevent/commit/8b0aa7b36a3250fad4953f194c8a94ab25032583 Bump portrevision to force rebuild PR: 246465 Reported by: gahr@ Changes: head/devel/libevent/Makefile
Committed, thanks for the report!