blob: 03a0bc03cbb5f312b4c61d6091e543b5ebcdbf06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright 2013-2024 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 PyFileMagic(PythonPackage):
"""This library is a Python ctypes interface to libmagic"""
homepage = "https://pypi.org/project/file-magic/"
pypi = "file-magic/file-magic-0.4.1.tar.gz"
version("0.4.1", sha256="a91d1483117f7ed48cd0238ad9be36b04824d57e9c38ea7523113989e81b9c53")
depends_on("py-setuptools@61:", type="build")
depends_on("file", type="run")
|