From 56bb98c542f6bfdd6de8e081a6466f5806dfb40e Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 4 Aug 2021 00:10:32 +0200 Subject: [PATCH] Add py-oslo-utils (#25219) --- .../builtin/packages/py-oslo-utils/package.py | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-oslo-utils/package.py diff --git a/var/spack/repos/builtin/packages/py-oslo-utils/package.py b/var/spack/repos/builtin/packages/py-oslo-utils/package.py new file mode 100644 index 0000000000..adf936142a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-oslo-utils/package.py @@ -0,0 +1,34 @@ +# 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 PyOsloUtils(PythonPackage): + """ + The oslo.utils library provides support for common utility type functions, + such as encoding, exception handling, string manipulation, and time + handling. + """ + + homepage = "https://docs.openstack.org/oslo.utils/" + pypi = "oslo.utils/oslo.utils-4.9.2.tar.gz" + + maintainers = ['haampie'] + + version('4.9.2', sha256='20db285734ff6c3b50d5a6afcb2790ade0c7ba02fbc876feed43733f2c41a5c9') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-pbr@2.0.0:2.0.999,2.1.1:', type='build') + + depends_on('py-iso8601@0.1.11:', type=('build', 'run')) + depends_on('py-oslo-i18n@3.15.3:', type=('build', 'run')) + depends_on('py-pytz@2013.6:', type=('build', 'run')) + depends_on('py-netaddr@0.7.18:', type=('build', 'run')) + depends_on('py-netifaces@0.10.4:', type=('build', 'run')) + depends_on('py-debtcollector@1.2.0:', type=('build', 'run')) + depends_on('py-pyparsing@2.1.0:', type=('build', 'run')) + depends_on('py-packaging@20.4:', type=('build', 'run'))