Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions easybuild/easyconfigs/f/FORD/FORD-7.0.6-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
easyblock = 'PythonBundle'

name = 'FORD'
version = '7.0.6'

homepage = 'https://github.com/Fortran-FOSS-Programmers/ford/wiki'
description = 'FORD is an automatic documentation generator for modern Fortran programs'

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

builddependencies = [
('binutils', '2.40'),
('hatchling', '1.18.0'),
]

dependencies = [
('Python', '3.11.5'),
('graphviz-python', '0.20.1',),
('BeautifulSoup', '4.12.2'),
]

exts_list = [
('Markdown', '3.4.4', {
'checksums': ['225c6123522495d4119a90b3a3ba31a1e87a70369e03f14799ea9c0d7183a3d6'],
}),
('markdown_include', '0.7.2', {
'source_tmpl': '%(name)s-%(version)s-py3-none-any.whl',
'checksums': ['09ca3a7470b79d217be828a27c6808c24f4a8814cc422fca05be1bc3fd866907'],
}),
('python-markdown-math', '0.8', {
'modulename': 'mdx_math',
'checksums': ['8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635'],
}),
('md-environ', '0.1.0', {
'checksums': ['fe3c2a255af523d6f522831c699336cd71f9d543714067d93206ed35836f1793'],
}),
('toposort', '1.7', {
'checksums': ['ddc2182c42912a440511bd7ff5d3e6a1cabc3accbc674a3258c8c41cbfbb2125'],
}),
('pygments', '2.18.0', {
'checksums': ['786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199'],
}),
('tqdm', '4.64.1', {
'checksums': ['5f4f682a004951c1b450bc753c710e9280c5746ce6ffedee253ddbcbf54cf1e4'],
}),
('pcpp', '1.30', {
'checksums': ['5af9fbce55f136d7931ae915fae03c34030a3b36c496e72d9636cedc8e2543a1'],
}),
(name, version, {
'checksums': ['662d0cab60234743ed7b863fbb980e0af909f31e0205011d7978ea2dedc3e952'],
}),
]

sanity_check_paths = {
'files': ['bin/ford'],
'dirs': ['bin', 'lib'],
}

moduleclass = 'lib'
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/g/GTS/GTS-0.7.6-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'ConfigureMake'

name = 'GTS'
version = '0.7.6'

homepage = 'http://gts.sourceforge.net/'
description = """GTS stands for the GNU Triangulated Surface Library.
It is an Open Source Free Software Library intended to provide a set of useful
functions to deal with 3D surfaces meshed with interconnected triangles."""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['059c3e13e3e3b796d775ec9f96abdce8f2b3b5144df8514eda0cc12e13e8b81e']

builddependencies = [
('pkgconf', '2.0.3'),
('binutils', '2.40'),
]
dependencies = [
('GLib', '2.78.1'),
]

sanity_check_paths = {
'files': ['lib/libgts.%s' % SHLIB_EXT, 'bin/gts2oogl', 'bin/gtscheck'],
'dirs': [],
}

moduleclass = 'vis'
94 changes: 94 additions & 0 deletions easybuild/easyconfigs/g/Graphviz/Graphviz-9.0.0-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
easyblock = 'ConfigureMake'

name = 'Graphviz'
version = '9.0.0'
local_pyver_major = '3'

homepage = 'https://www.graphviz.org/'
description = """Graphviz is open source graph visualization software. Graph visualization
is a way of representing structural information as diagrams of
abstract graphs and networks. It has important applications in networking,
bioinformatics, software engineering, database and web design, machine learning,
and in visual interfaces for other technical domains."""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://gitlab.com/graphviz/graphviz/-/archive/%(version)s']
sources = [SOURCELOWER_TAR_GZ]
patches = ['%(name)s-%(version)s_skip-install-data-hook.patch']
checksums = [
{'graphviz-9.0.0.tar.gz': '504d19b5d0e5398a57e9d9de42393f90b9e79aff0969b4ebc3b891ccb39602ed'},
{'Graphviz-9.0.0_skip-install-data-hook.patch': '148bcae14aa053cab9448c5c151876ec995a9b71f76366db742b6f0f8b7fc22a'},
]

builddependencies = [
('Autotools', '20220317'),
('binutils', '2.40'),
('Bison', '3.8.2'),
('flex', '2.6.4'),
('SWIG', '4.1.1'),
('pkgconf', '2.0.3'),
]

