public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/nml/files/
Date: Sat, 23 Dec 2017 13:11:19 +0000 (UTC)	[thread overview]
Message-ID: <1514034666.3f2781e9142934dfa52e1b3fd349f92eab57ab06.soap@gentoo> (raw)

commit:     3f2781e9142934dfa52e1b3fd349f92eab57ab06
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Dec 22 15:30:08 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 13:11:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2781e9

games-util/nml: remove unused patch

 games-util/nml/files/nml-0.4.2-pillow3.patch | 31 ----------------------------
 1 file changed, 31 deletions(-)

diff --git a/games-util/nml/files/nml-0.4.2-pillow3.patch b/games-util/nml/files/nml-0.4.2-pillow3.patch
deleted file mode 100644
index 914cef24df5..00000000000
--- a/games-util/nml/files/nml-0.4.2-pillow3.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- nml-0.4.2/nml/lz77.py
-+++ nml-0.4.2/nml/lz77.py
-@@ -25,7 +25,7 @@
-     @return: Compressed data.
-     @rtype:  C{bytearray}
-     """
--    stream = data.tostring()
-+    stream = data.tobytes()
-     position = 0
-     output = array.array('B')
-     literal_bytes = array.array('B')
---- nml-0.4.2/nml/spriteencoder.py
-+++ nml-0.4.2/nml/spriteencoder.py
-@@ -276,7 +276,7 @@
-                 pos = generic.build_position(sprite_info.poslist)
-                 raise generic.ScriptError("Read beyond bounds of image file '{}'".format(filename_32bpp.value), pos)
-             sprite = im.crop((x, y, x + size_x, y + size_y))
--            rgb_sprite_data = sprite.tostring()
-+            rgb_sprite_data = sprite.tobytes()
- 
-             if (info_byte & INFO_ALPHA) != 0:
-                 # Check for half-transparent pixels (not valid for ground sprites)
-@@ -296,7 +296,7 @@
-                 raise generic.ScriptError("Read beyond bounds of image file '{}'".format(filename_8bpp.value), pos)
-             mask_sprite = mask_im.crop((mask_x, mask_y, mask_x + size_x, mask_y + size_y))
- 
--            mask_sprite_data = self.palconvert(mask_sprite.tostring(), im_mask_pal)
-+            mask_sprite_data = self.palconvert(mask_sprite.tobytes(), im_mask_pal)
- 
-             # Check for white pixels; those that cause "artefacts" when shading
-             pixel_stats['white'] = sum(p == 255 for p in mask_sprite_data)


                 reply	other threads:[~2017-12-23 13:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1514034666.3f2781e9142934dfa52e1b3fd349f92eab57ab06.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox