py-magic: new package (#14912)
This commit is contained in:
parent
a337d27874
commit
fb482ae0c9
18
var/spack/repos/builtin/packages/py-magic/package.py
Normal file
18
var/spack/repos/builtin/packages/py-magic/package.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 2013-2020 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 PyMagic(PythonPackage):
|
||||||
|
"""A python wrapper for libmagic."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/ahupp/python-magic"
|
||||||
|
url = "https://github.com/ahupp/python-magic/archive/0.4.15.tar.gz"
|
||||||
|
|
||||||
|
version('0.4.15', sha256='6d730389249ab1e34ffb0a3c5beaa44e116687ffa081e0176dab6c59ff271593')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
||||||
|
depends_on('file', type='run')
|
Loading…
Reference in New Issue
Block a user