diff options
author | Lydéric Debusschère <lyderic.de@gmail.com> | 2023-12-06 15:43:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 08:43:51 -0600 |
commit | 6f7d91aebf4e3b1e769bf8687e9f892148e725f3 (patch) | |
tree | ac3e731ac0b31b511916d82d86b444c16877eda8 /var | |
parent | 071c74d1858d02179e7b94fbcd5406dd6b9301e9 (diff) | |
download | spack-6f7d91aebf4e3b1e769bf8687e9f892148e725f3.tar.gz spack-6f7d91aebf4e3b1e769bf8687e9f892148e725f3.tar.bz2 spack-6f7d91aebf4e3b1e769bf8687e9f892148e725f3.tar.xz spack-6f7d91aebf4e3b1e769bf8687e9f892148e725f3.zip |
py-python-pptx: new package (#41315)
* py-python-pptx: new package
* py-python-pptx: use pil instead of pillow, remove version constraint on python
---------
Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-python-pptx/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-pptx/package.py b/var/spack/repos/builtin/packages/py-python-pptx/package.py new file mode 100644 index 0000000000..298343e0e4 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-python-pptx/package.py @@ -0,0 +1,23 @@ +# 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 PyPythonPptx(PythonPackage): + """Generate and manipulate Open XML PowerPoint (.pptx) files.""" + + homepage = "http://github.com/scanny/python-pptx" + pypi = "python-pptx/python-pptx-0.6.21.tar.gz" + + maintainers("LydDeb") + + version("0.6.23", sha256="587497ff28e779ab18dbb074f6d4052893c85dedc95ed75df319364f331fedee") + version("0.6.21", sha256="7798a2aaf89563565b3c7120c0acfe9aff775db0db3580544e3bf4840c2e378f") + + depends_on("py-setuptools", type="build") + depends_on("py-lxml@3.1.0:", type=("build", "run")) + depends_on("pil@3.3.2:", type=("build", "run")) + depends_on("py-xlsxwriter@0.5.7:", type=("build", "run")) |