From 63ac1b66203c218499442ae2a4bb4d77452dc150 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 4 Aug 2021 09:31:44 +0200 Subject: [PATCH] Add py-oslo-config (#25216) --- .../packages/py-oslo-config/package.py | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-oslo-config/package.py diff --git a/var/spack/repos/builtin/packages/py-oslo-config/package.py b/var/spack/repos/builtin/packages/py-oslo-config/package.py new file mode 100644 index 0000000000..b637a58985 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-oslo-config/package.py @@ -0,0 +1,33 @@ +# 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 PyOsloConfig(PythonPackage): + """ + The Oslo configuration API supports parsing command line arguments and .ini + style configuration files. + """ + + homepage = "https://docs.openstack.org/oslo.config/" + pypi = "oslo.config/oslo.config-8.7.1.tar.gz" + + maintainers = ['haampie'] + + version('8.7.1', sha256='a0c346d778cdc8870ab945e438bea251b5f45fae05d6d99dfe4953cca2277b60') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-pbr@2.0.0:', type='build') + + depends_on('py-debtcollector@1.2.0:', type=('build', 'run')) + depends_on('py-netaddr@0.7.18:', type=('build', 'run')) + depends_on('py-stevedore@1.20.0:', type=('build', 'run')) + depends_on('py-oslo-i18n@3.15.3:', type=('build', 'run')) + depends_on('py-rfc3986@1.2.0:', type=('build', 'run')) + depends_on('py-pyyaml@5.1:', type=('build', 'run')) + depends_on('py-requests@2.18.0:', type=('build', 'run')) + depends_on('py-importlib-metadata@1.7.0:', when='^python@:3.7', type=('build', 'run'))