forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back missing dependencies after spack#33898
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,9 @@ class PyBlack(PythonPackage): | |
depends_on("[email protected]:", when="+jupyter", type=("build", "run")) | ||
depends_on("[email protected]:", when="+jupyter", type=("build", "run")) | ||
|
||
# Needed because this package is used to bootstrap Spack (Spack supports Python 3.6+) | ||
depends_on("[email protected]:", when="^python@:3.6", type=("build", "run")) | ||
|
||
# see: https://github.com/psf/black/issues/2964 | ||
# note that pip doesn't know this constraint. | ||
depends_on("py-click@:8.0", when="@:22.2", type=("build", "run")) | ||
|
19 changes: 19 additions & 0 deletions
19
var/spack/repos/builtin/packages/py-dataclasses/package.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2013-2022 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 PyDataclasses(PythonPackage): | ||
"""A backport of the dataclasses module for Python 3.6""" | ||
|
||
homepage = "https://github.com/ericvsmith/dataclasses" | ||
pypi = "dataclasses/dataclasses-0.7.tar.gz" | ||
|
||
version("0.8", sha256="8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97") | ||
version("0.7", sha256="494a6dcae3b8bcf80848eea2ef64c0cc5cd307ffc263e17cdf42f3e5420808e6") | ||
|
||
depends_on("[email protected]:3.6", type=("build", "run")) | ||
depends_on("py-setuptools", type="build") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters