forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #346 from climbfuji/feature/merge_openpyxl_etc_fro…
…m_release_151 Merge py-pandas, py-awscrt, texinfo, and ectrans bug fixes from release/1.5.1 (with mods from spack develop)
- Loading branch information
Showing
9 changed files
with
76 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 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 PyOdfpy(PythonPackage): | ||
"""Odfpy is a library to read and write OpenDocument v. 1.2 files.""" | ||
|
||
homepage = "https://github.com/eea/odfpy" | ||
pypi = "odfpy/odfpy-1.4.1.tar.gz" | ||
|
||
version("1.4.1", sha256="db766a6e59c5103212f3cc92ec8dd50a0f3a02790233ed0b52148b70d3c438ec") | ||
|
||
depends_on("py-setuptools", type="build") | ||
depends_on("py-defusedxml", type=("build", "run")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ class PyPandas(PythonPackage): | |
|
||
maintainers("adamjstewart") | ||
|
||
variant("excel", when="@1.4:", default=False, description="Build with support for Excel") | ||
|
||
version("2.0.3", sha256="c02f372a88e0d17f36d3093a644c73cfc1788e876a7c4bcb4020a77512e2043c") | ||
version("2.0.2", sha256="dd5476b6c3fe410ee95926873f377b856dbc4e81a9c605a0dc05aaccc6a7c6c6") | ||
version("2.0.1", sha256="19b8e5270da32b41ebf12f0e7165efa7024492e9513fb46fb631c5022ae5709d") | ||
|
@@ -127,4 +129,24 @@ class PyPandas(PythonPackage): | |
# Optional dependencies | ||
# https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#optional-dependencies | ||
|
||
# Excel dependencies for 1.4+ (not coded up for earlier versions) | ||
depends_on("[email protected]:", type=("run"), when="@2.0: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@2.1: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@1.5: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@1.4: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@2.1: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@1.5: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@1.4: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@1.4: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@1.4:1.5 +excel") | ||
depends_on("[email protected]:", type=("run"), when="@2.1: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@1.5: +excel") | ||
depends_on("[email protected]:", type=("run"), when="@1.4: +excel") | ||
|
||
# Historical dependencies | ||
depends_on("py-setuptools@61:", when="@2.0", type="build") | ||
depends_on("py-setuptools@51:", when="@1.3.2:1", type="build") | ||
depends_on("[email protected]:", when="@1.3.0:1.3.1", type="build") | ||
depends_on("[email protected]:", when="@:1.2", type="build") | ||
|
||
skip_modules = ["pandas.tests", "pandas.plotting._matplotlib", "pandas.core._numba.kernels"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 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 PyPyxlsb(PythonPackage): | ||
"""Excel 2007-2010 Binary Workbook (xlsb) parser""" | ||
|
||
pypi = "pyxlsb/pyxlsb-1.0.10.tar.gz" | ||
|
||
version("1.0.10", sha256="8062d1ea8626d3f1980e8b1cfe91a4483747449242ecb61013bc2df85435f685") | ||
version("1.0.8", sha256="dcf26d6494b45d8852d68571f828c2361b74711a2e19ba03eee77f96b9210464") | ||
version("1.0.6", sha256="47e8230582de15ad9824a456d1d4cb36a6535f4ad5e5eb2464d31f0445b9db46") | ||
|
||
depends_on("py-setuptools", type="build") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters