Revbayes update (#11559)

* revbayes: new version

* revbayes: pep8
This commit is contained in:
Nick Booher 2019-05-30 12:23:32 -05:00 committed by Elizabeth Fischer
parent 9b88f1b851
commit 786b59633d

View file

@ -11,8 +11,9 @@ class Revbayes(CMakePackage):
and an interpreted language.""" and an interpreted language."""
homepage = "https://revbayes.github.io" homepage = "https://revbayes.github.io"
url = "https://github.com/revbayes/revbayes/archive/v1.0.10.tar.gz" url = "https://github.com/revbayes/revbayes/archive/v1.0.11.tar.gz"
version('1.0.11', sha256='7e81b1952e3a63cb84617fa632f4ccdf246b4d79e7d537a423540de047dadf50')
version('1.0.10', sha256='95e9affe8ca8d62880cf46778b6ec9dd8726e62a185670ebcbadf2eb2bb79f93') version('1.0.10', sha256='95e9affe8ca8d62880cf46778b6ec9dd8726e62a185670ebcbadf2eb2bb79f93')
version('1.0.4', '5d6de96bcb3b2686b270856de3555a58', version('1.0.4', '5d6de96bcb3b2686b270856de3555a58',
url='https://github.com/revbayes/revbayes/archive/v1.0.4-release.tar.gz') url='https://github.com/revbayes/revbayes/archive/v1.0.4-release.tar.gz')
@ -40,6 +41,8 @@ def regenerate(self):
def install(self, spec, prefix): def install(self, spec, prefix):
mkdirp(prefix.bin) mkdirp(prefix.bin)
if '+mpi' in spec: if '+mpi' in spec:
install('rb-mpi', prefix.bin) install_path = join_path(self.build_directory, '..', 'rb-mpi')
install(install_path, prefix.bin)
else: else:
install('rb', prefix.bin) install_path = join_path(self.build_directory, '..', 'rb')
install(install_path, prefix.bin)