Bug 77896 - mail/getmail: Add patch to not use "strict" with Python 2.4
Summary: mail/getmail: Add patch to not use "strict" with Python 2.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cheng-Lung Sung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 00:30 UTC by Linh Pham
Modified: 2005-03-04 04:00 UTC (History)
1 user (show)

See Also:


Attachments
getmail,python2.4-patches.diff (3.13 KB, patch)
2005-02-22 00:30 UTC, Linh Pham
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Linh Pham 2005-02-22 00:30:20 UTC
Add patches to mail/getmail to tell modules not to use "strict" when program
is executed with Python 2.4 or newer.

Borrowed patch from Gentoo Portage of net-mail/getmail. Credit goes to
Marien Zwart <m_zwart@123mail.org> per the following Gentoo Portage
change log entry:

  09 Feb 2005; Andrej Kacian <ticho@gentoo.org> +files/python2.4-fix.patch,
  +getmail-4.2.5-r1.ebuild, +getmail-4.3.1-r1.ebuild, getmail-4.3.2.ebuild:
  Fix deprecation warnings for "strict" usage in python 2.4. Patch submitted
  by Marien Zwart <m_zwart@123mail.org>, bug #80073.

Only change I made was to clean up the code a wee bit.
Comment 1 Cheng-Lung Sung freebsd_committer freebsd_triage 2005-02-22 06:05:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

Grab.
Comment 2 Cheng-Lung Sung freebsd_committer freebsd_triage 2005-03-04 03:59:58 UTC
State Changed
From-To: open->closed

Committed, Thank you.