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

Bug 471514

Summary: games-board/pysolfc-2.0-r1: Deprecated imports of PIL modules
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: python
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:30:07 UTC
games-board/pysolfc-2.0-r1 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 *
pysollib/mfxutil.py:        import Image
pysollib/mfxutil.py:        import ImageTk
pysollib/mfxutil.py:        import ImageOps
pysollib/mfxutil.py:        import GifImagePlugin
pysollib/mfxutil.py:        import PngImagePlugin
pysollib/mfxutil.py:        import JpegImagePlugin
pysollib/mfxutil.py:        import BmpImagePlugin
pysollib/mfxutil.py:        import PpmImagePlugin
scripts/cardset_viewer.py:    import Image, ImageTk
Comment 1 Julian Ospald 2013-06-23 20:51:01 UTC
seems python herd cannot decide what to do

now they have renamed >=dev-python/imaging-2.0.0 to dev-python/pillow and introduced virtual/python-imaging which might be removed someday, because it's just for transition... or not

that's a bit vague

I'll just do nothing until they know what they want
Comment 2 Julian Ospald 2013-06-23 20:55:09 UTC
or let them handle it...
Comment 3 Mike Gilbert gentoo-dev 2013-06-23 21:45:12 UTC
+*pysolfc-2.0-r2 (23 Jun 2013)
+
+  23 Jun 2013; Mike Gilbert <floppym@gentoo.org>
+  +files/pysolfc-PIL-imports.patch, +pysolfc-2.0-r2.ebuild:
+  Update PIL imports and depend on virtual/python-imaging, bug 471514.
Comment 4 Mike Gilbert gentoo-dev 2013-06-23 21:45:36 UTC
I also submitted a patch upstream.

https://sourceforge.net/p/pysolfc/patches/10/