From 84fcf363dd9399b84256e16eebfc489b2c22f163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Morillo?= Date: Fri, 20 Dec 2024 18:03:55 +0100 Subject: [PATCH 1/4] Add easyconfig gtk-doc-1.34.0-GCCcore-13.2.0.eb and dependencies --- .../gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb | 51 ++++++++++++++++++ .../i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb | 28 ++++++++++ .../libxml2-python-2.11.5-GCCcore-13.2.0.eb | 52 +++++++++++++++++++ .../mallard-ducktype-1.0.2-GCCcore-13.2.0.eb | 28 ++++++++++ .../Pygments-2.18.0-GCCcore-13.2.0.eb | 34 ++++++++++++ .../yelp-tools-42.1-GCCcore-13.2.0.eb | 50 ++++++++++++++++++ .../yelp-xsl/yelp-xsl-42.1-GCCcore-13.2.0.eb | 37 +++++++++++++ 7 files changed, 280 insertions(+) create mode 100644 easybuild/easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb create mode 100644 easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb create mode 100644 easybuild/easyconfigs/l/libxml2-python/libxml2-python-2.11.5-GCCcore-13.2.0.eb create mode 100644 easybuild/easyconfigs/m/mallard-ducktype/mallard-ducktype-1.0.2-GCCcore-13.2.0.eb create mode 100644 easybuild/easyconfigs/p/Pygments/Pygments-2.18.0-GCCcore-13.2.0.eb create mode 100644 easybuild/easyconfigs/y/yelp-tools/yelp-tools-42.1-GCCcore-13.2.0.eb create mode 100644 easybuild/easyconfigs/y/yelp-xsl/yelp-xsl-42.1-GCCcore-13.2.0.eb diff --git a/easybuild/easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb b/easybuild/easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb new file mode 100644 index 00000000000..d6fd615895a --- /dev/null +++ b/easybuild/easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb @@ -0,0 +1,51 @@ +easyblock = 'MesonNinja' + +name = 'gtk-doc' +version = '1.34.0' + +homepage = 'https://gitlab.gnome.org/GNOME/gtk-doc' +description = """Documentation tool for public library API""" + +toolchain = {'name': 'GCCcore', 'version': '12.3.0'} + +source_urls = ['https://gitlab.gnome.org/GNOME/gtk-doc/-/archive/%(version)s/'] +sources = [SOURCE_TAR_GZ] +checksums = ['e1d544fa70ae60014a241b674c9d989f4ad6a96554652ebf73bbe94b4da1aa35'] + +builddependencies = [ + ('binutils', '2.40'), + ('yelp-tools', '42.1'), + ('Ninja', '1.11.1'), + ('Meson', '1.2.3'), +] + +dependencies = [ + ('Python', '3.11.5'), + ('Pygments', '2.18.0'), + ('GLib', '2.78.1'), +] + +sanity_check_paths = { + 'files': [ + 'bin/gtkdoc-depscan', + 'bin/gtkdoc-fixxref', + 'bin/gtkdoc-check', + 'bin/gtkdocize', + 'bin/gtkdoc-mkdb', + 'bin/gtkdoc-mkhtml', + 'bin/gtkdoc-mkhtml2', + 'bin/gtkdoc-mkman', + 'bin/gtkdoc-mkpdf', + 'bin/gtkdoc-rebase', + 'bin/gtkdoc-scan', + 'bin/gtkdoc-scangobj', + ], + 'dirs': [ + 'lib/cmake/GtkDoc', + 'share/%(name)s', + ], +} + +sanity_check_commands = ['gtkdoc-depscan'] + +moduleclass = 'tools' diff --git a/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb b/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb new file mode 100644 index 00000000000..81fa5323e71 --- /dev/null +++ b/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb @@ -0,0 +1,28 @@ +easyblock = 'ConfigureMake' + +name = 'ITSTool' +version = '2.0.7' + +homepage = 'http://itstool.org/' +description = "ITS Tool allows you to translate your XML documents with PO files" + +toolchain = {'name': 'GCCcore', 'version': '12.3.0'} + +source_urls = ['http://files.itstool.org/itstool/'] +sources = [SOURCELOWER_TAR_BZ2] +checksums = ['6b9a7cd29a12bb95598f5750e8763cee78836a1a207f85b74d8b3275b27e87ca'] + +builddependencies = [('binutils', '2.40')] + +dependencies = [ + ('Python', '3.11.5'), + ('libxml2-python', '2.11.4'), +] + +sanity_check_paths = { + 'files': ['bin/itstool'], + 'dirs': ['share/itstool/its', 'share/man'], +} +sanity_check_commands = ["itstool --help"] + +moduleclass = 'tools' diff --git a/easybuild/easyconfigs/l/libxml2-python/libxml2-python-2.11.5-GCCcore-13.2.0.eb b/easybuild/easyconfigs/l/libxml2-python/libxml2-python-2.11.5-GCCcore-13.2.0.eb new file mode 100644 index 00000000000..1b4b3fa75b1 --- /dev/null +++ b/easybuild/easyconfigs/l/libxml2-python/libxml2-python-2.11.5-GCCcore-13.2.0.eb @@ -0,0 +1,52 @@ +easyblock = 'PythonPackage' + +name = 'libxml2-python' +version = '2.11.5' + +homepage = 'http://xmlsoft.org/' +description = """ + Libxml2 is the XML C parser and toolchain developed for the Gnome project + (but usable outside of the Gnome platform). This is the Python binding.""" + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://download.gnome.org/sources/libxml2/%(version_major_minor)s/'] +sources = ['libxml2-%(version)s.tar.xz'] +patches = ['%(name)s-2.11.4_fix-hardcoded-paths.patch'] +checksums = [ + {'libxml2-2.11.4.tar.xz': '737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7'}, + {'libxml2-python-2.11.4_fix-hardcoded-paths.patch': + 'b8069b149ab7e0e3a96ca1462c07d0bf1d7c7434eb434eb1b0ec824074b70f6a'}, +] + +builddependencies = [ + ('binutils', '2.40'), +] + +dependencies = [ + ('zlib', '1.2.13'), + ('XZ', '5.4.4'), + ('Python', '3.11.5'), + ('libxml2', version), + ('libiconv', '1.17'), + ('ICU', '74.1'), +] + +start_dir = 'python' + +# need to run a configure first, since there is only a setup.py.in +preinstallopts = 'cd .. && ./configure --prefix=%(installdir)s && cd python && ' + +use_pip = True +download_dep_fail = True +sanity_pip_check = True + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +options = {'modulename': 'libxml2'} + +moduleclass = 'lib' diff --git a/easybuild/easyconfigs/m/mallard-ducktype/mallard-ducktype-1.0.2-GCCcore-13.2.0.eb b/easybuild/easyconfigs/m/mallard-ducktype/mallard-ducktype-1.0.2-GCCcore-13.2.0.eb new file mode 100644 index 00000000000..2fa62c1ccb2 --- /dev/null +++ b/easybuild/easyconfigs/m/mallard-ducktype/mallard-ducktype-1.0.2-GCCcore-13.2.0.eb @@ -0,0 +1,28 @@ +easyblock = 'PythonPackage' + +name = 'mallard-ducktype' +version = '1.0.2' + +homepage = 'https://github.com/projectmallard/mallard-ducktype' +description = """Parser for the lightweight Ducktype syntax for Mallard""" + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} + +sources = ['mallard_ducktype-%(version)s-py3-none-any.whl'] +checksums = ['90c2d9e40934c634f3e83e0758285e2803f62c2c5db405702af2f5884e1a2918'] + +builddependencies = [ + ('binutils', '2.40'), +] + +dependencies = [ + ('Python', '3.11.5'), +] + +options = {'modulename': 'mallard.ducktype'} + +download_dep_fail = True +use_pip = True +sanity_pip_check = True + +moduleclass = 'tools' diff --git a/easybuild/easyconfigs/p/Pygments/Pygments-2.18.0-GCCcore-13.2.0.eb b/easybuild/easyconfigs/p/Pygments/Pygments-2.18.0-GCCcore-13.2.0.eb new file mode 100644 index 00000000000..01e1a7578d2 --- /dev/null +++ b/easybuild/easyconfigs/p/Pygments/Pygments-2.18.0-GCCcore-13.2.0.eb @@ -0,0 +1,34 @@ +easyblock = 'PythonPackage' + +name = 'Pygments' +version = '2.18.0' + +homepage = 'https://pygments.org/' +description = """Generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications + that need to prettify source code.""" + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} + +sources = [SOURCELOWER_PY3_WHL] +checksums = ['b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a'] + +builddependencies = [ + ('binutils', '2.40'), +] + +dependencies = [ + ('Python', '3.11.5'), +] + +download_dep_fail = True +use_pip = True +sanity_pip_check = True + +sanity_check_paths = { + 'files': ['bin/pygmentize'], + 'dirs': [], +} + +sanity_check_commands = ['pygmentize --help'] + +moduleclass = 'devel' diff --git a/easybuild/easyconfigs/y/yelp-tools/yelp-tools-42.1-GCCcore-13.2.0.eb b/easybuild/easyconfigs/y/yelp-tools/yelp-tools-42.1-GCCcore-13.2.0.eb new file mode 100644 index 00000000000..3b2758f3e9f --- /dev/null +++ b/easybuild/easyconfigs/y/yelp-tools/yelp-tools-42.1-GCCcore-13.2.0.eb @@ -0,0 +1,50 @@ +easyblock = 'MesonNinja' + +name = 'yelp-tools' +version = '42.1' + +homepage = 'https://gitlab.gnome.org/GNOME/yelp-tools' +description = """yelp-tools is a collection of scripts and build utilities to help create, +manage, and publish documentation for Yelp and the web. Most of the heavy +lifting is done by packages like yelp-xsl and itstool. This package just +wraps things up in a developer-friendly way.""" + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} + +source_urls = ['https://gitlab.gnome.org/GNOME/yelp-tools/-/archive/%(version)s/'] +sources = [SOURCE_TAR_GZ] +checksums = ['4776766816aaa4fff5a9be7229d03e2444fca2f60a11f645c6171abe8bb73925'] + +builddependencies = [ + ('binutils', '2.40'), + ('Meson', '1.2.3'), + ('Ninja', '1.11.1'), + ('CMake', '3.27.6'), + ('Autotools', '20220317'), +] + +dependencies = [ + ('yelp-xsl', '42.1'), + ('ITSTool', '2.0.7'), + ('libxml2', '2.11.5'), + ('mallard-ducktype', '1.0.2'), + ('lxml', '4.9.3'), +] + +fix_python_shebang_for = ['bin/*'] + +sanity_check_paths = { + 'files': [ + 'bin/yelp-build', + 'bin/yelp-check', + 'bin/yelp-new', + ], + 'dirs': ['share/%(name)s'], +} + +sanity_check_commands = [ + 'yelp-build cache -h', + 'yelp-check hrefs -h', +] + +moduleclass = 'tools' diff --git a/easybuild/easyconfigs/y/yelp-xsl/yelp-xsl-42.1-GCCcore-13.2.0.eb b/easybuild/easyconfigs/y/yelp-xsl/yelp-xsl-42.1-GCCcore-13.2.0.eb new file mode 100644 index 00000000000..dd84bb26863 --- /dev/null +++ b/easybuild/easyconfigs/y/yelp-xsl/yelp-xsl-42.1-GCCcore-13.2.0.eb @@ -0,0 +1,37 @@ +easyblock = 'ConfigureMake' + +name = 'yelp-xsl' +version = '42.1' + +homepage = "https://gitlab.gnome.org/GNOME/yelp-xslg" +description = """yelp-xsl is a collection of programs and data files to help you build, maintain, + and distribute documentation. It provides XSLT stylesheets that can be built upon for help + viewers and publishing systems. These stylesheets output JavaScript and CSS content, + and reference images provided by yelp-xsl. This package also redistributes copies + of the jQuery and jQuery.Syntax JavaScript libraries. +""" + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} + +source_urls = ['https://gitlab.gnome.org/GNOME/yelp-xsl/-/archive/%(version)s/'] +sources = [SOURCE_TAR_GZ] +checksums = ['00f3ee8d9fa048d80063cc09477d24a09349e35c58ffdf9ecea253a4ca882068'] + +builddependencies = [ + ('binutils', '2.40'), + ('ITSTool', '2.0.7'), + ('gettext', '0.22'), + ('Autotools', '20220317'), +] + +preconfigopts = 'NOCONFIGURE=1 ./autogen.sh && ' + +sanity_check_paths = { + 'files': [], + 'dirs': [ + 'share/pkgconfig', + 'share/%(name)s', + ] +} + +moduleclass = 'data' From d67efdedf8977b3cfca3b17876f87d01806f1f11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Morillo?= Date: Fri, 20 Dec 2024 18:05:56 +0100 Subject: [PATCH 2/4] Upgrade libxml2-python version in ITSTool-2.0.7-GCCcore-13.2.0.eb --- easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb b/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb index 81fa5323e71..e3ec83d913f 100644 --- a/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb +++ b/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb @@ -16,7 +16,7 @@ builddependencies = [('binutils', '2.40')] dependencies = [ ('Python', '3.11.5'), - ('libxml2-python', '2.11.4'), + ('libxml2-python', '2.11.5'), ] sanity_check_paths = { From 6752691b931ecfcf752ad487c4fafb0a3c2e68ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Morillo?= Date: Mon, 23 Dec 2024 11:27:17 +0100 Subject: [PATCH 3/4] Fix toolchain version in gtk-doc-1.34.0-GCCcore-13.2.0.eb --- .../easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb b/easybuild/easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb index d6fd615895a..c34975957da 100644 --- a/easybuild/easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb +++ b/easybuild/easyconfigs/g/gtk-doc/gtk-doc-1.34.0-GCCcore-13.2.0.eb @@ -6,7 +6,7 @@ version = '1.34.0' homepage = 'https://gitlab.gnome.org/GNOME/gtk-doc' description = """Documentation tool for public library API""" -toolchain = {'name': 'GCCcore', 'version': '12.3.0'} +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} source_urls = ['https://gitlab.gnome.org/GNOME/gtk-doc/-/archive/%(version)s/'] sources = [SOURCE_TAR_GZ] From 9fdfd17deff3b1f0a770144297c4c4931f95e447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Morillo?= Date: Mon, 23 Dec 2024 12:09:40 +0100 Subject: [PATCH 4/4] Fix toolchain version in ITSTool-2.0.7-GCCcore-13.2.0.eb --- easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb b/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb index e3ec83d913f..d8216b2f09e 100644 --- a/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb +++ b/easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-13.2.0.eb @@ -6,7 +6,7 @@ version = '2.0.7' homepage = 'http://itstool.org/' description = "ITS Tool allows you to translate your XML documents with PO files" -toolchain = {'name': 'GCCcore', 'version': '12.3.0'} +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} source_urls = ['http://files.itstool.org/itstool/'] sources = [SOURCELOWER_TAR_BZ2]