소스 검색

Fxing centos_8 missing subunit

Pierre-Yves Barriat 3 년 전
부모
커밋
65ba26d910

+ 28 - 0
foss-2020b/CppUnit-1.15.1-GCCcore-10.2.0.eb

@@ -0,0 +1,28 @@
+easyblock = 'ConfigureMake'
+
+name = 'CppUnit'
+version = '1.15.1'
+
+homepage = 'https://freedesktop.org/wiki/Software/cppunit/'
+
+description = """
+ CppUnit is the C++ port of the famous JUnit framework for unit testing.
+"""
+
+toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
+
+source_urls = ['https://dev-www.libreoffice.org/src']
+sources = [SOURCELOWER_TAR_GZ]
+checksums = ['89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7']
+
+builddependencies = [
+    ('binutils', '2.35'),
+]
+
+sanity_check_paths = {
+    'files': ['lib/libcppunit.a', 'lib/libcppunit.%s' % SHLIB_EXT,
+              'lib/pkgconfig/cppunit.pc'],
+    'dirs': ['bin', 'include/cppunit', 'share'],
+}
+
+moduleclass = 'tools'

+ 33 - 0
foss-2020b/Subunit-0.0.21-GCCcore-10.2.0-Python-3.8.6.eb

@@ -0,0 +1,33 @@
+easyblock = 'ConfigureMake'
+
+name = 'Subunit'
+version = '0.0.21'
+versionsuffix = '-Python-%(pyver)s'
+
+homepage = 'https://gogs.elic.ucl.ac.be'
+description = """This repo provides additional extensions for ELIC ecosystem."""
+
+toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
+
+source_urls = ['ftp://ftp.unidata.ucar.edu/pub/udunits']
+sources = [SOURCELOWER_TAR_GZ]
+
+dependencies = [
+    ('Python', '3.8.6'),
+    ('Perl', '5.32.0'),
+    ('Check', '0.15.2'),
+    ('CppUnit', '1.15.1'),
+]
+
+builddependencies = [
+    ('pkg-config', '0.29.2'),
+]
+
+#modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
+
+sanity_check_paths = {
+    'files': ['bin/subunit-ls', 'lib/libsubunit.so.0.0.0', 'lib/libsubunit.a', 'include/subunit/SubunitTestProgressListener.h'],
+    'dirs': ['lib/python%(pyshortver)s/site-packages/subunit'],
+}
+
+moduleclass = 'tools'

+ 2 - 0
intel-2020b/libmo_unpack-3.1.2-intel-2020b.eb

@@ -13,6 +13,8 @@ sources = ['v%(version)s.tar.gz']
 
 builddependencies = [('CMake', '3.18.4')]
 
+dependencies = [('Subunit', '0.0.21', '-Python-3.8.6')]
+
 separate_build_dir = True
 
 configopts = '-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -lsubunit"'