Bug 246465 - devel/libevent - do not force python 2.7
Summary: devel/libevent - do not force python 2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Niclas Zeising
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-14 10:29 UTC by Pietro Cerutti
Modified: 2020-05-18 21:11 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zeising)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro Cerutti freebsd_committer 2020-05-14 10:29:26 UTC
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
Comment 1 commit-hook freebsd_committer 2020-05-18 21:10:32 UTC
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
Comment 2 Niclas Zeising freebsd_committer 2020-05-18 21:11:20 UTC
Committed, thanks for the report!