summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-poetry-core/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-poetry-core/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-poetry-core/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-poetry-core/package.py b/var/spack/repos/builtin/packages/py-poetry-core/package.py
index efffca087b..864427a005 100644
--- a/var/spack/repos/builtin/packages/py-poetry-core/package.py
+++ b/var/spack/repos/builtin/packages/py-poetry-core/package.py
@@ -12,11 +12,17 @@ class PyPoetryCore(PythonPackage):
homepage = "https://github.com/python-poetry/poetry-core"
pypi = "poetry-core/poetry-core-1.0.7.tar.gz"
+ version("1.2.0", sha256="ceccec95487e46c63a41761fbac5211b809bca22658e25a049f4c7da96269f71")
+ version("1.1.0", sha256="d145ae121cf79118a8901b60f2c951c4edcc16f55eb8aaefc156aa33aa921f07")
version("1.0.8", sha256="951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118")
version("1.0.7", sha256="98c11c755a16ef6c5673c22ca94a3802a7df4746a0853a70b6fae8b9f5cac206")
depends_on("python@2.7,3.5:3", type=("build", "run"))
- depends_on("py-importlib-metadata@1.7:1", when="^python@2.7,3.5:3.7", type=("build", "run"))
+ depends_on("python@3.7:3", when="@1.1.0:", type=("build", "run"))
+ depends_on(
+ "py-importlib-metadata@1.7:1", when="@:1.0 ^python@2.7,3.5:3.7", type=("build", "run")
+ )
+ depends_on("py-importlib-metadata@1.7:", when="@1.1: ^python@:3.7", type=("build", "run"))
depends_on("py-pathlib2@2.3.5:2", when="^python@2.7", type=("build", "run"))
depends_on("py-typing@3.7.4.1:3", when="^python@2.7", type=("build", "run"))
depends_on("py-enum34@1.1.10:1", when="^python@2.7", type=("build", "run"))