From 29ee89b28b73f44334ae54988af13a3b719835d7 Mon Sep 17 00:00:00 2001 From: snehring <7978778+snehring@users.noreply.github.com> Date: Thu, 11 Aug 2022 14:23:12 -0500 Subject: pasta: updating to latest version (#32077) * pasta: updating to latest version * pasta: fixing missing 's' from maintainers --- var/spack/repos/builtin/packages/pasta/package.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/pasta/package.py b/var/spack/repos/builtin/packages/pasta/package.py index de30f997a3..38ebc787e7 100644 --- a/var/spack/repos/builtin/packages/pasta/package.py +++ b/var/spack/repos/builtin/packages/pasta/package.py @@ -11,10 +11,13 @@ class Pasta(Package): homepage = "https://github.com/smirarab/pasta" git = "https://github.com/smirarab/pasta" + maintainers = ["snehring"] + version("1.9.0", commit="370ae2d21ef461bcb2cef7c20cb5a4a1db7ff99d") version("1.8.3", commit="738bec5e0d5a18d013c193d7453374bed47456c9") - depends_on("python@2.7:") + depends_on("python@3:", when="@1.9.0:") + depends_on("python@:2", when="@:1.8.3") depends_on("py-dendropy") depends_on("java") @@ -35,7 +38,7 @@ class Pasta(Package): install_tree(".", prefix) # run the 'build' from within the prefix - python = which("python2.7") + python = which("python") with working_dir(prefix): python("setup.py", "develop") -- cgit v1.2.3-70-g09d2