diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-06-21 09:44:20 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-06-25 09:30:43 +0200 |
commit | d8c97b5d5cbf73fa665225bfa04e7f6a9daa6d83 (patch) | |
tree | a48da3718ba1d1484afd4099e243e91aa4f35272 /dev-python/reportlab/files | |
parent | dev-lua/lua-openssl: remove unused patch(es) (diff) | |
download | gentoo-d8c97b5d5cbf73fa665225bfa04e7f6a9daa6d83.tar.gz gentoo-d8c97b5d5cbf73fa665225bfa04e7f6a9daa6d83.tar.bz2 gentoo-d8c97b5d5cbf73fa665225bfa04e7f6a9daa6d83.zip |
dev-python/reportlab: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/16354
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/reportlab/files')
-rw-r--r-- | dev-python/reportlab/files/reportlab-3.5.13-disable-network-tests.patch | 23 | ||||
-rw-r--r-- | dev-python/reportlab/files/reportlab-3.5.13-pillow-VERSION.patch | 17 |
2 files changed, 0 insertions, 40 deletions
diff --git a/dev-python/reportlab/files/reportlab-3.5.13-disable-network-tests.patch b/dev-python/reportlab/files/reportlab-3.5.13-disable-network-tests.patch deleted file mode 100644 index e1a760d4d464..000000000000 --- a/dev-python/reportlab/files/reportlab-3.5.13-disable-network-tests.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -r f52d1198146d tests/test_lib_utils.py ---- a/tests/test_lib_utils.py Tue Jan 15 16:06:40 2019 +0000 -+++ b/tests/test_lib_utils.py Sun Jan 27 10:21:29 2019 -0500 -@@ -112,7 +112,7 @@ - "test open and read of a relative file: URL" - b = _rel_open_and_read('file:../docs/images/Edit_Prefs.gif') - -- def test9(self): -+ def xtest9(self): - "test open and read of an http: URL" - from reportlab.lib.utils import open_and_read - b = open_and_read('http://www.reportlab.com/rsrc/encryption.gif') -diff -r f52d1198146d tests/test_platypus_general.py ---- a/tests/test_platypus_general.py Tue Jan 15 16:06:40 2019 +0000 -+++ b/tests/test_platypus_general.py Sun Jan 27 10:21:29 2019 -0500 -@@ -587,7 +587,7 @@ - - class PlatypusTestCase(unittest.TestCase): - -- def test0(self): -+ def xtest0(self): - "Make a platypus document" - run() diff --git a/dev-python/reportlab/files/reportlab-3.5.13-pillow-VERSION.patch b/dev-python/reportlab/files/reportlab-3.5.13-pillow-VERSION.patch deleted file mode 100644 index 3b2093d9a8c5..000000000000 --- a/dev-python/reportlab/files/reportlab-3.5.13-pillow-VERSION.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/src/reportlab/lib/utils.py -+++ b/src/reportlab/lib/utils.py -@@ -883,7 +883,13 @@ - im = self._image - mode = self.mode = im.mode - if mode in ('LA','RGBA'): -- if Image.VERSION.startswith('1.1.7'): im.load() -+ # Pillow 6.0.0 and above have removed the 'VERSION' attribute -+ # https://bitbucket.org/rptlab/reportlab/issues/176/incompatibility-with-pillow-600 -+ try: -+ im_ver = Image.__version__ -+ except AttributeError: -+ im_ver = Image.VERSION -+ if im_ver.startswith('1.1.7'): im.load() - self._dataA = ImageReader(im.split()[3 if mode=='RGBA' else 1]) - nm = mode[:-1] - im = im.convert(nm) |