From ef202cbd37769847f343820d1479b8901cad528e Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Fri, 1 Oct 2021 16:06:25 +0200 Subject: py-ipywidgets: add 7.6.5 and get sources from pypi (#26393) --- var/spack/repos/builtin/packages/py-ipywidgets/package.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-ipywidgets/package.py b/var/spack/repos/builtin/packages/py-ipywidgets/package.py index 3936363119..3f377f093d 100644 --- a/var/spack/repos/builtin/packages/py-ipywidgets/package.py +++ b/var/spack/repos/builtin/packages/py-ipywidgets/package.py @@ -10,17 +10,22 @@ class PyIpywidgets(PythonPackage): """IPython widgets for the Jupyter Notebook""" homepage = "https://github.com/ipython/ipywidgets" - url = "https://github.com/ipython/ipywidgets/archive/5.2.2.tar.gz" + pypi = "ipywidgets/ipywidgets-7.6.5.tar.gz" - version('7.5.1', sha256='e4253384886aabbaf10966916a2cf9ffa72551bd045d536fa2a379f14b50cec3') - version('7.4.2', sha256='f156165e8a855ed862fdf48e72700bdcd6956d089a2018c5b36d358255d45b2b') - version('5.2.2', sha256='d61ab8bb12b90981a3a6010429816d70eaa041e622043207bcb74239b664d4f3') + version('7.6.5', sha256='00974f7cb4d5f8d494c19810fedb9fa9b64bffd3cda7c2be23c133a1ad3c99c5') + version('7.5.1', sha256='e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97') + version('7.4.2', sha256='a3e224f430163f767047ab9a042fc55adbcab0c24bbe6cf9f306c4f89fdf0ba3') + version('5.2.2', sha256='baf6098f054dd5eacc2934b8ea3bef908b81ca8660d839f1f940255a72c660d2') depends_on('python@2.7:2.8,3.3:', type=('build', 'run')) depends_on('py-ipython@4:', type=('build', 'run')) depends_on('py-ipython@4:5', type=('build', 'run'), when='^python@:3.2') + depends_on('py-jupyterlab-widgets@1.0.0:', type=('build', 'run'), + when='^python@3.6:') depends_on('py-ipykernel@4.2.2:', type=('build', 'run')) depends_on('py-ipykernel@4.5.1:', type=('build', 'run'), when='@6:') + depends_on('py-ipython-genutils@0.2.0:0.2.999', type=('build', 'run'), + when='@7.6.4:') depends_on('py-traitlets@4.2.1:', type=('build', 'run')) depends_on('py-traitlets@4.3.1:', type=('build', 'run'), when='@6:') depends_on('py-nbformat@4.2.0:', type=('build', 'run'), when='@6:') @@ -29,4 +34,4 @@ class PyIpywidgets(PythonPackage): depends_on('py-widgetsnbextension@3.4.0:3.4.999', type=('build', 'run'), when='@7.4.2') depends_on('py-widgetsnbextension@3.5.0:3.5.999', type=('build', 'run'), - when='@7.5.1') + when='@7.5.1:') -- cgit v1.2.3-60-g2f50