summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-olefile/package.py
blob: 44f256319fc5e6ea1bf3967e3f0e8e10b0d01ea3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2019 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 import *


class PyOlefile(PythonPackage):
    """Python package to parse, read and write Microsoft OLE2 files"""

    homepage = "https://www.decalage.info/python/olefileio"
    url      = "https://pypi.io/packages/source/o/olefile/olefile-0.44.zip"

    import_modules = ['olefile']

    version('0.44', sha256='61f2ca0cd0aa77279eb943c07f607438edf374096b66332fae1ee64a6f0f73ad')

    depends_on('python@2.6:', type=('build', 'run'))