Skip to content

Commit

Permalink
adding easyconfigs: enchant-2-2.6.5-GCCcore-12.3.0.eb, hunspell-1.7.2…
Browse files Browse the repository at this point in the history
…-GCCcore-12.3.0.eb, ITSTool-2.0.7-GCCcore-12.3.0.eb, libxml2-python-2.11.4-GCCcore-12.3.0.eb, Vala-0.56.14-GCCcore-12.3.0.eb
  • Loading branch information
jfgrimm committed Jan 23, 2024
1 parent 5030f4c commit cb52621
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Updated from enchant-1.6.1-intel-2017a.eb
# Author: J. Sassmannshausen (Imperial College London/UK)

easyblock = 'ConfigureMake'

name = 'enchant-2'
version = '2.6.5'

homepage = 'https://github.com/AbiWord/enchant'
description = """Enchant aims to provide a simple but comprehensive abstraction for dealing
with different spell checking libraries in a consistent way. A client, such
as a text editor or word processor, need not know anything about a specific
spell-checker, and since all back-ends are plugins, new spell-checkers can
be added without needing any change to the program using Enchant."""

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

source_urls = ['https://github.com/AbiWord/enchant/releases/download/v%(version)s']
sources = ['enchant-%(version)s.tar.gz']
checksums = ['9e8fd28cb65a7b6da3545878a5c2f52a15f03c04933a5ff48db89fe86845728e']

builddependencies = [
('Autotools', '20220317'),
('binutils', '2.40'),
('M4', '1.4.19'),
('pkgconf', '1.9.5'),
]

preconfigopts = "autoreconf -vfi && "

dependencies = [
('hunspell', '1.7.2'),
('GLib', '2.77.1'),
]

buildopts = "LIBTOOL='libtool --tag=CC'"

sanity_check_commands = [
'enchant-2 -v',
'enchant-lsmod-2 -v',
]

sanity_check_paths = {
'files': ['bin/enchant-2', 'bin/enchant-lsmod-2',
'lib/libenchant-2.a', 'lib/libenchant-2.%s' % SHLIB_EXT],
'dirs': ['include/enchant-2', 'lib/enchant-2'],
}

moduleclass = 'tools'
42 changes: 42 additions & 0 deletions easybuild/easyconfigs/h/hunspell/hunspell-1.7.2-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Contribution from Imperial College London/UK
# uploaded by J. Sassmannshausen

easyblock = 'ConfigureMake'

name = 'hunspell'
version = '1.7.2'

homepage = 'https://hunspell.github.io/'
description = """Hunspell is a spell checker and morphological analyzer
library and program designed for languageswith rich morphology and
complex word compounding or character encoding."""

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

source_urls = ['https://github.com/hunspell/hunspell/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['69fa312d3586c988789266eaf7ffc9861d9f6396c31fc930a014d551b59bbd6e']

builddependencies = [
('Autotools', '20220317'),
('binutils', '2.40'),
('M4', '1.4.19'),
]

dependencies = [
('gettext', '0.21.1'),
]

preconfigopts = "autoreconf -vfi && "

sanity_check_commands = [
'hunspell -h',
]

sanity_check_paths = {
'files': ['bin/hunspell', 'lib/libhunspell-%(version_major_minor)s.a',
'lib/libhunspell-%%(version_major_minor)s.%s' % SHLIB_EXT, 'lib/pkgconfig/hunspell.pc'],
'dirs': ['include/hunspell'],
}

moduleclass = 'tools'
28 changes: 28 additions & 0 deletions easybuild/easyconfigs/i/ITSTool/ITSTool-2.0.7-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -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.3'),
('libxml2-python', '2.11.4'),
]

sanity_check_paths = {
'files': ['bin/itstool'],
'dirs': ['share/itstool/its', 'share/man'],
}
sanity_check_commands = ["itstool --help"]

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
easyblock = 'PythonPackage'

name = 'libxml2-python'
version = '2.11.4'

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': '12.3.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-2.11.4_fix-hardcoded-paths.patch': 'b8069b149ab7e0e3a96ca1462c07d0bf1d7c7434eb434eb1b0ec824074b70f6a'},
]

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

dependencies = [
('zlib', '1.2.13'),
('XZ', '5.4.2'),
('Python', '3.11.3'),
('libxml2', version),
('libiconv', '1.17'),
('ICU', '73.2'),
]

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
sanity_pip_check = True

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

options = {'modulename': 'libxml2'}

moduleclass = 'lib'
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/v/Vala/Vala-0.56.14-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'ConfigureMake'

name = 'Vala'
version = '0.56.14'

homepage = 'https://wiki.gnome.org/Projects/Vala'
description = """Vala is a programming language using modern high level abstractions without imposing additional runtime
requirements and without using a different ABI compared to applications and libraries written in C."""

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

source_urls = ['http://download.gnome.org/sources/vala/%(version_major_minor)s/']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['9382c268ca9bdc02aaedc8152a9818bf3935273041f629c56de410e360a3f557']

builddependencies = [
('binutils', '2.40'),
('pkgconf', '1.9.5'),
('flex', '2.6.4'),
('Bison', '3.8.2'),
('Graphviz', '8.1.0'),
]

dependencies = [
('GLib', '2.77.1'),
]

sanity_check_paths = {
'files': ['bin/vala', 'bin/valac', 'bin/valadoc', 'lib/libvala-%%(version_major_minor)s.%s' % SHLIB_EXT,
'lib/libvaladoc-%%(version_major_minor)s.%s' % SHLIB_EXT],
'dirs': ['include/vala-%(version_major_minor)s'],
}

sanity_check_commands = [
"vala --help",
"valac --help",
"valadoc --help",
]

moduleclass = 'lang'

0 comments on commit cb52621

Please sign in to comment.