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:
Justin S 2020-10-22 14:01:49 -05:00 committed by GitHub
parent db167897f4
commit 121a8a5cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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)