dependencies = [
('Java', '11', '', SYSTEM),
('Python', '3.11.5'),
('FriBidi', '1.0.13'),
('Gdk-Pixbuf', '2.42.10'),
('Ghostscript', '10.02.1'),
('GTS', '0.7.6'),
('libgd', '2.3.3'),
('Pango', '1.51.0'),
('Perl', '5.38.0'),
('Qt6', '6.6.3'),
('Tcl', '8.6.13'),
('zlib', '1.2.13'),
('bzip2', '1.0.8'),
('libjpeg-turbo', '3.0.1'),
('expat', '2.5.0'),
]

preconfigopts = './autogen.sh NOCONFIG && '

configopts = '--enable-python%s=yes ' % local_pyver_major
configopts += '--enable-guile=no --enable-lua=no --enable-ocaml=no '
configopts += '--enable-r=no --enable-ruby=no --enable-php=no '
# Use ltdl from libtool in EB
configopts += '--enable-ltdl --without-included-ltdl --disable-ltdl-install '
configopts += '--with-ltdl-include=$EBROOTLIBTOOL/include --with-ltdl-lib=$EBROOTLIBTOOL/lib '
# Override the hardcoded paths to Java libraries
configopts += '--with-javaincludedir=$JAVA_HOME/include --with-javaincludedir=$JAVA_HOME/include/linux '
configopts += '--with-javalibdir=$JAVA_HOME/lib'
configopts += '--with-expatincludedir=$EBROOTEXPAT/include --with-expatlibdir=$EBROOTEXPAT/lib'
configopts += '--with-zincludedir=$EBROOTZLIB/include --with-zlibdir=$EBROOTZLIB/lib'

prebuildopts = 'qmake -o cmd/gvedit/qMakefile cmd/gvedit/gvedit.pro && '

postinstallcmds = ['%(installdir)s/bin/dot -c'] # Writes plugin configuration

sanity_check_paths = {
'files': ['bin/%s' % x for x in ['acyclic', 'bcomps', 'ccomps', 'cluster', 'diffimg', 'dijkstra', 'dot',
'dot_builtins', 'edgepaint', 'gc', 'gml2gv', 'graphml2gv', 'gv2gml',
'gvcolor', 'gvedit', 'gvgen', 'gvmap', 'gvmap.sh', 'gvpack', 'gvpr', 'gxl2gv',
'neato', 'mm2gv', 'nop', 'prune', 'sccmap', 'tred', 'unflatten',
'vimdot']] +
['lib/%s.%s' % (x, SHLIB_EXT) for x in ['libcdt', 'libcgraph', 'libgvc', 'libgvpr', 'liblab_gamut',
'libpathplan', 'libxdot']],
'dirs': ['include', 'lib/graphviz', 'lib/graphviz/java', 'lib/graphviz/python%s' % local_pyver_major,
'lib/pkgconfig', 'share']
}

sanity_check_commands = [
("test ! -d $EBROOTTCL/lib/*/graphviz", ''),
("test ! -d $EBROOTTCL/lib64/*/graphviz", ''),
('python', '-c "import gv"'),
]

modextrapaths = {
'CLASSPATH': 'lib/graphviz/java',
'LD_LIBRARY_PATH': 'lib/graphviz/java',
'PYTHONPATH': 'lib/graphviz/python%s' % local_pyver_major,
'TCLLIBPATH': 'lib/graphviz/tcl',
}

