summaryrefslogtreecommitdiff
path: root/games-util/nml
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/nml')
-rw-r--r--games-util/nml/Manifest1
-rw-r--r--games-util/nml/files/nml-0.4.2-pillow3.patch31
2 files changed, 0 insertions, 32 deletions
diff --git a/games-util/nml/Manifest b/games-util/nml/Manifest
index 5af8439e2f4e..6df176b6b8c0 100644
--- a/games-util/nml/Manifest
+++ b/games-util/nml/Manifest
@@ -1,4 +1,3 @@
-AUX nml-0.4.2-pillow3.patch 1409 BLAKE2B b2e08dfbf1fc3b3be5c10b59bd7a44437a72367fcb2ffeace26e811d81fe65803212943ef995e7fa9022754570ff35b10d6a5abc1870bef2886a275d114333e5 SHA512 1d4ddbc2ac779311d04271fbc2d1b95d2ad31298d4cc9c4312c301712491d5f4173e9e1177edcf3f685da1ca0645ed981c8b7fb58de052005e0ae0a2773d5320
AUX nml-0.4.4-pillow3.patch 288 BLAKE2B 5d1446821d75432002a36439c6e39fa7f644f9a63be0da178c33287893fe65637d6ce66aa55df916227636cb8e0228a08e363a0b682b02dc63823a671b50849c SHA512 cdb6113102fadbf3b3d9cab930b15cfd88d609c9bb09048a3fb247051169933a0796c10d0c29b9d6bf9320ddcf73a4681255d8e1465a7a98268029d3433ba524
DIST nml-0.4.4.tar.gz 377998 BLAKE2B a65df2c371c1b1dda2469a968372f21f9f27e9739c8d8a9a0f582c126169921ee3ffc9745f6ef4ac21aebdeea35fd26385d3149e84d50381c4796b71b378571f SHA512 fd7b8d7abfc8b5ea694eedf00bbc4069a82de942178a58ec05e9d3efe7c8663103ffb6b98f7614ce165eb7cba42cb4c7589f77fb67dd95eb6293f62b3179c7b0
EBUILD nml-0.4.4-r1.ebuild 696 BLAKE2B 67e057ae09d01368159f7a2769cab4935c077a54c40b5b65641955acf8570f4b5ec6d42d961851f2f0bd41d2b255eeecfdc3921da71d796050069d1ad926c9af SHA512 404842e94347d163a876c07d1e28b117994d6c4fb94cad973b67f9240fbfcdc6043fa8c8820dfe5ca45e89ef04d689bf328737c2ad900fcd60b3688e15fe0a9d
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 914cef24df51..000000000000
--- 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)