Bug 117650 - [patch] deskutils/narval fix python byte-compiling error preventing make package
Summary: [patch] deskutils/narval fix python byte-compiling error preventing make package
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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-30 00:00 UTC by Pietro Cerutti
Modified: 2007-11-05 16:00 UTC (History)
0 users

See Also:


Attachments
file.diff (689 bytes, patch)
2007-10-30 00:00 UTC, Pietro Cerutti
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro Cerutti 2007-10-30 00:00:06 UTC
deskutils/narval fails to byte-compile the apycot.py module because the import line "from __future__ import generators" requires to appear at the beginning of the file (before metadata).

Fix: Add this file as files/patch-apycot:
How-To-Repeat: cd /usr/ports/deskutils/narval && make package
Comment 1 Pietro Cerutti 2007-11-03 22:54:13 UTC
Here's the patch (forget about the messed-up crap above..):

http://www.gahr.ch/FreeBSD/patches/117650_narval_patch-apycot.py

-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2007-11-05 12:24:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-11-05 15:54:30 UTC
miwi        2007-11-05 15:54:25 UTC

  FreeBSD ports repository

  Added files:
    deskutils/narval/files patch-apycot.py 
  Log:
  - Fix python byte-compiling error preventing make package
  
  PR:             117650
  Submitted by:   pointyhat
                  Pietro Cerutti <gahr@gahr.ch>
  Approved by:    portmgr (pav)
  
  Revision  Changes    Path
  1.1       +20 -0     ports/deskutils/narval/files/patch-apycot.py (new)
_______________________________________________
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"
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2007-11-05 15:54:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!