Summary: | mail/fetchmailconf: Unable to locate 'Tkinter' | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerard Seibert <gerard_seibert> | ||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | chalpin, pi | ||||
Priority: | --- | Flags: | chalpin:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Gerard Seibert
2019-07-16 12:03:37 UTC
Created attachment 205971 [details]
Proposed fix
When the fetchmailconf port was split off from fetchmail, it inherited some python version detection logic that had been intended to let fetchmail be installed with or without python and work either way. However, this logic 1) no longer works with current python packaging, and 2) doesn't really make sense in the context of a 'fetchmailconf' port that already depends on python.
This patch simplifies out that logic.
Passes 'portlint' and 'poudriere testport', works correctly when installed on FreeBSD 12.0/amd64.
(In reply to Corey Halpin from comment #1) Do you see a chance to get this running with a python3 version ? py2 will go out of fashion at the end of 2019... ? testbuilds@work A commit references this bug: Author: pi Date: Sun Aug 4 12:44:58 UTC 2019 New revision: 508092 URL: https://svnweb.freebsd.org/changeset/ports/508092 Log: mail/fetchmailconf: fix use by simplifing the search for Tkinter etc When the fetchmailconf port was split off from fetchmail, it inherited some python version detection logic that had been intended to let fetchmail be installed with or without python and work either way. However, this logic 1) no longer works with current python packaging, and 2) doesn't really make sense in the context of a 'fetchmailconf' port that already depends on python. This patch simplifies out that logic. PR: 239248 Submitted by: Corey Halpin <chalpin@cs.wisc.edu> (maintainer) Reported by: gerard_seibert@outlook.com Changes: head/mail/fetchmailconf/Makefile head/mail/fetchmailconf/files/fetchmailconf.in head/mail/fetchmailconf/pkg-plist Committed, thanks! (In reply to Kurt Jaeger from comment #2) fetchmail 6.4.0 beta5 contains fixes for python3. At this point, my plan is to wait for the 6.4.0 final release to get those fixes. |