From be58d354acfe062f6154c0876b32d82c67053f52 Mon Sep 17 00:00:00 2001 From: haralmha <47558670+haralmha@users.noreply.github.com> Date: Tue, 15 Mar 2022 15:02:41 +0100 Subject: [PATCH] py-stomp-py: Add new package (#29380) * py-stomp-py: Add package * Specify python and py-docopt dependencies --- .../builtin/packages/py-stomp-py/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-stomp-py/package.py diff --git a/var/spack/repos/builtin/packages/py-stomp-py/package.py b/var/spack/repos/builtin/packages/py-stomp-py/package.py new file mode 100644 index 0000000000..6c01425c29 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-stomp-py/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2022 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 PyStompPy(PythonPackage): + """Python client library for accessing messaging servers + (such as ActiveMQ, Artemis or RabbitMQ) using the STOMP + protocol (STOMP v1.0, STOMP v1.1 and STOMP v1.2)""" + + homepage = "https://github.com/jasonrbriggs/stomp.py" + pypi = "stomp.py/stomp.py-8.0.0.tar.gz" + + maintainers = ['haralmha'] + + version('8.0.0', sha256='7085935293bfcc4a112a9830513275b2e0f3b040c5aad5ff8907e78f285b8b57') + + depends_on('python@3.6.3:', type=('build', 'run')) + depends_on('py-poetry@0.12:', type='build') + depends_on('py-docopt@0.6.2:0', type=('build', 'run'))