summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-14 08:37:06 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-14 10:37:06 -0500
commit3a4a513bedbcc9fb84675537f13eca50488337c5 (patch)
tree274966899e65ad15a908dbc5af43f97c64da6c17 /var
parent2e6b44328a54293cebc5e871523c974b8be5a1fb (diff)
downloadspack-3a4a513bedbcc9fb84675537f13eca50488337c5.tar.gz
spack-3a4a513bedbcc9fb84675537f13eca50488337c5.tar.bz2
spack-3a4a513bedbcc9fb84675537f13eca50488337c5.tar.xz
spack-3a4a513bedbcc9fb84675537f13eca50488337c5.zip
add new package: py-python-magic (#12409)
* add new package: py-python-magic * tidy up * Update var/spack/repos/builtin/packages/py-python-magic/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-python-magic/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-magic/package.py b/var/spack/repos/builtin/packages/py-python-magic/package.py
new file mode 100644
index 0000000000..376d601f08
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-python-magic/package.py
@@ -0,0 +1,18 @@
+# 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 PyPythonMagic(PythonPackage):
+ """A python wrapper for libmagic"""
+
+ homepage = "https://github.com/ahupp/python-magic"
+ url = "https://pypi.io/packages/source/p/python-magic/python-magic-0.4.15.tar.gz"
+
+ version('0.4.15', sha256='f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5')
+
+ depends_on('py-setuptools', type='build')