From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1620D139083 for ; Sat, 23 Dec 2017 13:11:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B3C9E0E9A; Sat, 23 Dec 2017 13:11:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 36F9CE0E9A for ; Sat, 23 Dec 2017 13:11:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DA47341681 for ; Sat, 23 Dec 2017 13:11:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81EE0AEA8 for ; Sat, 23 Dec 2017 13:11:19 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1514034666.3f2781e9142934dfa52e1b3fd349f92eab57ab06.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/nml/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/nml/files/nml-0.4.2-pillow3.patch X-VCS-Directories: games-util/nml/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 3f2781e9142934dfa52e1b3fd349f92eab57ab06 X-VCS-Branch: master Date: Sat, 23 Dec 2017 13:11:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 129f850a-c2e5-4277-84e4-a91fa10b7812 X-Archives-Hash: 1154916d222e2129214517562138b0ec commit: 3f2781e9142934dfa52e1b3fd349f92eab57ab06 Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Dec 22 15:30:08 2017 +0000 Commit: David Seifert gentoo 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)