blob: 8a11e327041dd4390a057047c43f0845bc1dd511 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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 PyPandasStubs(PythonPackage):
"""These are public type stubs for pandas, following the convention of
providing stubs in a separate package, as specified in PEP 561. The stubs
cover the most typical use cases of pandas. In general, these stubs are
narrower than what is possibly allowed by pandas, but follow a convention of
suggesting best recommended practices for using pandas."""
homepage = "https://pandas.pydata.org/"
pypi = "pandas_stubs/pandas_stubs-2.0.2.230605.tar.gz"
version(
"2.0.2.230605", sha256="624c7bb06d38145a44b61be459ccd19b038e0bf20364a025ecaab78fea65e858"
)
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-poetry-core@1:", type="build")
depends_on("py-numpy@1.24.3:", type=("build", "run"))
depends_on("py-types-pytz@2022.1.1:", type=("build", "run"))
|