summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2019-11-04 23:44:12 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-04 16:44:11 -0600
commit80f63f7f9b42d7ec1253b17a7d031a7107c7c596 (patch)
tree4130912dec295ef2cb62118ba9e5f1237ed6d345 /var
parent6b27d87e7a0e255e2573ed20fd1baff97c10f0f4 (diff)
downloadspack-80f63f7f9b42d7ec1253b17a7d031a7107c7c596.tar.gz
spack-80f63f7f9b42d7ec1253b17a7d031a7107c7c596.tar.bz2
spack-80f63f7f9b42d7ec1253b17a7d031a7107c7c596.tar.xz
spack-80f63f7f9b42d7ec1253b17a7d031a7107c7c596.zip
py-dataclasses: new package (#13564)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-dataclasses/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-dataclasses/package.py b/var/spack/repos/builtin/packages/py-dataclasses/package.py
new file mode 100644
index 0000000000..fc2fb4aaab
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dataclasses/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 PyDataclasses(PythonPackage):
+ """A backport of the dataclasses module for Python 3.6"""
+
+ homepage = "https://github.com/ericvsmith/dataclasses"
+ url = "https://pypi.io/packages/source/d/dataclasses/dataclasses-0.7.tar.gz"
+
+ version('0.7', sha256='494a6dcae3b8bcf80848eea2ef64c0cc5cd307ffc263e17cdf42f3e5420808e6')
+
+ depends_on('python@3.6.00:3.6.99', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')