Description: stabilize the test involving phyml
 On multicore systems, the MPI variant is invoked, which for some reason
 attempts to connect to a running X server, which may not be available on build
 environments.  Forcing to use a single threaded variant, by the means of the
 environment variable PHYMLCPUS, allows one to avoid the message "No protocol
 specified" in the error output, which interferes with the version test.
Author: Étienne Mollier <etienne.mollier@mailoo.org>
Forwarded: https://github.com/biopython/biopython/pull/3268
Last-Update: 2020-09-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- python-biopython.orig/Tests/test_phyml_tool.py
+++ python-biopython/Tests/test_phyml_tool.py
@@ -43,6 +43,8 @@
 
     def test_phyml(self):
         """Run PhyML using the wrapper."""
+        if not os.getenv('PHYMLCPUS'):
+            os.putenv('PHYMLCPUS', '1')
         cmd = PhymlCommandline(phyml_exe, input=EX_PHYLIP, datatype="aa")
         # Smoke test
         try:
