spack/var/spack/repos/builtin/packages/py-odfpy/package.py
Dom Heinzeller 22405fbb68
Fix version incompatibilities of py-pandas and py-openpyxl (#40472)
* Fix version incompatibilities of py-pandas and py-openpyxl

* Add variant excel for py-pandas

* Add package py-pyxlsb

* Add versios for py-xlsxwriter

* Define excel dependencies for py-pandas 1.4, 1.5, 2.0, 2.1

* Fix variant excel in py-pandas

* Add package py-odfpy, which is also a dependency for py-pandas@2.0:

* Rearrange excel dependencies for py-pandas

* Change url to pypi

* Add missing newline to fix style in py-odfpy
2023-10-16 10:28:38 -06:00

19 lines
616 B
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 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"))