- Fix work with py 2.6
PR: 143070 Submitted by: Edmondas Girkantas <eg@fbsd.lt>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gadfly
|
||||
PORTVERSION= 1.0.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
||||
34
databases/gadfly/files/patch-bindngs
Normal file
34
databases/gadfly/files/patch-bindngs
Normal file
@@ -0,0 +1,34 @@
|
||||
--- gadfly/bindings.py.orig 2010-01-21 23:10:47.000000000 +0200
|
||||
+++ gadfly/bindings.py 2010-01-21 23:11:28.000000000 +0200
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
# create view statement stuff
|
||||
def createview(l, c):
|
||||
- [create, view, name, namelist, as, selection] = l
|
||||
+ [create, view, name, namelist, as_, selection] = l
|
||||
return semantics.CreateView(name, namelist, selection)
|
||||
|
||||
optnamelist0 = returnNone
|
||||
@@ -288,11 +288,11 @@
|
||||
return others
|
||||
|
||||
def trl1as(l,c):
|
||||
- [name, as, alias] = l
|
||||
+ [name, as_, alias] = l
|
||||
return [(name, alias)]
|
||||
|
||||
def trlnas(l,c):
|
||||
- [name, as, alias, comma, others] = l
|
||||
+ [name, as_, alias, comma, others] = l
|
||||
others.insert(0, (name, alias))
|
||||
return others
|
||||
|
||||
@@ -546,7 +546,7 @@
|
||||
return (exp, None) # no binding!
|
||||
|
||||
def selectname(list, context):
|
||||
- [exp, as, alias] = list
|
||||
+ [exp, as_, alias] = list
|
||||
return (exp, alias)
|
||||
|
||||
colalias = elt0
|
||||
@@ -4,6 +4,8 @@ bin/gfserver
|
||||
%%PYTHON_SITELIBDIR%%/gadfly/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/gadfly/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/gadfly/bindings.py
|
||||
%%PYTHON_SITELIBDIR%%/gadfly/bindings.pyc
|
||||
%%PYTHON_SITELIBDIR%%/gadfly/bindings.pyo
|
||||
%%PYTHON_SITELIBDIR%%/gadfly/client.py
|
||||
%%PYTHON_SITELIBDIR%%/gadfly/client.pyc
|
||||
%%PYTHON_SITELIBDIR%%/gadfly/client.pyo
|
||||
|
||||
Reference in New Issue
Block a user