summaryrefslogtreecommitdiffstats
path: root/python/python-magick/patches/__init__-fixup
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2013-05-28 17:45:31 +0200
committer Robby Workman <rworkman@slackbuilds.org>2013-11-06 00:56:47 -0600
commit4e9f1ae0907d8bed85549e4d197abaf3bbf90747 (patch)
treec74313c6a9acb0523f26ded1afe13a124ed9147e /python/python-magick/patches/__init__-fixup
parent678fb210c02fc05123b5dc44418a2fba71e44a8e (diff)
downloadslackbuilds-4e9f1ae0907d8bed85549e4d197abaf3bbf90747.tar.gz
slackbuilds-4e9f1ae0907d8bed85549e4d197abaf3bbf90747.tar.xz
python/python-magick: Fixed the build system.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python/python-magick/patches/__init__-fixup')
-rw-r--r--python/python-magick/patches/__init__-fixup13
1 files changed, 13 insertions, 0 deletions
diff --git a/python/python-magick/patches/__init__-fixup b/python/python-magick/patches/__init__-fixup
new file mode 100644
index 0000000000..76154ef209
--- /dev/null
+++ b/python/python-magick/patches/__init__-fixup
@@ -0,0 +1,13 @@
+diff -Naur PythonMagick-0.9.8.orig/PythonMagick/__init__.py PythonMagick-0.9.8/PythonMagick/__init__.py
+--- PythonMagick-0.9.8.orig/PythonMagick/__init__.py 2012-01-25 21:03:38.000000000 +0100
++++ PythonMagick-0.9.8/PythonMagick/__init__.py 2012-09-20 06:04:26.032241745 +0200
+@@ -1,7 +1,5 @@
+-from . import _PythonMagick
+-
+-class Image(_PythonMagick.Image):
+- pass
++import PythonMagick._PythonMagick as _PythonMagick
++from PythonMagick._PythonMagick import *
+
+ class Blob(_PythonMagick.Blob):
+ def __init__(self,*args):