diff --git a/easybuild/easyconfigs/i/igraph/igraph-0.10.16-foss-2024a.eb b/easybuild/easyconfigs/i/igraph/igraph-0.10.16-foss-2024a.eb new file mode 100644 index 000000000000..abe6b02ba9d5 --- /dev/null +++ b/easybuild/easyconfigs/i/igraph/igraph-0.10.16-foss-2024a.eb @@ -0,0 +1,42 @@ +# Author: Denis Krišťák (INUITS) +# Modified: Jasper Grimm (UoY) +# Update: Pavel Tománek (INUITS) +# Update: Petr Král (INUITS) + +easyblock = 'CMakeMake' + +name = 'igraph' +version = '0.10.16' + +homepage = 'https://igraph.org' +description = """igraph is a collection of network analysis tools with the emphasis on +efficiency, portability and ease of use. igraph is open source and free. igraph can be +programmed in R, Python and C/C++.""" + +toolchain = {'name': 'foss', 'version': '2024a'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/igraph/igraph/releases/download/%(version)s'] +sources = [SOURCE_TAR_GZ] +checksums = ['15a1540a8d270232c9aa99adeeffb7787bea96289d6bef6646ec9c91a9a93992'] + +builddependencies = [ + ('CMake', '3.29.3'), +] + +dependencies = [ + ('GLPK', '5.0'), + ('libxml2', '2.12.7'), + ('zlib', '1.3.1'), + ('arpack-ng', '3.9.1'), +] + +# Build static and shared libraries +configopts = ["-DBUILD_SHARED_LIBS=OFF", "-DBUILD_SHARED_LIBS=ON"] + +sanity_check_paths = { + 'files': ['include/igraph/igraph.h'] + ['lib/libigraph.%s' % x for x in ['a', SHLIB_EXT]], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/easybuild/easyconfigs/p/python-igraph/python-igraph-0.11.9-foss-2024a.eb b/easybuild/easyconfigs/p/python-igraph/python-igraph-0.11.9-foss-2024a.eb new file mode 100644 index 000000000000..e663f1b08fbe --- /dev/null +++ b/easybuild/easyconfigs/p/python-igraph/python-igraph-0.11.9-foss-2024a.eb @@ -0,0 +1,46 @@ +easyblock = 'PythonBundle' + +name = 'python-igraph' +version = '0.11.9' + +homepage = 'https://igraph.org/python' +description = """Python interface to the igraph high performance graph library, primarily aimed at complex network + research and analysis.""" + +toolchain = {'name': 'foss', 'version': '2024a'} + +builddependencies = [ + ('pkgconf', '2.2.0'), + ('CMake', '3.29.3'), +] + +dependencies = [ + ('Python', '3.12.3'), + ('Python-bundle-PyPI', '2024.06'), + ('Clang', '18.1.8'), + ('libxml2', '2.12.7'), + ('zlib', '1.3.1'), + ('igraph', '0.10.16'), + ('cairo', '1.18.0'), +] + +exts_list = [ + ('texttable', '1.7.0', { + 'checksums': ['2d2068fb55115807d3ac77a4ca68fa48803e84ebb0ee2340f858107a36522638'], + }), + ('cairocffi', '1.7.1', { + 'checksums': ['2e48ee864884ec4a3a34bfa8c9ab9999f688286eb714a15a43ec9d068c36557b'], + }), + ('igraph', version, { + 'modulename': 'igraph', + 'checksums': ['c57ce44873abcfcfd1d61d7d261e416d352186958e7b5d299cf244efa6757816'], + }), +] + +# cairo must be available for proper plotting support +sanity_check_commands = [ + "python -c 'from igraph.drawing.cairo.utils import find_cairo; " + "cairo = find_cairo(); cairo.Context'", +] + +moduleclass = 'lib'