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

Bug 471516

Summary: games-util/nml-0.2.4-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: chalucha, cornicx, hendrik, hsggebhardt, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 471488    
Attachments: Proposed patch
Proposed ebuild update

Description Arfrever Frehtes Taifersar Arahesis 2013-05-28 00:33:06 UTC
games-util/nml-0.2.4-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 *
nml/ast/alt_sprites.py:import os, Image
nml/output_grf.py:    import Image
nml/version_info.py:        import Image
nml/main.py:    import Image
nml/actions/real_sprite.py:import os, Image
Comment 1 Mike Gilbert gentoo-dev 2013-06-10 23:29:11 UTC
*** Bug 472918 has been marked as a duplicate of this bug. ***
Comment 2 tman 2013-06-12 05:26:01 UTC
please change the dependencies on : virtual/python-imaging
Comment 3 Julian Ospald 2013-07-10 00:04:40 UTC
*** Bug 476174 has been marked as a duplicate of this bug. ***
Comment 4 Jakob Kummerow 2013-07-20 11:04:51 UTC
Created attachment 353702 [details, diff]
Proposed patch

Patch to fix the deprecated import statements
Comment 5 Jakob Kummerow 2013-07-20 11:06:17 UTC
Created attachment 353704 [details]
Proposed ebuild update

Updated ebuild that applies the patch and depends on virtual/python-imaging
Comment 6 Arfrever Frehtes Taifersar Arahesis 2013-07-20 18:36:26 UTC
  20 Jul 2013; Michael Sterrett <mr_bones_@gentoo.org>
  +files/nml-0.2.4-pillow.patch, nml-0.2.4-r1.ebuild:
  use virtual/python-imaging with patch from Jakob Kummerow (bug #471516)