Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471516 - games-util/nml-0.2.4-r1: Deprecated imports of PIL modules
Summary: games-util/nml-0.2.4-r1: Deprecated imports of PIL modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 472918 476174 (view as bug list)
Depends on:
Blocks: 471488
  Show dependency tree
 
Reported: 2013-05-28 00:33 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2013-07-20 18:36 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch (nml-pillow.patch,1.97 KB, patch)
2013-07-20 11:04 UTC, Jakob Kummerow
Details | Diff
Proposed ebuild update (nml-0.2.4-r2.ebuild,811 bytes, text/plain)
2013-07-20 11:06 UTC, Jakob Kummerow
Details

Note You need to log in before you can comment on or make changes to this bug.
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)