moduleclass = 'vis'
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
diff -Nru graphviz-9.0.0-orig/tclpkg/Makefile.am graphviz-9.0.0/tclpkg/Makefile.am
--- graphviz-9.0.0-orig/tclpkg/Makefile.am 2023-09-11 20:27:30.000000000 +0200
+++ graphviz-9.0.0/tclpkg/Makefile.am 2024-05-31 18:26:29.103828602 +0200
@@ -32,78 +32,7 @@
# ./configure --prefix=$HOME/graphviz; make; make install
# without root privileges.
install-data-hook:
-if WITH_LUA
- -mkdir -p $(DESTDIR)$(LUA_INSTALL_DIR);
- if test -w $(DESTDIR)$(LUA_INSTALL_DIR); then \
- (cd $(DESTDIR)$(LUA_INSTALL_DIR); \
- cp -f $(DESTDIR)$(pkgluadir)/libgv_lua.so gv.so;) \
- else \
- echo "Warning: $(LUA_INSTALL_DIR) is not writable."; \
- echo "Skipping system installation of lua binding."; \
- fi
-endif
-if WITH_PERL
- -mkdir -p $(DESTDIR)$(PERL_INSTALL_DIR);
- if test -w $(DESTDIR)$(PERL_INSTALL_DIR); then \
- (cd $(DESTDIR)$(PERL_INSTALL_DIR); \
- cp -f $(DESTDIR)$(pkgperldir)/libgv_perl.so gv.so; \
- cp -f $(DESTDIR)$(pkgperldir)/gv.pm gv.pm;) \
- else \
- echo "Warning: $(PERL_INSTALL_DIR) is not writable."; \
- echo "Skipping system installation of perl binding."; \
- fi
-endif
-if WITH_PHP
- -mkdir -p $(DESTDIR)$(PHP_INSTALL_DIR);
- if test -w $(DESTDIR)$(PHP_INSTALL_DIR); then \
- (cd $(DESTDIR)$(PHP_INSTALL_DIR); \
- cp -f $(DESTDIR)$(pkgphpdir)/libgv_php.so gv.so;) \
- else \
- echo "Warning: $(PHP_INSTALL_DIR) is not writable."; \
- echo "Skipping system installation of php binding."; \
- fi
-if WITH_SWIG_PHP_DATA
- -mkdir -p $(DESTDIR)$(PHP_INSTALL_DATADIR);
- if test -w $(DESTDIR)$(PHP_INSTALL_DATADIR); then \
- (cd $(DESTDIR)$(PHP_INSTALL_DATADIR); \
- cp -f $(DESTDIR)$(pkgphpdir)/gv.php gv.php;) \
- else \
- echo "Warning: $(PHP_INSTALL_DATADIR) is not writable."; \
- echo "Skipping system installation of php binding."; \
- fi
-endif
-endif
-if WITH_PYTHON3
- -mkdir -p $(DESTDIR)$(PYTHON3_INSTALL_DIR);
- if test -w $(DESTDIR)$(PYTHON3_INSTALL_DIR); then \
- (cd $(DESTDIR)$(PYTHON3_INSTALL_DIR); \
- cp -f $(DESTDIR)$(pkgpython3dir)/libgv_python3.so _gv.so; \
- cp -f $(DESTDIR)$(pkgpython3dir)/gv.py gv.py;) \
- else \
- echo "Warning: $(PYTHON3_INSTALL_DIR) is not writable."; \
- echo "Skipping system installation of python3 binding."; \
- fi
-endif
-if WITH_RUBY
- -mkdir -p $(DESTDIR)$(RUBY_INSTALL_DIR);
- if test -w $(DESTDIR)$(RUBY_INSTALL_DIR); then \
- (cd $(DESTDIR)$(RUBY_INSTALL_DIR); \
- cp -f $(DESTDIR)$(pkgrubydir)/libgv_ruby.so gv.so;) \
- else \
- echo "Warning: $(RUBY_INSTALL_DIR) is not writable."; \
- echo "Skipping system installation of ruby binding."; \
- fi
-endif
-if WITH_TCL
- -mkdir -p $(DESTDIR)$(TCL_INSTALL_DIR);
- if test -w $(DESTDIR)$(TCL_INSTALL_DIR)/; then \
- (cd $(DESTDIR)$(TCL_INSTALL_DIR); \
- cp -rf $(DESTDIR)$(pkgtcldir) $(PACKAGE_NAME);) \
- else \
- echo "Warning: $(TCL_INSTALL_DIR) is not writable."; \
- echo "Skipping system installation of tcl bindings."; \
- fi
-endif
+ echo "(installing in non-owned directories has been patched out)"
endif

# removal of installs into $(xxx_INSTALL_DIR) fail if root
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
easyblock = 'PythonPackage'

name = 'graphviz-python'
version = '0.20.1'

homepage = 'https://pypi.python.org/pypi/graphviz'
description = """Simple Python interface for Graphviz"""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://pypi.python.org/packages/source/g/graphviz']
sources = ['graphviz-%(version)s.zip']
checksums = ['8c58f14adaa3b947daf26c19bc1e98c4e0702cdc31cf99153e6f06904d492bf8']

builddependencies = [
('binutils', '2.40'),
]

dependencies = [
('Python', '3.11.5'),
('Graphviz', '9.0.0'),
]

options = {'modulename': 'graphviz'}

moduleclass = 'vis'