Skip to content

Commit

Permalink
stop using deprecated 2-element tuple format in sources, use equivale…
Browse files Browse the repository at this point in the history
…nt dict format instead
  • Loading branch information
boegel committed Jun 24, 2017
1 parent 68fe20b commit 197c4c7
Show file tree
Hide file tree
Showing 29 changed files with 62 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ description = """Abinit is a plane wave pseudopotential code for doing

toolchain = {'name': 'dummy', 'version': 'dummy'}

# eg. http://ftp.abinit.org/abinit-7.0.3_x86_64_linux_gnu4.5.bz2
sources = [('abinit-%s_%s.bz2' % (version, versionsuffix[1:]), 'tar xfj %s')]
source_urls = ['http://ftp.abinit.org/']
sources = [{
'filename': 'abinit-%%(version)s_%s.bz2' % versionsuffix[1:],
'extract_cmd': "tar xfj %s",
}]

sanity_check_paths = {
'files': ["bin/abinit"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ description = """Abinit is a plane wave pseudopotential code for doing

toolchain = {'name': 'dummy', 'version': 'dummy'}

# eg. http://ftp.abinit.org/abinit-7.0.5_x86_64_linux_gnu4.5.bz2
sources = [('abinit-%s_%s.bz2' % (version, versionsuffix[1:]), 'tar xfj %s')]
source_urls = ['http://ftp.abinit.org/']
sources = [{
'filename': 'abinit-%%(version)s_%s.bz2' % versionsuffix[1:],
'extract_cmd': "tar xfj %s",
}]

