sci-biology/biopython: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Part-of: https://github.com/gentoo/gentoo/pull/42046
Closes: https://github.com/gentoo/gentoo/pull/42046
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2025-05-12 10:53:05 +02:00
committed by Sam James
parent b64abc44e5
commit baa9423fdf
2 changed files with 0 additions and 40 deletions

View File

@@ -1,11 +0,0 @@
--- a/Tests/test_Entrez.orig.py 2023-02-13 04:07:42.000000000 +0100
+++ b/Tests/test_Entrez.py 2023-06-30 14:42:58.177365639 +0200
@@ -126,7 +126,7 @@
:type params: dict
:param expected: Expected set of IDs, as colleciton of strings.
"""
- testcase.assertEquals(len(params["id"]), 1)
+ testcase.assertEqual(len(params["id"]), 1)
ids_str = params["id"][0]
# Compare up to ordering
testcase.assertCountEqual(ids_str.split(","), expected)

View File

@@ -1,29 +0,0 @@
From 74fdf49ade95157c3c4b23a95831925be4899223 Mon Sep 17 00:00:00 2001
From: Peter Cock <p.j.a.cock@googlemail.com>
Date: Mon, 5 Jun 2023 12:39:59 +0100
Subject: [PATCH] Skip if ReportLab bitmap output module missing
Would like to skip this earlier, but not so
easy in ReportLab v4 with a choice of backends
---
Tests/test_GraphicsBitmaps.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Tests/test_GraphicsBitmaps.py b/Tests/test_GraphicsBitmaps.py
index 2ffdfb3dd71..76615a2fd1d 100644
--- a/Tests/test_GraphicsBitmaps.py
+++ b/Tests/test_GraphicsBitmaps.py
@@ -111,9 +111,12 @@ def real_test():
"Check the fonts needed by ReportLab if you want "
"bitmaps from Bio.Graphics\n" + str(err)
) from None
+ elif str(err).startswith("cannot import desired renderPM backend rlPyCairo"):
+ raise MissingExternalDependencyError(
+ "Reportlab module rlPyCairo unavailable\n" + str(err)
+ ) from None
else:
raise
-
return True