summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2019-11-05 19:46:57 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-05 12:46:57 -0600
commitaa2972172a0fefb387ce46e2cc25adc84c4a04cb (patch)
tree9213a428787d8d54452793cf1d2080c69d81971a
parent54e1d576479ca2137f92ddcc2060415c6cc34b86 (diff)
downloadspack-aa2972172a0fefb387ce46e2cc25adc84c4a04cb.tar.gz
spack-aa2972172a0fefb387ce46e2cc25adc84c4a04cb.tar.bz2
spack-aa2972172a0fefb387ce46e2cc25adc84c4a04cb.tar.xz
spack-aa2972172a0fefb387ce46e2cc25adc84c4a04cb.zip
new package: py-identify (#13593)
-rw-r--r--var/spack/repos/builtin/packages/py-identify/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-identify/package.py b/var/spack/repos/builtin/packages/py-identify/package.py
new file mode 100644
index 0000000000..a3665f378f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-identify/package.py
@@ -0,0 +1,21 @@
+# 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 PyIdentify(PythonPackage):
+ """File identification library for Python.
+
+ Given a file (or some information about a file), return a set of
+ standardized tags identifying what the file is."""
+
+ homepage = "https://github.com/chriskuehl/identify"
+ url = "https://pypi.io/packages/source/i/identify/identify-1.4.7.tar.gz"
+
+ version('1.4.7', sha256='d8919589bd2a5f99c66302fec0ef9027b12ae150b0b0213999ad3f695fc7296e')
+
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')