From 28c0f20214c3c03569ca054a027351d782675020 Mon Sep 17 00:00:00 2001 From: Andrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com> Date: Wed, 20 Jan 2021 14:53:13 -0500 Subject: 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 Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/py-funcy/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-funcy/package.py 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') -- cgit v1.2.3-70-g09d2