Bug 149252 - [PATCH] databases/py-pylibmc: Restrict Python version to 2.5+
Summary: [PATCH] databases/py-pylibmc: 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: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 22:20 UTC by Greg Larkin
Modified: 2010-08-04 07:20 UTC (History)
1 user (show)

See Also:


Attachments
py25-pylibmc-1.1.1.patch (476 bytes, patch)
2010-08-03 22:20 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-03 22:20:06 UTC
pylibmc fails to build with Python forced to version 2.4:

copying build/lib.freebsd-8.0-RC2-i386-2.4/pylibmc.py -> /usr/local/lib/python2.4/site-packages
copying build/lib.freebsd-8.0-RC2-i386-2.4/_pylibmc.so -> /usr/local/lib/python2.4/site-packages
byte-compiling /usr/local/lib/python2.4/site-packages/pylibmc.py to pylibmc.pyc
SyntaxError: ('future feature with_statement is not defined',)
writing byte-compilation script '/tmp/tmp1TnhkC.py'
/usr/local/bin/python2.4 -O /tmp/tmp1TnhkC.py
SyntaxError: ('future feature with_statement is not defined',)
removing /tmp/tmp1TnhkC.py

I changed USE_PYTHON to 2.5+ to restrict the Python version.

Port maintainer (gslin@gslin.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-08-03 22:20:18 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 2010-08-03 22:20:22 UTC
Maintainer of databases/py-pylibmc,

Please note that PR ports/149252 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/149252

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2010-08-03 22:20:24 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 gslin 2010-08-04 05:12:15 UTC
Thanks, please commit it.
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2010-08-04 05:45:18 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 6 Li-Wen Hsu freebsd_committer freebsd_triage 2010-08-04 07:10:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2010-08-04 07:10:11 UTC
lwhsu       2010-08-04 06:09:50 UTC

  FreeBSD ports repository

  Modified files:
    databases/py-pylibmc Makefile 
  Log:
  - Restrict Python version to 2.5+
  
  PR:             ports/149252
  Submitted by:   glarkin
  Approved by:    Gea-Suan Lin <gslin AT gslin.org> (maintainer)
  
  Revision  Changes    Path
  1.6       +1 -1      ports/databases/py-pylibmc/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"