py-jupyterlab: fix startup and add 3.0.16 (#24780)
jupyterlab was looking for its application directory inside the python prefix instead its own one. This was fixed by setting the according environment variable.
This commit is contained in:
parent
88be996d45
commit
3c5287c458
1 changed files with 27 additions and 4 deletions
|
@ -8,15 +8,38 @@ class PyJupyterlab(PythonPackage):
|
|||
"""JupyterLab is the next-generation web-based user interface
|
||||
for Project Jupyter."""
|
||||
|
||||
homepage = "https://jupyterlab.readthedocs.io/"
|
||||
homepage = "https://github.com/jupyterlab/jupyterlab"
|
||||
pypi = "jupyterlab/jupyterlab-2.2.7.tar.gz"
|
||||
|
||||
version('3.0.16', sha256='7ad4fbe1f6d38255869410fd151a8b15692a663ca97c0a8146b3f5c40e275c23')
|
||||
version('2.2.7', sha256='a72ffd0d919cba03a5ef8422bc92c3332a957ff97b0490494209c83ad93826da')
|
||||
version('2.1.0', sha256='8c239aababf5baa0b3d36e375fddeb9fd96f3a9a24a8cda098d6a414f5bbdc81')
|
||||
|
||||
depends_on('python@3.6:', when='@3:', type=('build', 'run'))
|
||||
depends_on('python@3.5:', type=('build', 'run'))
|
||||
depends_on('py-setuptools', type=('build', 'run'))
|
||||
depends_on('py-notebook@4.3.1:', type=('build', 'run'))
|
||||
depends_on('py-tornado@:5,6.0.3:', type=('build', 'run'))
|
||||
depends_on('py-jupyterlab-server@1.1.5:1.999', type=('build', 'run'))
|
||||
depends_on('py-jupyter-packaging@0.9:1.999', when='@3.0.15:', type='build')
|
||||
depends_on('py-jupyter-packaging@0.7.3:0.7.999', when='@3.0.0:3.0.14', type='build')
|
||||
# dependency on py-jinja2@2.1 seems to be a migration issue from the switch
|
||||
# to setup.cfg in 3.0.15, leave it a 2.10
|
||||
depends_on('py-jinja2@2.10:', type=('build', 'run'))
|
||||
|
||||
# @3:
|
||||
depends_on('py-ipython', when='@3:', type=('build', 'run'))
|
||||
depends_on('py-packaging', when='@3:', type=('build', 'run'))
|
||||
depends_on('py-tornado@6.1.0:', when='@3:', type=('build', 'run'))
|
||||
depends_on('py-jupyter-core', when='@3:', type=('build', 'run'))
|
||||
depends_on('py-jupyterlab-server@2.3:2.999', when='@3.0.9:', type=('build', 'run'))
|
||||
depends_on('py-jupyterlab-server@2.0:2.999', when='@3.0.0:3.0.8', type=('build', 'run'))
|
||||
depends_on('py-jupyter-server@1.4:1.999', when='@3.0.9:', type=('build', 'run'))
|
||||
depends_on('py-jupyter-server@1.2:1.999', when='@3.0.3:3.0.8', type=('build', 'run'))
|
||||
depends_on('py-jupyter-server@1.1:1.999', when='@3.0.0:3.0.2', type=('build', 'run'))
|
||||
depends_on('py-nbclassic@0.2.0:0.999', when='@3:', type=('build', 'run'))
|
||||
|
||||
# @:3
|
||||
depends_on('py-notebook@4.3.1:', when='@:2.99', type=('build', 'run'))
|
||||
depends_on('py-tornado@:5,6.0.3:', when='@:2.99', type=('build', 'run'))
|
||||
depends_on('py-jupyterlab-server@1.1.5:1.999', when='@:2.99', type=('build', 'run'))
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
env.set('JUPYTERLAB_DIR', self.prefix.share.jupyter.lab)
|
||||
|
|
Loading…
Reference in a new issue