summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorsnehring <7978778+snehring@users.noreply.github.com>2022-08-11 14:23:12 -0500
committerGitHub <noreply@github.com>2022-08-11 19:23:12 +0000
commit29ee89b28b73f44334ae54988af13a3b719835d7 (patch)
tree91ae6b229d50e50495acf250a8282d97d57180b1 /var
parent02a5996d241eb3239a1d37c8cb9f5439b250b5ab (diff)
downloadspack-29ee89b28b73f44334ae54988af13a3b719835d7.tar.gz
spack-29ee89b28b73f44334ae54988af13a3b719835d7.tar.bz2
spack-29ee89b28b73f44334ae54988af13a3b719835d7.tar.xz
spack-29ee89b28b73f44334ae54988af13a3b719835d7.zip
pasta: updating to latest version (#32077)
* pasta: updating to latest version * pasta: fixing missing 's' from maintainers
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pasta/package.py7
1 files 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")