old_contents: # Copyright 2013-2020 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 import *
  
  
  class PyWidgetsnbextension(PythonPackage):
      """IPython HTML widgets for Jupyter"""
  
      homepage = "https://pypi.python.org/pypi/widgetsnbextension"
      url      = "https://pypi.io/packages/source/w/widgetsnbextension/widgetsnbextension-1.2.6.tar.gz"
  
      version('3.5.1', sha256='079f87d87270bce047512400efd70238820751a11d2d8cb137a5a5bdbaf255c7')
      version('3.4.2', sha256='fa618be8435447a017fd1bf2c7ae922d0428056cfc7449f7a8641edf76b48265')
      version('3.3.0', sha256='c5280a62d293735cdadc7b8884e2affcfb0488420ee09963577f042359726392')
      version('1.2.6', sha256='c618cfb32978c9517caf0b4ef3aec312f8dd138577745e7b0d4abfcc7315ce51')
  
      depends_on('py-setuptools', type='build')
      depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
      depends_on('py-notebook@4.2.0:', type=('build', 'run'))
      depends_on('py-notebook@4.4.1:', type=('build', 'run'), when='@3.3.0:')
  
new_contents: # Copyright 2013-2020 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 import *
  
  
  class PyWidgetsnbextension(PythonPackage):
      """IPython HTML widgets for Jupyter"""
  
      homepage = "https://pypi.python.org/pypi/widgetsnbextension"
      url      = "https://pypi.io/packages/source/w/widgetsnbextension/widgetsnbextension-1.2.6.tar.gz"
  
      version('3.5.1', sha256='079f87d87270bce047512400efd70238820751a11d2d8cb137a5a5bdbaf255c7')
      version('3.4.2', sha256='fa618be8435447a017fd1bf2c7ae922d0428056cfc7449f7a8641edf76b48265')
      version('3.4.0', sha256='c9d6e426a1d79d132b57b93b368feba2c66eb7b0fd34bdb901716b4b88e94497')
      version('3.3.0', sha256='c5280a62d293735cdadc7b8884e2affcfb0488420ee09963577f042359726392')
      version('1.2.6', sha256='c618cfb32978c9517caf0b4ef3aec312f8dd138577745e7b0d4abfcc7315ce51')
  
      depends_on('py-setuptools', type='build')
      depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
      depends_on('py-notebook@4.2.0:', type=('build', 'run'))
      depends_on('py-notebook@4.4.1:', type=('build', 'run'), when='@3.3.0:')
  
subject: Add extra version of py-widgetsnbextension (#15372)