From 22054403e87682dbc09a4f6afa63f0b77bf3934f Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Thu, 29 Sep 2022 16:16:11 +0200 Subject: py-hatchling: add 1.10.0 and py-pathspec: add 0.10.1 (#32865) --- var/spack/repos/builtin/packages/py-hatchling/package.py | 4 ++++ var/spack/repos/builtin/packages/py-pathspec/package.py | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-hatchling/package.py b/var/spack/repos/builtin/packages/py-hatchling/package.py index f00b5d778d..64ef89d6ce 100644 --- a/var/spack/repos/builtin/packages/py-hatchling/package.py +++ b/var/spack/repos/builtin/packages/py-hatchling/package.py @@ -11,13 +11,17 @@ class PyHatchling(PythonPackage): homepage = "https://hatch.pypa.io/latest/" pypi = "hatchling/hatchling-1.4.1.tar.gz" + git = "https://github.com/pypa/hatch" + version("1.10.0", sha256="5d31f43dffaf6265c808e1b5353662ffa5146d844278b55caa6c7f74f427ec50") version("1.4.1", sha256="13461b42876ade4f75ee5d2a2c656b288ca0aab7f048ef66657ef166996b2118") + # dependencies found in backend/src/hatchling/ouroboros.py depends_on("python@3.7:", type=("build", "run")) depends_on("py-editables@0.3:", type=("build", "run")) depends_on("py-importlib-metadata", when="^python@:3.7", type=("build", "run")) depends_on("py-packaging@21.3:", type=("build", "run")) + depends_on("py-pathspec@0.10.1:", when="@1.9:", type=("build", "run")) depends_on("py-pathspec@0.9:", type=("build", "run")) depends_on("py-pluggy@1:", type=("build", "run")) depends_on("py-tomli@1.2.2:", when="^python@:3.10", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-pathspec/package.py b/var/spack/repos/builtin/packages/py-pathspec/package.py index 8f9d073419..1caaeb74a8 100644 --- a/var/spack/repos/builtin/packages/py-pathspec/package.py +++ b/var/spack/repos/builtin/packages/py-pathspec/package.py @@ -10,12 +10,16 @@ class PyPathspec(PythonPackage): """pathspec extends the test loading and running features of unittest, making it easier to write, find and run tests.""" + homepage = "https://github.com/cpburnz/python-pathspec" pypi = "pathspec/pathspec-0.8.1.tar.gz" + version("0.10.1", sha256="7ace6161b621d31e7902eb6b5ae148d12cfd23f4a249b9ffb6b9fee12084323d") version("0.9.0", sha256="e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1") version("0.8.1", sha256="86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd") version("0.3.4", sha256="7605ca5c26f554766afe1d177164a2275a85bb803b76eba3428f422972f66728") + depends_on("python@3.7:", when="@0.10:", type=("build", "run")) depends_on("python@2.7:2.8,3.5:", type=("build", "run")) - depends_on("py-setuptools", type="build") + depends_on("py-setuptools@40.8:", when="@0.10:", type="build") depends_on("py-setuptools@39.2:", when="@0.9:", type="build") + depends_on("py-setuptools", type="build") -- cgit v1.2.3-70-g09d2