Bug 149275 - [PATCH] devel/bpython: Restrict Python version to 2.5+
Summary: [PATCH] devel/bpython: Restrict Python version to 2.5+
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: Yi-Jheng Lin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 15:50 UTC by Greg Larkin
Modified: 2010-08-18 15:20 UTC (History)
1 user (show)

See Also:


Attachments
bpython-py25-0.9.6.2.patch (457 bytes, patch)
2010-08-04 15:50 UTC, Greg Larkin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Larkin freebsd_committer freebsd_triage 2010-08-04 15:50:07 UTC
bpython fails to configure with Python 2.4 installed as the default
Python version:

===>   bpython-py24-0.9.6.2 depends on file: /usr/local/bin/easy_install-2.4 - found
===>   bpython-py24-0.9.6.2 depends on file: /usr/local/bin/python2.4 - found
===>  Configuring for bpython-py24-0.9.6.2
  File "setup.py", line 51
    scripts = ([] if using_setuptools else ['data/bpython', 
                   ^
SyntaxError: invalid syntax
*** Error code 1
Stop in /a/ports/devel/bpython.

USE_PYTHON has been updated to restrict the version to 2.5+

This was noticed in a tinderbox build with the following options set:
PYTHON_VERSION=python2.4
PYTHON_DEFAULT_VERSION=python2.4

Port maintainer (yzlin@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-08-04 15:50:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->yzlin

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Greg Larkin freebsd_committer freebsd_triage 2010-08-18 15:13:08 UTC
State Changed
From-To: open->closed

Committed after maintainer timeout.
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-08-18 15:13:13 UTC
glarkin     2010-08-18 14:13:00 UTC

  FreeBSD ports repository

  Modified files:
    devel/bpython        Makefile 
  Log:
  - Restrict Python version to 2.5+ to avoid syntax error with Python 2.4
  
  PR:             ports/149275
  Submitted by:   glarkin
  Approved by:    yzlin (maintainer; timeout - 2 weeks)
  
  Revision  Changes    Path
  1.2       +1 -1      ports/devel/bpython/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"