summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-poetry/package.py
blob: 68b2ae95e47715c1accc20476245322212750ea4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Copyright 2013-2024 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.package import *


class PyPoetry(PythonPackage):
    """Python dependency management and packaging made easy."""

    homepage = "https://python-poetry.org/"
    pypi = "poetry/poetry-1.1.12.tar.gz"

    license("MIT")

    version("1.6.1", sha256="0ab9b1a592731cc8b252b8d6aaeea19c72cc0a109d7468b829ad57e6c48039d2")
    version("1.2.1", sha256="2750bb2b636ef435d8beac51dde0b13d06199017a1d9b96cba899863d1e81024")
    version("1.2.0", sha256="17c527d5d5505a5a7c5c14348d87f077d643cf1f186321530cde68e530bba59f")
    version("1.1.13", sha256="b905ed610085f568aa61574e0e09260c02bff9eae12ff672af39e9f399357ac4")
    version("1.1.12", sha256="5c66e2357fe37b552462a88b7d31bfa2ed8e84172208becd666933c776252567")

    depends_on("python@3.8:3", when="@1.6.0:", type=("build", "run"))
    depends_on("python@3.7:3", when="@1.2.0:", type=("build", "run"))
    depends_on("python@2.7,3.5:3", type=("build", "run"))
    depends_on("py-poetry-core@1.7.0", when="@1.6.1", type=("build", "run"))
    depends_on("py-poetry-core@1.2.0", when="@1.2.1", type=("build", "run"))
    depends_on("py-poetry-core@1.1.0", when="@1.2.0", type=("build", "run"))
    depends_on("py-poetry-core@1.0.7:1.0", when="@:1.1", type=("build", "run"))
    depends_on("py-poetry-plugin-export@1.5.0:1", when="@1.6.1", type=("build", "run"))
    depends_on("py-poetry-plugin-export@1.0.7:1", when="@1.2.1:", type=("build", "run"))
    depends_on("py-poetry-plugin-export@1.0.6:1", when="@1.2.0:", type=("build", "run"))
    depends_on(
        "py-backports-cached-property@1.0.2:1", when="@1.2.1:^python@:3.7", type=("build", "run")
    )
    depends_on("py-cachecontrol@0.13+filecache", when="@1.6.1", type=("build", "run"))
    depends_on("py-cachecontrol@0.12.9:0.12+filecache", when="@1.2.1:1.2", type=("build", "run"))
    depends_on("py-cachy@0.3.0:0.3", when="@:1.2", type=("build", "run"))
    depends_on("py-cleo@2", when="@1.6.1", type=("build", "run"))
    depends_on("py-cleo@1", when="@1.2", type=("build", "run"))
    depends_on("py-cleo@0.8.1:0.8", when="@:1.1", type=("build", "run"))
    depends_on("py-clikit@0.6.2:0.6", when="@:1.1", type=("build", "run"))
    depends_on("py-crashtest@0.4.1:0.4", when="@1.6.1", type=("build", "run"))
    depends_on("py-crashtest@0.3", when="@:1.2", type=("build", "run"))
    depends_on("py-html5lib@1.0:1", when="@:1.2", type=("build", "run"))
    depends_on("py-importlib-metadata@4.4:", when="@1.2: ^python@:3.9", type=("build", "run"))
    depends_on("py-importlib-metadata@1.6:1", when="@:1.1 ^python@:3.7", type=("build", "run"))
    depends_on("py-jsonschema@4.10.0:4.17", when="@1.6.1", type=("build", "run"))
    depends_on("py-jsonschema@4.10.0:4", when="@1.2:", type=("build", "run"))
    depends_on("py-keyring@24", when="@1.6.1", type=("build", "run"))
    depends_on("py-keyring@21.2.0:", when="@1.1.13:", type=("build", "run"))
    depends_on("py-keyring@21.2.0:21", when="@1.1.12 ^python@3.6:3", type=("build", "run"))
    depends_on("py-packaging@20.4:", when="@1.2:", type=("build", "run"))
    depends_on("py-packaging@20.4:20", when="@:1.1", type=("build", "run"))
    depends_on("py-pexpect@4.7:4", type=("build", "run"))
    depends_on("py-pkginfo@1.9.4:1", when="@1.6.1", type=("build", "run"))
    depends_on("py-pkginfo@1.5:1", when="@1.2:", type=("build", "run"))
    depends_on("py-pkginfo@1.4:1", when="@:1.1", type=("build", "run"))
    depends_on("py-platformdirs@3", when="@1.6.1", type=("build", "run"))
    depends_on("py-platformdirs@2.5.2:2", when="@1.2", type=("build", "run"))
    depends_on("py-requests@2.26:2", when="@1.6.1", type=("build", "run"))
    depends_on("py-requests@2.18:2", type=("build", "run"))
    depends_on("py-requests-toolbelt@0.9.1:1", when="@1.6.1", type=("build", "run"))
    depends_on("py-requests-toolbelt@0.9.1:0.9", when="@:1.2", type=("build", "run"))
    depends_on("py-shellingham@1.5:1", when="@1.2:", type=("build", "run"))
    depends_on("py-shellingham@1.1:1", when="@:1.1", type=("build", "run"))
    depends_on("py-tomlkit@0.11.4:0", when="@1.6.1", type=("build", "run"))
    depends_on("py-tomlkit@0.11.1,0.11.4:0", when="@1.2", type=("build", "run"))
    depends_on("py-tomlkit@0.7:0", when="@:1.1", type=("build", "run"))
    depends_on("py-virtualenv@20.22.0:20", when="@1.6.1", type=("build", "run"))
    depends_on("py-virtualenv@20.4.3:20.4.4,20.4.7:", when="@1.2", type=("build", "run"))
    depends_on("py-virtualenv@20.0.26:20", when="@:1.1", type=("build", "run"))
    depends_on("py-xattr@0.10", when="platform=darwin @1.6.1", type=("build", "run"))
    depends_on("py-xattr@0.9.7:0.9", when="platform=darwin @1.2:")
    depends_on("py-urllib3@1.26.0:1", when="@1.2")
    depends_on("py-dulwich@0.21.2:0.21", when="@1.6.1", type=("build", "run"))
    depends_on("py-dulwich@0.20.46:0.20", when="@1.2.1")
    depends_on("py-dulwich@0.20.44:0.20", when="@1.2.0")
    depends_on("py-build@0.10", when="@1.6.1", type=("build", "run"))
    depends_on("py-installer@0.7.0:0.7", when="@1.6.1", type=("build", "run"))
    depends_on("py-pyproject-hooks@1", when="@1.6.1", type=("build", "run"))
    depends_on("py-tomli@2.0.1:2", when="@1.6.1^python@:3.10", type=("build", "run"))
    depends_on("py-trove-classifiers@2022.5.19:", when="@1.6.1", type=("build", "run"))