From fcd6e0eceabe90af1a32784963b7df3c5b8c57b9 Mon Sep 17 00:00:00 2001 From: Pavel Tomanek Date: Mon, 15 Jan 2024 19:42:41 +0100 Subject: [PATCH] adding easyconfigs: Biopython-1.83-foss-2023a.eb --- .../b/Biopython/Biopython-1.83-foss-2023a.eb | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 easybuild/easyconfigs/b/Biopython/Biopython-1.83-foss-2023a.eb diff --git a/easybuild/easyconfigs/b/Biopython/Biopython-1.83-foss-2023a.eb b/easybuild/easyconfigs/b/Biopython/Biopython-1.83-foss-2023a.eb new file mode 100644 index 00000000000..de31433aa3d --- /dev/null +++ b/easybuild/easyconfigs/b/Biopython/Biopython-1.83-foss-2023a.eb @@ -0,0 +1,46 @@ +# Updated from previous easyconfig +# Author: Robert Mijakovic +# Update: Pavel Tománek (INUITS) + +easyblock = 'PythonPackage' + +name = 'Biopython' +version = '1.83' + +homepage = 'https://www.biopython.org' +description = """Biopython is a set of freely available tools for biological + computation written in Python by an international team of developers. It is + a distributed collaborative effort to develop Python libraries and + applications which address the needs of current and future work in + bioinformatics. """ + +toolchain = {'name': 'foss', 'version': '2023a'} + +source_urls = ['https://biopython.org/DIST'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['78e6bfb78de63034037afd35fe77cb6e0a9e5b62706becf78a7d922b16ed83f7'] + +dependencies = [ + ('Python', '3.11.3'), + ('SciPy-bundle', '2023.07'), +] + +download_dep_fail = True +use_pip = True +sanity_pip_check = True + +# Run only tests that don't require internet connection +runtest = 'python setup.py test --offline' + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages/Bio', + 'lib/python%(pyshortver)s/site-packages/BioSQL'] +} + +# extra check to ensure numpy dependency is available +sanity_check_commands = ["python -c 'import Bio.MarkovModel'"] + +options = {'modulename': 'Bio'} + +moduleclass = 'bio' \ No newline at end of file