From 10638ea449d119bc5bac75c8e895ea994353110b Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Wed, 29 Sep 2021 20:31:32 +0200 Subject: py-jupyter-packaging: add 0.7.12 and 0.10.6 (#26338) * py-jupyter-packaging: add 0.7.12 and 0.10.6 * Update var/spack/repos/builtin/packages/py-jupyter-packaging/package.py Co-authored-by: Adam J. Stewart * Update var/spack/repos/builtin/packages/py-jupyter-packaging/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- .../repos/builtin/packages/py-jupyter-packaging/package.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-jupyter-packaging/package.py b/var/spack/repos/builtin/packages/py-jupyter-packaging/package.py index 7875ec2b5d..b0a4747950 100644 --- a/var/spack/repos/builtin/packages/py-jupyter-packaging/package.py +++ b/var/spack/repos/builtin/packages/py-jupyter-packaging/package.py @@ -12,11 +12,15 @@ class PyJupyterPackaging(PythonPackage): homepage = "https://github.com/jupyter/jupyter-packaging" pypi = "jupyter_packaging/jupyter_packaging-0.10.4.tar.gz" + version('0.10.6', sha256='a8a2c90bf2e0cae83be63ccb0b7035032a1589f268cc08b1d479e37ce50fc940') version('0.10.4', sha256='589db027cb85a92612f9bcfaeecaa8a9072ac8a4bddaf827f648664258e587c4') + version('0.7.12', sha256='b140325771881a7df7b7f2d14997b619063fe75ae756b9025852e4346000bbb8', + # name has a '-' instead of a '_' + url='https://files.pythonhosted.org/packages/source/j/jupyter_packaging/jupyter-packaging-0.7.12.tar.gz') depends_on('python@3.6:', type=('build', 'run')) depends_on('py-setuptools@46.4.0:', type=('build', 'run')) depends_on('py-packaging', type=('build', 'run')) - depends_on('py-tomlkit', type=('build', 'run')) - depends_on('py-wheel', type=('build', 'run')) - depends_on('py-deprecation', type=('build', 'run')) + depends_on('py-tomlkit', when='@0.8.0:', type=('build', 'run')) + depends_on('py-wheel', when='@0.8.0:', type=('build', 'run')) + depends_on('py-deprecation', when='@0.8.0:', type=('build', 'run')) -- cgit v1.2.3-60-g2f50