aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-11-05 23:54:25 +0800
committermiwi <miwi@FreeBSD.org>2007-11-05 23:54:25 +0800
commit53b4506ed6ded4cf869b6519fa9b534e676cc480 (patch)
treed9be525bf322b9240c827f91f51ca921ab2c1eb1 /deskutils
parentc273853c20cbd4876e6c92f9a72b167d94b9b3c0 (diff)
downloadfreebsd-ports-gnome-53b4506ed6ded4cf869b6519fa9b534e676cc480.tar.gz
freebsd-ports-gnome-53b4506ed6ded4cf869b6519fa9b534e676cc480.tar.zst
freebsd-ports-gnome-53b4506ed6ded4cf869b6519fa9b534e676cc480.zip
- Fix python byte-compiling error preventing make package
PR: 117650 Submitted by: pointyhat Pietro Cerutti <gahr@gahr.ch> Approved by: portmgr (pav)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/narval/files/patch-apycot.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/deskutils/narval/files/patch-apycot.py b/deskutils/narval/files/patch-apycot.py
new file mode 100644
index 000000000000..3ae2727de457
--- /dev/null
+++ b/deskutils/narval/files/patch-apycot.py
@@ -0,0 +1,20 @@
+--- apycot.py.orig 2007-11-05 12:48:48.000000000 +0100
++++ apycot.py 2007-11-05 12:49:18.000000000 +0100
+@@ -17,6 +17,8 @@
+ # You should have received a copy of the GNU Lesser General Public
+ # License along with this library; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++from __future__ import generators
++
+ """Apycot_ extenstions for narval acceptance tests
+
+ .. _Apycot: http://www.logilab.org/projects/apycot
+@@ -44,8 +46,6 @@
+ __revision__ = '$Id: autotest.py,v 1.2 2002/08/14 11:47:37 syt Exp $'
+ __docformat__ = "restructuredtext en"
+
+-from __future__ import generators
+-
+ import sys
+ import re
+ import traceback