diff options
author | Joe Koning <koning@users.noreply.github.com> | 2019-11-25 07:26:59 -0800 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-11-25 16:26:59 +0100 |
commit | be9c551add3e86dc5701a60c64720cd0185a1814 (patch) | |
tree | 5bcc62b7052fb5d7bfb5f9c74d92f26955e3cc46 | |
parent | 53c2b618da76c0a169a50936d3950d5bf43a2663 (diff) | |
download | spack-be9c551add3e86dc5701a60c64720cd0185a1814.tar.gz spack-be9c551add3e86dc5701a60c64720cd0185a1814.tar.bz2 spack-be9c551add3e86dc5701a60c64720cd0185a1814.tar.xz spack-be9c551add3e86dc5701a60c64720cd0185a1814.zip |
py-amqp: added new package (#13848)
* Add the py-amqp package
* Add the py-vine dependency.
* Add vine version and python dependency.
-rw-r--r-- | var/spack/repos/builtin/packages/py-amqp/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-amqp/package.py b/var/spack/repos/builtin/packages/py-amqp/package.py new file mode 100644 index 0000000000..78a33b241c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-amqp/package.py @@ -0,0 +1,22 @@ +# 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 PyAmqp(PythonPackage): + """Low-level AMQP client for Python (fork of amqplib).""" + + homepage = "https://pypi.org/project/amqp/" + url = "https://pypi.io/packages/source/a/amqp/amqp-2.4.1.tar.gz" + + version('2.5.2', sha256='77f1aef9410698d20eaeac5b73a87817365f457a507d82edf292e12cbb83b08d') + version('2.4.2', sha256='043beb485774ca69718a35602089e524f87168268f0d1ae115f28b88d27f92d7') + version('2.4.1', sha256='6816eed27521293ee03aa9ace300a07215b11fee4e845588a9b863a7ba30addb') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + + depends_on('py-setuptools', type='build') + depends_on('py-vine@1.1.3:4.999', type=('build', 'run')) |