summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com>2021-01-20 14:53:13 -0500
committerGitHub <noreply@github.com>2021-01-20 13:53:13 -0600
commit28c0f20214c3c03569ca054a027351d782675020 (patch)
treed61516e19570a32d3399f5900361f7f6b506cdec
parent085360ec0b2aa21318e5822e18eb654c7e44a3c7 (diff)
downloadspack-28c0f20214c3c03569ca054a027351d782675020.tar.gz
spack-28c0f20214c3c03569ca054a027351d782675020.tar.bz2
spack-28c0f20214c3c03569ca054a027351d782675020.tar.xz
spack-28c0f20214c3c03569ca054a027351d782675020.zip
py-funcy: new recipe (#21136)
* py-funcy: new recipe * Update var/spack/repos/builtin/packages/py-funcy/package.py add build and run python dependencies Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-funcy/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-funcy/package.py b/var/spack/repos/builtin/packages/py-funcy/package.py
new file mode 100644
index 0000000000..e918f2e3d2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-funcy/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 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 PyFuncy(PythonPackage):
+ """A collection of fancy functional tools focused on practicality"""
+
+ homepage = "https://funcy.readthedocs.io"
+ pypi = "funcy/funcy-1.15.tar.gz"
+
+ version('1.15', sha256='65b746fed572b392d886810a98d56939c6e0d545abb750527a717c21ced21008')
+ version('1.14', sha256='75ee84c3b446f92e68a857c2267b15a1b49c631c9d5a87a5f063cd2d6761a5c4')
+
+ depends_on('python@2.7.0:2.7.999,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')