
* simple build of py-openai * added variants to py-openai * py-pandas-stubs is a dependency for py-openai * fixed format and flake8 errors for py-openai * black format error for py-pandas-stubs * [@spackbot] updating style on behalf of sidpbury * made style and format changes to py-openai * made style and format changes to py-pandas-stubs * py-types-pytz is a dependency for py-openai * [@spackbot] updating style on behalf of sidpbury * updated py-openpyxl for ver 3.0.7 and 3.1.2 * Update var/spack/repos/builtin/packages/py-pandas-stubs/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * ajs requested changes for py-openai * updated py-openpyxl for supported python * [@spackbot] updating style on behalf of sidpbury * updated py-openpyxl * removed requirement.txt dependencies in py-openpyxl * removed python depends on from openpyxl --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
27 lines
1.1 KiB
Python
27 lines
1.1 KiB
Python
# 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"))
|