Skip to content

Commit a9f348b

Browse files
authored
Merge pull request #25028 from sib-swiss/20260109174157_new_pr_Raptor2016
{lib}[GCCcore/14.2.0] Raptor v2.0.16
2 parents a4cc97e + 87ceef5 commit a9f348b

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
##
2+
# This is a contribution from SIB Swiss Institute of Bioinformatics
3+
# Homepage: https://www.sib.swiss/research-infrastructure/competence-centers/vital-it
4+
#
5+
# Authors:: Sebastien Moretti <sebastien.moretti@sib.swiss>
6+
#
7+
# Based on Raptor2 RPM spec file:
8+
# https://git.rockylinux.org/staging/rpms/raptor2/-/blob/r8/SPECS/raptor2.spec
9+
# The RPM patches have been integrated in the version 2.0.16
10+
#
11+
# Update: Petr Král (INUITS)
12+
##
13+
easyblock = 'ConfigureMake'
14+
15+
name = 'Raptor'
16+
version = '2.0.16'
17+
homepage = 'https://librdf.org/raptor/'
18+
description = """Set of parsers and serializers that generate Resource Description Framework
19+
(RDF) triples by parsing syntaxes or serialize the triples into a syntax."""
20+
# software_license = 'LicenseLGPLv2.1 + LicenseGPLv2 + LicenseApachev2'
21+
22+
toolchain = {'name': 'GCCcore', 'version': '14.2.0'}
23+
24+
source_urls = ['https://download.librdf.org/source']
25+
sources = ['raptor2-%(version)s.tar.gz']
26+
checksums = ['089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680']
27+
28+
builddependencies = [
29+
('Autotools', '20240712'),
30+
('binutils', '2.42'),
31+
('make', '4.4.1'),
32+
]
33+
34+
dependencies = [
35+
('libxml2', '2.13.4'),
36+
('libxslt', '1.1.42'),
37+
('cURL', '8.11.1'),
38+
('ICU', '76.1'),
39+
]
40+
41+
configopts = "--disable-static --enable-release --disable-gtk-doc --with-yajl=no"
42+
43+
# fix error: 'xmlEntity' {aka 'struct _xmlEntity'} has no member named 'checked'
44+
# see https://github.com/dajobe/raptor/pull/58
45+
local_sed_replacement = r's/LIBXML_VERSION >= 20627/LIBXML_VERSION >= 2062 \&\& LIBXML_VERSION < 21100/g'
46+
prebuildopts = "sed -i '%s' src/raptor_libxml.c && " % local_sed_replacement
47+
48+
sanity_check_paths = {
49+
'files': ['bin/rapper', 'lib/libraptor2.%s' % SHLIB_EXT],
50+
'dirs': ['include/raptor2/']
51+
}
52+
53+
sanity_check_commands = ["rapper --help"]
54+
55+
moduleclass = 'lib'

0 commit comments

Comments
 (0)