summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-09-11 18:04:32 -0500
committerGitHub <noreply@github.com>2023-09-11 19:04:32 -0400
commite7507dcd089d977bc5dc2e0de1d78171c41aefdd (patch)
tree06cc596f51c70f2caac65bfffba968b302269677 /var
parent47117585935f3d9264a8e75721e7551bb1c8dcd8 (diff)
downloadspack-e7507dcd089d977bc5dc2e0de1d78171c41aefdd.tar.gz
spack-e7507dcd089d977bc5dc2e0de1d78171c41aefdd.tar.bz2
spack-e7507dcd089d977bc5dc2e0de1d78171c41aefdd.tar.xz
spack-e7507dcd089d977bc5dc2e0de1d78171c41aefdd.zip
py-build: add v1 (#39930)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-build/package.py19
1 files changed, 12 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/py-build/package.py b/var/spack/repos/builtin/packages/py-build/package.py
index 046955dac1..0812041e20 100644
--- a/var/spack/repos/builtin/packages/py-build/package.py
+++ b/var/spack/repos/builtin/packages/py-build/package.py
@@ -12,6 +12,8 @@ class PyBuild(PythonPackage):
homepage = "https://github.com/pypa/build"
pypi = "build/build-0.7.0.tar.gz"
+ version("1.0.3", sha256="538aab1b64f9828977f84bc63ae570b060a8ed1be419e7870b8b4fc5e6ea553b")
+ version("1.0.0", sha256="49a60f212df4d9925727c2118e1cbe3abf30b393eff7d0e7287d2170eb36844d")
version("0.10.0", sha256="d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269")
version("0.9.0", sha256="1a07724e891cbd898923145eb7752ee7653674c511378eb9c7691aab1612bc3c")
version("0.8.0", sha256="887a6d471c901b1a6e6574ebaeeebb45e5269a79d095fe9a8f88d6614ed2e5f0")
@@ -19,17 +21,20 @@ class PyBuild(PythonPackage):
variant("virtualenv", default=False, description="Install optional virtualenv dependency")
- depends_on("python@3.6:", type=("build", "run"))
- depends_on("python@3.7:", when="@0.10:", type=("build", "run"))
+ depends_on("py-flit-core@3.8:", when="@1:", type="build")
depends_on("py-flit-core@3.4:", when="@0.10:", type="build")
- depends_on("py-setuptools", when="@:0.9", type="build")
depends_on("py-packaging@19:", type=("build", "run"))
depends_on("py-pyproject-hooks", when="@0.10.0:", type=("build", "run"))
- depends_on("py-pep517@0.9.1:", when="@:0.9", type=("build", "run"))
- depends_on("py-tomli@1:", type=("build", "run"))
- depends_on("py-tomli@1.1:", when="@0.10:", type=("build", "run"))
depends_on("py-colorama", when="platform=windows", type=("build", "run"))
- depends_on("py-importlib-metadata@0.22:", when="^python@:3.7", type=("build", "run"))
+ depends_on("py-importlib-metadata@4.6:", when="@1: ^python@:3.9", type=("build", "run"))
+ depends_on("py-importlib-metadata@0.22:", when="@0 ^python@:3.7", type=("build", "run"))
+ depends_on("py-tomli@1.1:", when="@1: ^python@:3.10", type=("build", "run"))
+ depends_on("py-tomli@1.1:", when="@0.10", type=("build", "run"))
+ depends_on("py-tomli@1:", when="@:0.9", type=("build", "run"))
+
+ # Historical dependencies
+ depends_on("py-setuptools", when="@:0.9", type="build")
+ depends_on("py-pep517@0.9.1:", when="@:0.9", type=("build", "run"))
depends_on("py-virtualenv@20.0.35:", when="+virtualenv", type=("build", "run"))
# https://github.com/pypa/build/issues/266