Package: rest2web
Version: 0.5.2~alpha+svn-r248-2
Severity: minor
Tags: patch
The "gallery" plugin of rest2web requires python-imaging. python-imaging
though is being replaced by python-pil, which is recommended already by
python-docutils.
For this, the Image import needs to be updated (see the attached patch).
I would also suggest to add a direct "Recommend: python-pil" to the
dependencies of rest2web.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.4.3-kvm-i386-20120618
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rest2web depends on:
ii python 2.7.5-5
ii python-docutils 0.11-3
ii python-support 1.0.15
rest2web recommends no packages.
Versions of packages rest2web suggests:
ii rest2web-doc 0.5.2~alpha+svn-r248-2
--- gallery.py.Orig 2013-12-26 16:33:17.000000000 +0100
+++ gallery.py 2013-12-26 16:33:30.000000000 +0100
@@ -36,7 +36,7 @@
# image imports
try:
- import Image
+ from PIL import Image
except ImportError:
raise ImportError('Importing PIL - Python Imaging Library - failed.')