Bug 136799 - [patch] mail/py-milter: Fix Python version requirement
Summary: [patch] mail/py-milter: Fix Python version requirement
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: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-15 18:00 UTC by Oliver Fromme
Modified: 2009-07-16 06:30 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (266 bytes, patch)
2009-07-15 18:00 UTC, Oliver Fromme
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Fromme 2009-07-15 18:00:06 UTC
Currently the mail/py-milter port cotains the line

USE_PYTHON=2.4

which means it always pulls in python24 as a dependency,
even if a newer Python version is already installed.

However, the py-milter port works perfectly fine with
Python 2.5 and 2.6 (not with 3.x, though).  It's not
necessary to install an old Python version.

The patch below changes the requirement, so any newer
2.x version is accepted (note that Python's C API is
stable across a major version number).

How-To-Repeat: 
Install Python (the current default version is 2.6),
then try to install mail/py-milter.  It will install
the old Python 2.4 as a dependency.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-15 18:00:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-15 18:00:19 UTC
Maintainer of mail/py-milter,

Please note that PR ports/136799 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136799

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-15 18:00:21 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 georg 2009-07-15 19:06:59 UTC
I approve this patch!

thank you,
  George


Edwin Groothuis schrieb:
> Maintainer of mail/py-milter,
> 
> Please note that PR ports/136799 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136799
> 



-- 
Georg Graf       http://georg.graf.priv.at/       PGP Key ID: 0xA5232AD5
Gobergasse 43/2            A-1130 Wien              Tel: +43 680 2083606

Comment 5 Li-Wen Hsu freebsd_committer freebsd_triage 2009-07-16 06:27:20 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2009-07-16 06:27:20 UTC
lwhsu       2009-07-16 05:27:06 UTC

  FreeBSD ports repository

  Modified files:
    mail/py-milter       Makefile 
  Log:
  - Fix Python version requirement, this port works fine with Python 2.4+,
    but not 3.0+
  
  PR:             ports/136799
  Submitted by:   Oliver Fromme <olli AT secnetix.de>
  Approved by:    Georg Graf <georg AT graf.priv.at> (maintainer)
  
  Revision  Changes    Path
  1.13      +1 -1      ports/mail/py-milter/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"