summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2008-08-09 17:31:46 +0000
committerJesus Rivero <neurogeek@gentoo.org>2008-08-09 17:31:46 +0000
commit9eb82a194ecca6ce15ee178c36147e9f4e7b388b (patch)
treeefd675f098516b1812b2e27e93f362a4799e065b /dev-python/visual/files
parentalpha/ia64/sparc stable wrt #234191 (diff)
downloadhistorical-9eb82a194ecca6ce15ee178c36147e9f4e7b388b.tar.gz
historical-9eb82a194ecca6ce15ee178c36147e9f4e7b388b.tar.bz2
historical-9eb82a194ecca6ce15ee178c36147e9f4e7b388b.zip
Rev bump. Fixes bugs #176431, #143237, #222205 and #172634
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-python/visual/files')
-rw-r--r--dev-python/visual/files/visual-3.2.9-import_bug143237.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/visual/files/visual-3.2.9-import_bug143237.patch b/dev-python/visual/files/visual-3.2.9-import_bug143237.patch
new file mode 100644
index 000000000000..ecb42ce1749a
--- /dev/null
+++ b/dev-python/visual/files/visual-3.2.9-import_bug143237.patch
@@ -0,0 +1,31 @@
+--- site-packages/visual/__init__.py 2008-06-30 22:39:08.000000000 -0430
++++ site-packages/visual/__init__.py 2008-06-30 22:39:53.000000000 -0430
+@@ -13,6 +13,14 @@
+
+ # Don't try this at home!
+ import array_backend
++
++#Import visual modules
++import crayola
++color = crayola
++from visual.primitives import arrow, cylinder, cone, sphere, box, ring, label
++from visual.primitives import frame, curve, pyramid, ellipsoid, convex, faces, helix
++from visual.ui import display
++
+ # The following is intended to be equivalent to:
+ # >>> from array_backend.backend[0] import *
+ vars = __import__(array_backend.backend[0], globals(), locals(), [])
+@@ -21,13 +29,8 @@
+ locals()[i] = j
+
+ # import all of the public modules into the global namespace
+-import crayola
+-color = crayola
+ import cvisual
+ from cvisual import vector, mag, mag2, norm, cross, rotate, comp, proj, diff_angle, rate
+-from visual.primitives import arrow, cylinder, cone, sphere, box, ring, label
+-from visual.primitives import frame, curve, pyramid, ellipsoid, convex, faces, helix
+-from visual.ui import display
+ from cvisual import vector_array, scalar_array
+
+ def __waitclose():