summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Mengel <marc.mengel@gmail.com>2019-11-07 18:52:32 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-07 18:52:32 -0600
commitfd01ac0ff15ed12cf382a279e330c7aec86a14ce (patch)
treede05ade0f2ec7006d4ca68d4f0a153fc4d9d3abd
parentff307aa86c36c2d2f1a377bce69f567c7e416c27 (diff)
downloadspack-fd01ac0ff15ed12cf382a279e330c7aec86a14ce.tar.gz
spack-fd01ac0ff15ed12cf382a279e330c7aec86a14ce.tar.bz2
spack-fd01ac0ff15ed12cf382a279e330c7aec86a14ce.tar.xz
spack-fd01ac0ff15ed12cf382a279e330c7aec86a14ce.zip
New package: py-jaraco-functools (#13581)
* package py-jaraco-functools * package py-jaraco-functools * autopep8, docutils cleanup * Update var/spack/repos/builtin/packages/py-jaraco-functools/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * missing deps * license bits * ...and later versions * lru cache dep change from adamjstewart
-rw-r--r--var/spack/repos/builtin/packages/py-jaraco-functools/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-jaraco-functools/package.py b/var/spack/repos/builtin/packages/py-jaraco-functools/package.py
new file mode 100644
index 0000000000..5e2e406e26
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-jaraco-functools/package.py
@@ -0,0 +1,23 @@
+# 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 PyJaracoFunctools(PythonPackage):
+ """Functools like those found in stdlib"""
+
+ homepage = "https://github.com/jaraco/jaraco.functools"
+ url = "https://pypi.io/packages/source/j/jaraco.functools/jaraco.functools-2.0.tar.gz"
+
+ version(
+ '2.0', sha256='35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools-scm@1.15.0:', type='build')
+ depends_on('py-backports-functools-lru-cache@1.0.3:',
+ when='^python@:2', type=('build', 'run'))
+ depends_on('py-more-itertools', type=('build', 'run'))
+ depends_on('python@2.7:', type=('build', 'run'))