py-bokeh: new version 3.3.1, and supporting packages (#41089)
* py-bokeh: new version 3.3.1 * py-xyzservices: new package * py-bokeh, py-xyzservices: update homepages Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> * py-bokeh: depends on newer py-numpy Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
e8f09713be
commit
16f4c53cd4
2 changed files with 39 additions and 3 deletions
|
@ -9,9 +9,10 @@
|
|||
class PyBokeh(PythonPackage):
|
||||
"""Statistical and novel interactive HTML plots for Python"""
|
||||
|
||||
homepage = "https://github.com/bokeh/bokeh"
|
||||
homepage = "https://bokeh.org/"
|
||||
pypi = "bokeh/bokeh-0.12.2.tar.gz"
|
||||
|
||||
version("3.3.1", sha256="2a7b3702d7e9f03ef4cd801b02b7380196c70cff2773859bcb84fa565218955c")
|
||||
version("2.4.3", sha256="ef33801161af379665ab7a34684f2209861e3aefd5c803a21fbbb99d94874b03")
|
||||
version("2.4.1", sha256="d0410717d743a0ac251e62480e2ea860a7341bdcd1dbe01499a904f233c90512")
|
||||
version("2.4.0", sha256="6fa00ed8baab5cca33f4175792c309fa2536eaae7e90abee884501ba8c90fddb")
|
||||
|
@ -20,11 +21,16 @@ class PyBokeh(PythonPackage):
|
|||
version("0.12.2", sha256="0a840f6267b6d342e1bd720deee30b693989538c49644142521d247c0f2e6939")
|
||||
|
||||
depends_on("py-setuptools", type="build", when="@1.3.4:")
|
||||
depends_on("py-setuptools@64:", type="build", when="@3:")
|
||||
depends_on("py-setuptools-git-versioning", type="build", when="@3:")
|
||||
depends_on("py-colorama", type="build", when="@3:")
|
||||
|
||||
depends_on("python@2.6:", type=("build", "run"), when="@0.12.2")
|
||||
depends_on("python@2.7:", type=("build", "run"), when="@1.3.4:")
|
||||
depends_on("python@3.6:", type=("build", "run"), when="@2.3.3:")
|
||||
depends_on("python@3.7:", type=("build", "run"), when="@2.4.0:")
|
||||
depends_on("python@3.8:", type=("build", "run"), when="@3.0.0:")
|
||||
depends_on("python@3.9:", type=("build", "run"), when="@3.2.0:")
|
||||
|
||||
depends_on("py-requests@1.2.3:", type=("build", "run"), when="@0.12.2")
|
||||
depends_on("py-six@1.5.2:", type=("build", "run"), when="@:1.3.4")
|
||||
|
@ -33,11 +39,16 @@ class PyBokeh(PythonPackage):
|
|||
depends_on("py-jinja2@2.7:", type=("build", "run"))
|
||||
depends_on("py-jinja2@2.9:", type=("build", "run"), when="@2.3.3:")
|
||||
|
||||
depends_on("py-contourpy@1:", type=("build", "run"), when="@3:")
|
||||
|
||||
depends_on("py-numpy@1.7.1:", type=("build", "run"))
|
||||
depends_on("py-numpy@1.11.3:", type=("build", "run"), when="@2.3.3:")
|
||||
depends_on("py-numpy@1.16:", type=("build", "run"), when="@3.1:")
|
||||
|
||||
depends_on("py-packaging@16.8:", type=("build", "run"), when="@1.3.4:")
|
||||
|
||||
depends_on("py-pandas@1.2:", type=("build", "run"), when="@3:")
|
||||
|
||||
depends_on("pil@4.0:", type=("build", "run"), when="@1.3.4:")
|
||||
depends_on("pil@7.1.0:", type=("build", "run"), when="@2.3.3:")
|
||||
|
||||
|
@ -46,5 +57,7 @@ class PyBokeh(PythonPackage):
|
|||
depends_on("py-tornado@4.3:", type=("build", "run"))
|
||||
depends_on("py-tornado@5.1:", type=("build", "run"), when="@2.3.3:")
|
||||
|
||||
depends_on("py-typing-extensions@3.7.4:", type=("build", "run"), when="@2.3.3:")
|
||||
depends_on("py-typing-extensions@3.10.0:", type=("build", "run"), when="@2.4.0:")
|
||||
depends_on("py-typing-extensions@3.7.4:", type=("build", "run"), when="@2.3.3:3.0.0")
|
||||
depends_on("py-typing-extensions@3.10.0:", type=("build", "run"), when="@2.4.0:3.0.0")
|
||||
|
||||
depends_on("py-xyzservices@2021.09.1:", type=("build", "run"), when="@3:")
|
||||
|
|
23
var/spack/repos/builtin/packages/py-xyzservices/package.py
Normal file
23
var/spack/repos/builtin/packages/py-xyzservices/package.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Copyright 2013-2023 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 PyXyzservices(PythonPackage):
|
||||
"""xyzservices is a lightweight library providing a repository of
|
||||
available XYZ services offering raster basemap tiles."""
|
||||
|
||||
homepage = "https://github.com/geopandas/xyzservices"
|
||||
pypi = "xyzservices/xyzservices-2023.10.1.tar.gz"
|
||||
|
||||
license("BSD-3-Clause")
|
||||
|
||||
version("2023.10.1", sha256="091229269043bc8258042edbedad4fcb44684b0473ede027b5672ad40dc9fa02")
|
||||
|
||||
depends_on("python@3.8:", type=("build", "run"))
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-setuptools-scm", type="build")
|
Loading…
Reference in a new issue