public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-biology/biopython/files/
@ 2025-05-27  8:28 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-05-27  8:28 UTC (permalink / raw
  To: gentoo-commits

commit:     baa9423fdf3d8a4f7878952c7e62f110a7cdb2be
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon May 12 08:53:05 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 27 08:27:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa9423f

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

Signed-off-by: Michael Mair-Keimberger <mmk <AT> 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 <AT> gentoo.org>

 .../files/biopython-1.81-python3.12.patch          | 11 --------
 .../files/biopython-1.81-reportlab4.patch          | 29 ----------------------
 2 files changed, 40 deletions(-)

diff --git a/sci-biology/biopython/files/biopython-1.81-python3.12.patch b/sci-biology/biopython/files/biopython-1.81-python3.12.patch
deleted file mode 100644
index 8f903a4a39bd..000000000000
--- a/sci-biology/biopython/files/biopython-1.81-python3.12.patch
+++ /dev/null
@@ -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)

diff --git a/sci-biology/biopython/files/biopython-1.81-reportlab4.patch b/sci-biology/biopython/files/biopython-1.81-reportlab4.patch
deleted file mode 100644
index ef1994553614..000000000000
--- a/sci-biology/biopython/files/biopython-1.81-reportlab4.patch
+++ /dev/null
@@ -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
- 
- 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-27  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27  8:28 [gentoo-commits] repo/gentoo:master commit in: sci-biology/biopython/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox