diff options
author | Erik Heeren <erik.heeren@epfl.ch> | 2023-03-20 16:33:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 10:33:59 -0500 |
commit | 550bda309693acf48e290b62f3f508de316e075c (patch) | |
tree | e35cbafac6eec01090d9cd35dea5d4819a386a67 /var | |
parent | 334bc69a6470cfb819c0e87f666e244ea9b129ad (diff) | |
download | spack-550bda309693acf48e290b62f3f508de316e075c.tar.gz spack-550bda309693acf48e290b62f3f508de316e075c.tar.bz2 spack-550bda309693acf48e290b62f3f508de316e075c.tar.xz spack-550bda309693acf48e290b62f3f508de316e075c.zip |
py-pdf2image: new package (#36088)
* py-pdf2image: new package
* py-pdf2image: 1.16.3 source now available on pypi
* Update var/spack/repos/builtin/packages/py-pdf2image/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pdf2image/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pdf2image/package.py b/var/spack/repos/builtin/packages/py-pdf2image/package.py new file mode 100644 index 0000000000..fd06c6cfe8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pdf2image/package.py @@ -0,0 +1,21 @@ +# 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 PyPdf2image(PythonPackage): + """A python module that wraps the pdftoppm utility to convert PDF to PIL Image object""" + + homepage = "https://pypi.org/project/pdf2image/" + pypi = "pdf2image/pdf2image-1.12.1.tar.gz" + + version("1.16.3", sha256="74208810c2cef4d9e347769b8e62a52303982ddb4f2dfd744c7ab4b940ae287e") + version("1.12.1", sha256="a0d9906f5507192210a8d5d7ead63145e9dec4bccc4564b1fb644e923913c31c") + + depends_on("py-setuptools", type="build") + + depends_on("pil", type=("build", "run")) + depends_on("poppler", type=("build", "run")) |