genemark et package: add version 4.38 (#10519)
Also add heu_dir to bin/
This commit is contained in:
parent
11c52c3bf7
commit
1a34bebe79
@ -10,10 +10,16 @@
|
||||
|
||||
class GenemarkEt(Package):
|
||||
"""Gene Prediction in Bacteria, archaea, Metagenomes and
|
||||
Metatranscriptomes."""
|
||||
Metatranscriptomes.
|
||||
When downloaded this file is named the same for all versions.
|
||||
Spack will search your current directory for the download file.
|
||||
Alternatively, add this file to a mirror so that Spack can find it.
|
||||
For instructions on how to set up a mirror, see
|
||||
http://spack.readthedocs.io/en/latest/mirrors.html"""
|
||||
|
||||
homepage = "http://topaz.gatech.edu/GeneMark"
|
||||
|
||||
version('4.38', sha256='cee3bd73d331be44159eac15469560d0b07ffa2c98ac764c37219e1f3b7d3146')
|
||||
version('4.33', '4ab7d7d3277a685dfb49e11bc5b493c3')
|
||||
|
||||
depends_on('perl', type=('build', 'run'))
|
||||
@ -23,12 +29,14 @@ def url_for_version(self, version):
|
||||
|
||||
def install(self, spec, prefix):
|
||||
mkdirp(prefix.bin)
|
||||
mkdirp(prefix.bin.heu_dir)
|
||||
with working_dir('gmes_petap'):
|
||||
install_tree('lib', prefix.lib)
|
||||
files = glob.iglob('*')
|
||||
for file in files:
|
||||
if os.path.isfile(file):
|
||||
install(file, prefix.bin)
|
||||
install_tree('heu_dir', prefix.bin.heu_dir)
|
||||
|
||||
def setup_environment(self, spack_env, run_env):
|
||||
run_env.prepend_path('PERL5LIB', prefix.lib)
|
||||
|
Loading…
Reference in New Issue
Block a user