py-geemap: add new package (#48602)
This commit is contained in:
parent
7a82c703c7
commit
b0afb619de
24
var/spack/repos/builtin/packages/py-bqplot/package.py
Normal file
24
var/spack/repos/builtin/packages/py-bqplot/package.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyBqplot(PythonPackage):
|
||||||
|
"""Interactive plotting for the Jupyter notebook, using d3.js and ipywidgets."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/bqplot/bqplot"
|
||||||
|
# Source code only available on GitHub, has build issues
|
||||||
|
url = "https://files.pythonhosted.org/packages/py2.py3/b/bqplot/bqplot-0.12.44-py2.py3-none-any.whl"
|
||||||
|
|
||||||
|
license("Apache-2.0")
|
||||||
|
|
||||||
|
version("0.12.44", sha256="cad65bf5c4ce7ea7b03e1c674340f9274c0975941e63057831b29f7c2c37f144")
|
||||||
|
|
||||||
|
with default_args(type=("build", "run")):
|
||||||
|
depends_on("py-ipywidgets@7.5:8")
|
||||||
|
depends_on("py-traitlets@4.3:")
|
||||||
|
depends_on("py-traittypes@0.0.6:")
|
||||||
|
depends_on("py-numpy@1.10.4:")
|
||||||
|
depends_on("py-pandas@1:2")
|
20
var/spack/repos/builtin/packages/py-colour/package.py
Normal file
20
var/spack/repos/builtin/packages/py-colour/package.py
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyColour(PythonPackage):
|
||||||
|
"""converts and manipulates various color representation (HSL, RVB, web, X11, ...)"""
|
||||||
|
|
||||||
|
homepage = "http://github.com/vaab/colour"
|
||||||
|
pypi = "colour/colour-0.1.5.tar.gz"
|
||||||
|
|
||||||
|
license("BSD-2-Clause")
|
||||||
|
|
||||||
|
version("0.1.5", sha256="af20120fefd2afede8b001fbef2ea9da70ad7d49fafdb6489025dae8745c3aee")
|
||||||
|
|
||||||
|
with default_args(type="build"):
|
||||||
|
depends_on("py-setuptools")
|
||||||
|
depends_on("py-d2to1")
|
@ -18,6 +18,8 @@ class PyD2to1(PythonPackage):
|
|||||||
)
|
)
|
||||||
version("0.2.12", sha256="04ab9f3ac255d367ecda1eb59379e5031816740c3a3eda95d0dba9f6bb3b7ca4")
|
version("0.2.12", sha256="04ab9f3ac255d367ecda1eb59379e5031816740c3a3eda95d0dba9f6bb3b7ca4")
|
||||||
|
|
||||||
depends_on("c", type="build") # generated
|
depends_on("c", type="build")
|
||||||
|
|
||||||
depends_on("py-setuptools", type="build")
|
# d2to1/core.py
|
||||||
|
# from setuptools.dist import _get_unpatched
|
||||||
|
depends_on("py-setuptools@:67", type=("build", "run"))
|
||||||
|
19
var/spack/repos/builtin/packages/py-eerepr/package.py
Normal file
19
var/spack/repos/builtin/packages/py-eerepr/package.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyEerepr(PythonPackage):
|
||||||
|
"""Code Editor-style reprs for Earth Engine data in a Jupyter notebook."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/aazuspan/eerepr"
|
||||||
|
pypi = "eerepr/eerepr-0.1.0.tar.gz"
|
||||||
|
|
||||||
|
license("MIT")
|
||||||
|
|
||||||
|
version("0.1.0", sha256="a3c6f4d94ee19374aea2ff7ae9f2471f06649be5e18f9cb1cced8a00c2c20857")
|
||||||
|
|
||||||
|
depends_on("py-hatchling", type="build")
|
||||||
|
depends_on("py-earthengine-api", type=("build", "run"))
|
@ -13,6 +13,7 @@ class PyFolium(PythonPackage):
|
|||||||
|
|
||||||
license("MIT")
|
license("MIT")
|
||||||
|
|
||||||
|
version("0.19.4", sha256="431a655b52a9bf3efda336f2be022103f0106504a0599e7c349efbfd30bafda6")
|
||||||
version("0.16.0", sha256="2585ee9253dc758d3a365534caa6fb5fa0c244646db4dc5819afc67bbd4daabb")
|
version("0.16.0", sha256="2585ee9253dc758d3a365534caa6fb5fa0c244646db4dc5819afc67bbd4daabb")
|
||||||
|
|
||||||
depends_on("py-setuptools@41.2:", type="build")
|
depends_on("py-setuptools@41.2:", type="build")
|
||||||
|
40
var/spack/repos/builtin/packages/py-geemap/package.py
Normal file
40
var/spack/repos/builtin/packages/py-geemap/package.py
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyGeemap(PythonPackage):
|
||||||
|
"""A Python package for interactive mapping using Google Earth Engine and ipyleaflet."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/gee-community/geemap"
|
||||||
|
pypi = "geemap/geemap-0.35.1.tar.gz"
|
||||||
|
|
||||||
|
license("MIT")
|
||||||
|
|
||||||
|
version("0.35.1", sha256="98f3f17fb1d07a6fe43b06f03fb680e10517adfd96002184015a3d4fe92435d6")
|
||||||
|
|
||||||
|
with default_args(type="build"):
|
||||||
|
depends_on("py-setuptools@64:")
|
||||||
|
depends_on("py-setuptools-scm@8:")
|
||||||
|
|
||||||
|
with default_args(type=("build", "run")):
|
||||||
|
depends_on("py-bqplot")
|
||||||
|
depends_on("py-colour")
|
||||||
|
depends_on("py-earthengine-api@1:")
|
||||||
|
depends_on("py-eerepr@0.0.4:")
|
||||||
|
depends_on("py-folium@0.17:")
|
||||||
|
depends_on("py-geocoder")
|
||||||
|
depends_on("py-ipyevents")
|
||||||
|
depends_on("py-ipyfilechooser@0.6:")
|
||||||
|
depends_on("py-ipyleaflet@0.19.2:")
|
||||||
|
depends_on("py-ipytree")
|
||||||
|
depends_on("py-matplotlib")
|
||||||
|
depends_on("py-numpy")
|
||||||
|
depends_on("py-pandas")
|
||||||
|
depends_on("py-plotly")
|
||||||
|
depends_on("py-pyperclip")
|
||||||
|
depends_on("py-pyshp@2.3.1:")
|
||||||
|
depends_on("py-python-box")
|
||||||
|
depends_on("py-scooby")
|
25
var/spack/repos/builtin/packages/py-geocoder/package.py
Normal file
25
var/spack/repos/builtin/packages/py-geocoder/package.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyGeocoder(PythonPackage):
|
||||||
|
"""Geocoder is a simple and consistent geocoding library."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/DenisCarriere/geocoder"
|
||||||
|
pypi = "geocoder/geocoder-1.38.1.tar.gz"
|
||||||
|
|
||||||
|
license("MIT")
|
||||||
|
|
||||||
|
version("1.38.1", sha256="c9925374c961577d0aee403b09e6f8ea1971d913f011f00ca70c76beaf7a77e7")
|
||||||
|
|
||||||
|
depends_on("py-setuptools", type="build")
|
||||||
|
|
||||||
|
with default_args(type=("build", "run")):
|
||||||
|
depends_on("py-requests")
|
||||||
|
depends_on("py-ratelim")
|
||||||
|
depends_on("py-click")
|
||||||
|
depends_on("py-six")
|
||||||
|
depends_on("py-future")
|
@ -13,10 +13,20 @@ class PyIpyevents(PythonPackage):
|
|||||||
|
|
||||||
license("BSD-3-Clause")
|
license("BSD-3-Clause")
|
||||||
|
|
||||||
version("2.0.1", sha256="23eb2afab13d9056397f120a88051dd3beb067b698d08b33adffc9e077f019cb")
|
version("2.0.2", sha256="26e878b0c5854bc8b6bd6a2bd2c89b314ebe86fda642f4d2434051545bab258f")
|
||||||
|
version(
|
||||||
|
"2.0.1",
|
||||||
|
sha256="23eb2afab13d9056397f120a88051dd3beb067b698d08b33adffc9e077f019cb",
|
||||||
|
deprecated=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
with default_args(type="build"):
|
||||||
|
depends_on("py-hatchling", when="@2.0.2:")
|
||||||
|
depends_on("py-jupyterlab@3")
|
||||||
|
depends_on("py-hatch-jupyter-builder@0.8.3:", when="@2.0.2:")
|
||||||
|
|
||||||
|
# Historical dependencies
|
||||||
|
depends_on("py-setuptools@40.8:", when="@:2.0.1")
|
||||||
|
depends_on("py-jupyter-packaging@0.7", when="@:2.0.1")
|
||||||
|
|
||||||
depends_on("python@3.6:", type=("build", "run"))
|
|
||||||
depends_on("py-setuptools@40.8:", type="build")
|
|
||||||
depends_on("py-jupyter-packaging@0.7", type="build")
|
|
||||||
depends_on("py-jupyterlab@3.0:3", type="build")
|
|
||||||
depends_on("py-ipywidgets@7.6:", type=("build", "run"))
|
depends_on("py-ipywidgets@7.6:", type=("build", "run"))
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyIpyfilechooser(PythonPackage):
|
||||||
|
"""Python file chooser widget for use in Jupyter/IPython in conjunction with ipywidgets."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/crahan/ipyfilechooser"
|
||||||
|
pypi = "ipyfilechooser/ipyfilechooser-0.6.0.tar.gz"
|
||||||
|
|
||||||
|
license("MIT")
|
||||||
|
|
||||||
|
version("0.6.0", sha256="41df9e4395a924f8e1b78e2804dbe5066dc3fdc233fb07fecfcdc2a0c9a7d8d3")
|
||||||
|
|
||||||
|
depends_on("py-setuptools", type="build")
|
||||||
|
depends_on("py-ipywidgets", type=("build", "run"))
|
25
var/spack/repos/builtin/packages/py-ipyleaflet/package.py
Normal file
25
var/spack/repos/builtin/packages/py-ipyleaflet/package.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyIpyleaflet(PythonPackage):
|
||||||
|
"""A Jupyter widget for dynamic Leaflet maps."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/jupyter-widgets/ipyleaflet"
|
||||||
|
pypi = "ipyleaflet/ipyleaflet-0.19.2.tar.gz"
|
||||||
|
|
||||||
|
license("MIT")
|
||||||
|
|
||||||
|
version("0.19.2", sha256="b3b83fe3460e742964c2a5924ea7934365a3749bb75310ce388d45fd751372d2")
|
||||||
|
|
||||||
|
depends_on("py-hatchling", type="build")
|
||||||
|
|
||||||
|
with default_args(type=("build", "run")):
|
||||||
|
depends_on("py-ipywidgets@7.6:8")
|
||||||
|
depends_on("py-traittypes@0.2.1:2")
|
||||||
|
depends_on("py-xyzservices@2021.8.1:")
|
||||||
|
depends_on("py-branca@0.5:")
|
||||||
|
depends_on("py-jupyter-leaflet@0.19")
|
23
var/spack/repos/builtin/packages/py-ipytree/package.py
Normal file
23
var/spack/repos/builtin/packages/py-ipytree/package.py
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyIpytree(PythonPackage):
|
||||||
|
"""A Tree Widget using jsTree."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/martinRenou/ipytree"
|
||||||
|
pypi = "ipytree/ipytree-0.2.2.tar.gz"
|
||||||
|
|
||||||
|
license("MIT")
|
||||||
|
|
||||||
|
version("0.2.2", sha256="d53d739bbaaa45415733cd06e0dc420a2af3d173438617db472a517bc7a61e56")
|
||||||
|
|
||||||
|
with default_args(type="build"):
|
||||||
|
depends_on("py-jupyter-packaging@0.7")
|
||||||
|
depends_on("py-jupyterlab@3")
|
||||||
|
depends_on("py-setuptools@40.8:")
|
||||||
|
|
||||||
|
depends_on("py-ipywidgets@7.5:8", type=("build", "run"))
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyJupyterLeaflet(PythonPackage):
|
||||||
|
"""ipyleaflet extensions for JupyterLab and Jupyter Notebook."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/jupyter-widgets/ipyleaflet"
|
||||||
|
pypi = "jupyter_leaflet/jupyter_leaflet-0.19.2.tar.gz"
|
||||||
|
|
||||||
|
license("MIT")
|
||||||
|
|
||||||
|
version("0.19.2", sha256="b09b5ba48b1488cb61da37a6f558347269eb53ff6d64dc1a73e005ffc4420063")
|
||||||
|
|
||||||
|
with default_args(type="build"):
|
||||||
|
depends_on("py-hatchling")
|
||||||
|
depends_on("py-jupyterlab@4")
|
||||||
|
depends_on("py-hatch-nodejs-version@0.3.2:")
|
||||||
|
depends_on("py-hatch-jupyter-builder@0.8.1:")
|
@ -12,6 +12,7 @@ class PyJupyterServer(PythonPackage):
|
|||||||
|
|
||||||
homepage = "https://github.com/jupyter-server/jupyter_server"
|
homepage = "https://github.com/jupyter-server/jupyter_server"
|
||||||
pypi = "jupyter_server/jupyter_server-1.9.0.tar.gz"
|
pypi = "jupyter_server/jupyter_server-1.9.0.tar.gz"
|
||||||
|
tags = ["build-tools"]
|
||||||
|
|
||||||
license("BSD-3-Clause")
|
license("BSD-3-Clause")
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ class PyJupyterlab(PythonPackage):
|
|||||||
|
|
||||||
homepage = "https://github.com/jupyterlab/jupyterlab"
|
homepage = "https://github.com/jupyterlab/jupyterlab"
|
||||||
pypi = "jupyterlab/jupyterlab-2.2.7.tar.gz"
|
pypi = "jupyterlab/jupyterlab-2.2.7.tar.gz"
|
||||||
|
tags = ["build-tools"]
|
||||||
|
|
||||||
license("BSD-3-Clause")
|
license("BSD-3-Clause")
|
||||||
|
|
||||||
@ -50,7 +51,8 @@ class PyJupyterlab(PythonPackage):
|
|||||||
depends_on("py-packaging", when="@3:", type=("build", "run"))
|
depends_on("py-packaging", when="@3:", type=("build", "run"))
|
||||||
depends_on("py-traitlets", when="@4:", type=("build", "run"))
|
depends_on("py-traitlets", when="@4:", type=("build", "run"))
|
||||||
depends_on("py-tornado@6.2:", when="@4:", type=("build", "run"))
|
depends_on("py-tornado@6.2:", when="@4:", type=("build", "run"))
|
||||||
depends_on("py-tomli", when="@3.4.7: ^python@:3.10", type=("build", "run"))
|
depends_on("py-tomli", when="@4: ^python@:3.10", type=("build", "run"))
|
||||||
|
depends_on("py-tomli", when="@3.4.7:3", type=("build", "run"))
|
||||||
|
|
||||||
with when("@:3"):
|
with when("@:3"):
|
||||||
depends_on("py-setuptools", when="@:3", type=("build", "run"))
|
depends_on("py-setuptools", when="@:3", type=("build", "run"))
|
||||||
|
@ -15,6 +15,7 @@ class PyPsutil(PythonPackage):
|
|||||||
|
|
||||||
license("BSD-3-Clause")
|
license("BSD-3-Clause")
|
||||||
|
|
||||||
|
version("6.1.1", sha256="cf8496728c18f2d0b45198f06895be52f36611711746b7f30c464b422b50e2f5")
|
||||||
version("5.9.5", sha256="5410638e4df39c54d957fc51ce03048acd8e6d60abc0f5107af51e5fb566eb3c")
|
version("5.9.5", sha256="5410638e4df39c54d957fc51ce03048acd8e6d60abc0f5107af51e5fb566eb3c")
|
||||||
version("5.9.4", sha256="3d7f9739eb435d4b1338944abe23f49584bde5395f27487d2ee25ad9a8774a62")
|
version("5.9.4", sha256="3d7f9739eb435d4b1338944abe23f49584bde5395f27487d2ee25ad9a8774a62")
|
||||||
version("5.9.2", sha256="feb861a10b6c3bb00701063b37e4afc754f8217f0f09c42280586bd6ac712b5c")
|
version("5.9.2", sha256="feb861a10b6c3bb00701063b37e4afc754f8217f0f09c42280586bd6ac712b5c")
|
||||||
@ -26,7 +27,7 @@ class PyPsutil(PythonPackage):
|
|||||||
version("5.4.5", sha256="ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe")
|
version("5.4.5", sha256="ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe")
|
||||||
version("5.0.1", sha256="9d8b7f8353a2b2eb6eb7271d42ec99d0d264a9338a37be46424d56b4e473b39e")
|
version("5.0.1", sha256="9d8b7f8353a2b2eb6eb7271d42ec99d0d264a9338a37be46424d56b4e473b39e")
|
||||||
|
|
||||||
depends_on("c", type="build") # generated
|
depends_on("c", type="build")
|
||||||
|
|
||||||
# pyproject.toml
|
# pyproject.toml
|
||||||
depends_on("py-setuptools@43:", when="@5.9.4:", type="build")
|
depends_on("py-setuptools@43:", when="@5.9.4:", type="build")
|
||||||
|
19
var/spack/repos/builtin/packages/py-traittypes/package.py
Normal file
19
var/spack/repos/builtin/packages/py-traittypes/package.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyTraittypes(PythonPackage):
|
||||||
|
"""Custom trait types for scientific computing."""
|
||||||
|
|
||||||
|
homepage = "http://ipython.org/"
|
||||||
|
pypi = "traittypes/traittypes-0.2.1.tar.gz"
|
||||||
|
|
||||||
|
license("BSD")
|
||||||
|
|
||||||
|
version("0.2.1", sha256="be6fa26294733e7489822ded4ae25da5b4824a8a7a0e0c2dccfde596e3489bd6")
|
||||||
|
|
||||||
|
depends_on("py-setuptools", type="build")
|
||||||
|
depends_on("py-traitlets@4.2.2:", type=("build", "run"))
|
Loading…
Reference in New Issue
Block a user