From 10b61a5e9d6d82e22dede94363e95c9a199d126f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Kr=C3=A1l?= Date: Fri, 21 Feb 2025 11:04:31 +0100 Subject: [PATCH] adding easyconfigs: Pysam-0.20.0-GCC-12.3.0-Python-2.7.18.eb, Cython-0.29.37-GCCcore-12.3.0-Python-2.7.18.eb --- ...on-0.29.37-GCCcore-12.3.0-Python-2.7.18.eb | 41 +++++++++++++++++++ .../Pysam-0.20.0-GCC-12.3.0-Python-2.7.18.eb | 31 ++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 easybuild/easyconfigs/c/Cython/Cython-0.29.37-GCCcore-12.3.0-Python-2.7.18.eb create mode 100644 easybuild/easyconfigs/p/Pysam/Pysam-0.20.0-GCC-12.3.0-Python-2.7.18.eb diff --git a/easybuild/easyconfigs/c/Cython/Cython-0.29.37-GCCcore-12.3.0-Python-2.7.18.eb b/easybuild/easyconfigs/c/Cython/Cython-0.29.37-GCCcore-12.3.0-Python-2.7.18.eb new file mode 100644 index 000000000000..0e787707e92c --- /dev/null +++ b/easybuild/easyconfigs/c/Cython/Cython-0.29.37-GCCcore-12.3.0-Python-2.7.18.eb @@ -0,0 +1,41 @@ +easyblock = 'PythonPackage' + +name = 'Cython' +version = '0.29.37' +versionsuffix = '-Python-%(pyver)s' + +homepage = 'https://cython.org/' +description = """ +Cython is an optimising static compiler for both the Python programming +language and the extended Cython programming language (based on Pyrex). +""" +docurls = [ + 'https://cython.org/#documentation', + 'https://github.com/cython/cython', +] + +toolchain = {'name': 'GCCcore', 'version': '12.3.0'} + +sources = [SOURCE_WHL] +checksums = ['95f1d6a83ef2729e67b3fa7318c829ce5b07ac64c084cd6af11c228e0364662c'] + +builddependencies = [ + ('binutils', '2.40'), +] + +dependencies = [ + ('Python', '2.7.18'), +] + +download_dep_fail = True +use_pip = True +sanity_pip_check = True + +sanity_check_paths = { + 'files': ['bin/cygdb', 'bin/cython', 'bin/cythonize'], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +sanity_check_commands = ["cython --version"] + +moduleclass = 'lang' diff --git a/easybuild/easyconfigs/p/Pysam/Pysam-0.20.0-GCC-12.3.0-Python-2.7.18.eb b/easybuild/easyconfigs/p/Pysam/Pysam-0.20.0-GCC-12.3.0-Python-2.7.18.eb new file mode 100644 index 000000000000..6f30d071e195 --- /dev/null +++ b/easybuild/easyconfigs/p/Pysam/Pysam-0.20.0-GCC-12.3.0-Python-2.7.18.eb @@ -0,0 +1,31 @@ +easyblock = 'PythonPackage' + +name = 'Pysam' +version = '0.20.0' +versionsuffix = '-Python-%(pyver)s' + +homepage = 'https://github.com/pysam-developers/pysam' +description = """Pysam is a python module for reading and manipulating Samfiles. + It's a lightweight wrapper of the samtools C-API. Pysam also includes an interface for tabix.""" + +toolchain = {'name': 'GCC', 'version': '12.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/pysam-developers/pysam/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['5a25d95b986c2cb9f5040b9df4e1d93ce9a8bc3af5a956b1317416ed05269f60'] + +dependencies = [ + ('Python', '2.7.18'), + ('Cython', '0.29.37', versionsuffix), + ('ncurses', '6.4'), + ('cURL', '8.0.1'), + ('XZ', '5.4.2'), +] + +download_dep_fail = True +use_pip = True + +sanity_pip_check = True + +moduleclass = 'bio'