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
commitb3dae4c02dbcd639cc78175ffa995f6b6bc16999 (patch)
tree8624745690bce7ec8740f41a5f0a472f3c6f676e /dev-python/visual/files
parentalpha/ia64/sparc stable wrt #234191 (diff)
downloadgentoo-2-b3dae4c02dbcd639cc78175ffa995f6b6bc16999.tar.gz
gentoo-2-b3dae4c02dbcd639cc78175ffa995f6b6bc16999.tar.bz2
gentoo-2-b3dae4c02dbcd639cc78175ffa995f6b6bc16999.zip
Rev bump. Fixes bugs #176431, #143237, #222205 and #172634
(Portage version: 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():