Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 471506

Summary: dev-python/htmlgen-2.2.2: Deprecated imports of PIL modules
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 471488    

Description Arfrever Frehtes Taifersar Arahesis 2013-05-28 00:12:33 UTC
dev-python/htmlgen-2.2.2 contains deprecated imports of PIL modules, which are no longer supported in >=dev-python/imaging-2.0.0. See bug #471488 for details.

$ find_pil_deprecated_imports *
ImageH.py:    # directly; import Image and use the core variable instead.
ImageH.py:          import ImageTk
ImagePaletteH.py:            import GimpPaletteFile
ImagePaletteH.py:            import GimpGradientFile
ImagePaletteH.py:            import PaletteFile
imgsize.py:    import Image
Comment 1 Mike Gilbert gentoo-dev 2013-06-08 18:11:00 UTC
+*htmlgen-2.2.2-r1 (08 Jun 2013)
+
+  08 Jun 2013; Mike Gilbert <floppym@gentoo.org> +files/htmlgen-pillow.patch,
+  +htmlgen-2.2.2-r1.ebuild:
+  Convert to python-r1. Fix PIL imports, bug 471506.
+