aboutsummaryrefslogtreecommitdiffstats
path: root/databases/gadfly
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-01-25 16:55:35 +0800
committermiwi <miwi@FreeBSD.org>2010-01-25 16:55:35 +0800
commit052f1bbab20e38effec7cb14866d2d3eff2e7651 (patch)
treeb6fc815a8e3d65ce420d8be6d1981261b31c93da /databases/gadfly
parent41e7fedfe63ba16355d8cc86e0eddd0ca216220a (diff)
downloadfreebsd-ports-gnome-052f1bbab20e38effec7cb14866d2d3eff2e7651.tar.gz
freebsd-ports-gnome-052f1bbab20e38effec7cb14866d2d3eff2e7651.tar.zst
freebsd-ports-gnome-052f1bbab20e38effec7cb14866d2d3eff2e7651.zip
- Fix work with py 2.6
PR: 143070 Submitted by: Edmondas Girkantas <eg@fbsd.lt>
Diffstat (limited to 'databases/gadfly')
-rw-r--r--databases/gadfly/Makefile2
-rw-r--r--databases/gadfly/files/patch-bindngs34
-rw-r--r--databases/gadfly/pkg-plist2
3 files changed, 37 insertions, 1 deletions
diff --git a/databases/gadfly/Makefile b/databases/gadfly/Makefile
index 82637a50a5a1..36841e9b225d 100644
--- a/databases/gadfly/Makefile
+++ b/databases/gadfly/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gadfly
PORTVERSION= 1.0.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= databases
MASTER_SITES= SF
diff --git a/databases/gadfly/files/patch-bindngs b/databases/gadfly/files/patch-bindngs
new file mode 100644
index 000000000000..ebd668ac8689
--- /dev/null
+++ b/databases/gadfly/files/patch-bindngs
@@ -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
diff --git a/databases/gadfly/pkg-plist b/databases/gadfly/pkg-plist
index 502a064efd84..045a2c81abb9 100644
--- a/databases/gadfly/pkg-plist
+++ b/databases/gadfly/pkg-plist
@@ -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