Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyavm/files/
Date: Sat, 02 Sep 2017 15:10:41
Message-Id: 1504365027.40d3efb87c4641554457e53d9df5d038430a019e.kensington@gentoo
1 commit: 40d3efb87c4641554457e53d9df5d038430a019e
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 16 12:20:43 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 15:10:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d3efb8
7
8 dev-python/pyavm: remove unused patch
9
10 .../pyavm/files/pyavm-0.9.2-deprecated-fromstring.patch | 15 ---------------
11 1 file changed, 15 deletions(-)
12
13 diff --git a/dev-python/pyavm/files/pyavm-0.9.2-deprecated-fromstring.patch b/dev-python/pyavm/files/pyavm-0.9.2-deprecated-fromstring.patch
14 deleted file mode 100644
15 index 0e16177b887..00000000000
16 --- a/dev-python/pyavm/files/pyavm-0.9.2-deprecated-fromstring.patch
17 +++ /dev/null
18 @@ -1,15 +0,0 @@
19 -Description: Exception: fromstring() has been removed. Now frombytes() is called instead.
20 -Author: Josue Ortega <josueortega@××××××××××.gt>
21 -Last-Update: 2015-12-20
22 -
23 ---- a/pyavm/tests/test_main.py
24 -+++ b/pyavm/tests/test_main.py
25 -@@ -46,7 +46,7 @@
26 - @pytest.mark.parametrize('filename', XML_FILES_WCS)
27 - def test_to_wcs_target_image(filename, tmpdir):
28 - from PIL import Image
29 -- image = Image.fromstring(data=b"1111", size=(2,2), mode="L")
30 -+ image = Image.frombytes(data=b"1111", size=(2,2), mode="L")
31 - image_file = tmpdir.join('test.png').strpath
32 - image.save(image_file)
33 - image.close()