transrate: new package at 1.0.3 (#19295)
* transrate: new package at 1.0.3 * transrate: add macOS binary distribution * transrate: fix platform switching
This commit is contained in:
parent
db167897f4
commit
121a8a5cd9
24
var/spack/repos/builtin/packages/transrate/package.py
Normal file
24
var/spack/repos/builtin/packages/transrate/package.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
||||||
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack import *
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
class Transrate(Package):
|
||||||
|
"""Transrate is software for de-novo transcriptome assembly quality
|
||||||
|
analysis."""
|
||||||
|
|
||||||
|
homepage = "http://hibberdlab.com/transrate/"
|
||||||
|
|
||||||
|
if sys.platform == 'darwin':
|
||||||
|
version('1.0.3', sha256='039eba81747dd53f65a99a61923369aae4ba341891215d31a2babe574ac99ca8',
|
||||||
|
url='https://bintray.com/artifact/download/blahah/generic/transrate-1.0.3-osx.tar.gz')
|
||||||
|
else:
|
||||||
|
version('1.0.3', sha256='68d034ecd7012f1d3d505a2edd820c1155cd8b64d2acbf2ac833f30d3800141b',
|
||||||
|
url='https://bintray.com/artifact/download/blahah/generic/transrate-1.0.3-linux-x86_64.tar.gz')
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
install_tree('.', prefix.bin)
|
Loading…
Reference in New Issue
Block a user