openbsd-ports/biology/py-biopython/patches/patch-setup_py

37 lines
1.7 KiB
Plaintext

$OpenBSD: patch-setup_py,v 1.2 2005/01/16 14:26:19 espie Exp $
--- setup.py.orig Tue Feb 17 00:49:06 2004
+++ setup.py Sun Jan 16 15:23:33 2005
@@ -73,14 +73,14 @@ def check_dependencies():
# means overwrite previous installations. If the user has
# forced an installation, should we also ignore dependencies?
dependencies = [
- ("mxTextTools", is_mxTextTools_installed, 1,
- "http://www.egenix.com/files/python/eGenix-mx-Extensions.html"),
+ #("mxTextTools", is_mxTextTools_installed, 1,
+ # "http://www.egenix.com/files/python/eGenix-mx-Extensions.html"),
#("Martel", is_Martel_installed, 1,
# "http://www.biopython.org/~dalke/Martel/"),
- ("Numerical Python", is_Numpy_installed, 0,
- "http://numpy.sourceforge.net/"),
- ("Reportlab", is_reportlab_installed, 0,
- "http://www.reportlab.org/downloads.html"),
+ #("Numerical Python", is_Numpy_installed, 0,
+ # "http://numpy.sourceforge.net/"),
+ #("Reportlab", is_reportlab_installed, 0,
+ # "http://www.reportlab.org/downloads.html"),
]
for name, is_installed_fn, is_required, url in dependencies:
@@ -125,10 +125,7 @@ class build_py_biopython(build_py):
def run(self):
if not check_dependencies_once():
return
- # Check to see if Martel is installed. If not, then install
- # it automatically.
- if not is_Martel_installed():
- self.packages.append("Martel")
+ self.packages.append("Martel")
# Only install the clustering software if Numpy is installed.
if is_Numpy_installed():
self.packages.append("Bio.Cluster")