sanity_check_paths = {
'files': ["bin/abinit"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ description = """Abinit is a plane wave pseudopotential code for doing

toolchain = {'name': 'dummy', 'version': 'dummy'}

# eg. http://ftp.abinit.org/abinit-7.0.5_x86_64_linux_gnu4.5.bz2
sources = [('abinit-%s_%s.bz2' % (version, versionsuffix[1:]), 'tar xfj %s')]
source_urls = ['http://ftp.abinit.org/']
sources = [{
'filename': 'abinit-%%(version)s_%s.bz2' % versionsuffix[1:],
'extract_cmd': "tar xfj %s",
}]

sanity_check_paths = {
'files': ["bin/abinit"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ toolchain = {'name': 'dummy', 'version': 'dummy'}
# fixed location. Need to include custom extract command to pull
# tarball out of install script and pipe to tar. %s in the extraction
# command will be replaced by the source filename.
sources = [
('%(namelower)s-%(version)s%(versionsuffix)s-linux-64-release.sh',
"sed '1,/^__ARCHIVE_FOLLOWS__$/d' %s | tar -xzpo --strip-components 1 -f -")
]
sources = [{
'filename': '%(namelower)s-%(version)s%(versionsuffix)s-linux-64-release.sh',
'extract_cmd': "sed '1,/^__ARCHIVE_FOLLOWS__$/d' %s | tar -xzpo --strip-components 1 -f -",
}]
source_urls = ['http://download.asperasoft.com/download/sw/cli/%(version)s']
checksums = ['02787ca46814fb9ae2de5c706461367e']

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/a/ack/ack-2.14.eb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ toolchain = {'name': 'dummy', 'version': 'dummy'}

source_urls = [homepage]
# use 'cp' as 'unpack' command
sources = [('ack-%(version)s-single-file', "cp %s ack")]
sources = [{'filename': 'ack-%(version)s-single-file', 'extract_cmd': "cp %s ack"}]

cmds_map = [('ack', "chmod a+rx ack")]

Expand Down
5 changes: 4 additions & 1 deletion easybuild/easyconfigs/g/GATE/GATE-6.2-goolf-1.4.10.eb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ description = """GATE is an advanced opensource software developed by the intern

toolchain = {'name': 'goolf', 'version': '1.4.10'}

sources = [('%%(namelower)s_v%s_tar_gz_15843.gz' % '_'.join(version.split('.')), "tar xfvz %s")]
source_urls = ['http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/gate_release/2012/08/']
sources = [{
'filename': '%%(namelower)s_v%s_tar_gz_15843.gz' % '_'.join(version.split('.')),
'extract_cmd': "tar xfvz %s",
}]

patches = [
'GATE-%(version)s_Makefile-prefix.patch',
Expand Down
5 changes: 4 additions & 1 deletion easybuild/easyconfigs/g/GATE/GATE-6.2-intel-2015a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ description = """GATE is an advanced opensource software developed by the intern

toolchain = {'name': 'intel', 'version': '2015a'}

sources = [('%%(namelower)s_v%s_tar_gz_15843.gz' % '_'.join(version.split('.')), "tar xfvz %s")]
source_urls = ['http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/gate_release/2012/08/']
sources = [{
'filename': '%%(namelower)s_v%s_tar_gz_15843.gz' % '_'.join(version.split('.')),
'extract_cmd': "tar xfvz %s",
}]

patches = [
'GATE-%(version)s_Makefile-prefix.patch',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ description = """GATE is an advanced opensource software developed by the intern

toolchain = {'name': 'intel', 'version': '2016a'}

sources = [('%%(namelower)s_v%s_tar_gz_15843.gz' % '_'.join(version.split('.')), "tar xfvz %s")]
source_urls = ['http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/gate_release/2012/08/']
sources = [{
'filename': '%%(namelower)s_v%s_tar_gz_15843.gz' % '_'.join(version.split('.')),
'extract_cmd': "tar xfvz %s",
}]

patches = [
'GATE-%(version)s_Makefile-prefix.patch',
Expand Down
5 changes: 4 additions & 1 deletion easybuild/easyconfigs/g/GATE/GATE-7.0-intel-2015a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ description = """GATE is an advanced opensource software developed by the intern

toolchain = {'name': 'intel', 'version': '2015a'}

sources = [('%(namelower)s_v%(version)s.tar_.gz', "tar xfvz %s")]
sources = [{
'filename': '%(namelower)s_v%(version)s.tar_.gz',
'extract_cmd': "tar xfvz %s",
}]
source_urls = ['http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/']

patches = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ description = """GATE is an advanced opensource software developed by the intern

toolchain = {'name': 'intel', 'version': '2016a'}

sources = [('%(namelower)s_v%(version)s.tar.gz', "tar xfvz %s")]
sources = [{
'filename': '%(namelower)s_v%(version)s.tar_.gz',
'extract_cmd': "tar xfvz %s",
}]
source_urls = ['http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/']

patches = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ description = """GATE is an advanced opensource software developed by the intern

toolchain = {'name': 'intel', 'version': '2016a'}

sources = [('%(namelower)s_v%(version)s.tar.gz', "tar xfvz %s")]
sources = [{
'filename': '%(namelower)s_v%(version)s.tar_.gz',
'extract_cmd': "tar xfvz %s",
}]
source_urls = ['http://www.opengatecollaboration.org/sites/opengatecollaboration.org/files/']

patches = [
Expand Down
5 changes: 4 additions & 1 deletion easybuild/easyconfigs/g/GIMPS/GIMPS-p95v279-GCC-4.8.2.eb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ builddependencies = [('cURL', '7.33.0')]

# make sure unzip works, zipped sources may contain some 'corruption',
# e.g. "linux64/: ucsize 306 <> csize 0 for STORED entry"
sources = [('%(version)s.source.zip', 'unzip -qq %s || /bin/true')]
sources = [{
'filename': '%(version)s.source.zip',
'extract_cmd': "unzip -qq %s || /bin/true",
}]
# e.g. http://www.mersenne.info/gimps/p95v279.source.zip
source_urls = ['http://www.mersenne.info/%(namelower)s']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lapack_unpack_cmd += 'tar -C lapack-netlib --strip-components=1 -zxf %s; cd -'

sources = [
'v%(version)s.tar.gz',
(lapack_src, lapack_unpack_cmd),
{'filename': lapack_src, 'extract_cmd': lapack_unpack_cmd},
large_src,
timing_src,
]
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/o/OpenCV/OpenCV-3.1.0-foss-2016a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ source_urls = [

sources = [
'%(version)s.zip',
('ippicv_linux_20151201.tgz', 'cp %s %(builddir)s'),
{'filename': 'ippicv_linux_20151201.tgz', 'extract_cmd': "cp %s %(builddir)s"},
]

builddependencies = [
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/o/OpenCV/OpenCV-3.1.0-foss-2016b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ source_urls = [

sources = [
'%(version)s.zip',
('ippicv_linux_20151201.tgz', 'cp %s %(builddir)s'),
{'filename': 'ippicv_linux_20151201.tgz', 'extract_cmd': "cp %s %(builddir)s"},
]

builddependencies = [
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/o/OpenCV/OpenCV-3.1.0-intel-2016a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ source_urls = [

sources = [
'%(version)s.zip',
('ippicv_linux_20151201.tgz', 'cp %s %(builddir)s'),
{'filename': 'ippicv_linux_20151201.tgz', 'extract_cmd': "cp %s %(builddir)s"},
]

patches = ['OpenCV-%(version)s_with_IPP.patch']
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/o/OpenCV/OpenCV-3.1.0-intel-2016b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ source_urls = [

sources = [
'%(version)s.zip',
('ippicv_linux_20151201.tgz', 'cp %s %(builddir)s'),
{'filename': 'ippicv_linux_20151201.tgz', 'extract_cmd': "cp %s %(builddir)s"},
]

patches = ['OpenCV-%(version)s_with_IPP.patch']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ source_urls = [
'https://github.com/google/googletest/archive/',
]
sources = [
('%s.tar.gz' % commit, "tar xfvz %s --strip-components=1"), # pbbam
{'filename': '%s.tar.gz' % commit, 'extract_cmd': "tar xfvz %s --strip-components=1"}, # pbbam
'release-%s.tar.gz' % gtest_ver, # googletest
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description = "A molecular surface solver, which can be used as rendering method
toolchain = {'name': 'goolf', 'version': '1.4.10'}

source_urls = ['http://www.ks.uiuc.edu/Research/vmd/extsrcs']
sources = [('%(namelower)s.tar.Z', 'tar -xzf %s')]
sources = [{'filename': '%(namelower)s.tar.Z', 'extract_cmd': "tar -xzf %s"}]

builddependencies = [
('makedepend', '1.0.4'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description = "A molecular surface solver, which can be used as rendering method
toolchain = {'name': 'ictce', 'version': '5.3.0'}

source_urls = ['http://www.ks.uiuc.edu/Research/vmd/extsrcs']
sources = [('%(namelower)s.tar.Z', 'tar -xzf %s')]
sources = [{'filename': '%(namelower)s.tar.Z', 'extract_cmd': "tar -xzf %s"}]

builddependencies = [
('makedepend', '1.0.4'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description = """Variant calling and somatic mutation/CNV detection for next-gen

toolchain = {'name': 'dummy', 'version': ''}

sources = [('%(name)s.v%(version)s.jar', 'download')]
sources = ['%(name)s.v%(version)s.jar']
source_urls = ['https://sourceforge.net/projects/varscan/files/']

dependencies = [('Java', '1.7.0_80')]
Expand Down

0 comments on commit 197c4c7

Please sign in to comment.