From ccdf418e52b12d9cf03088e885454098420d4c62 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 3 Aug 2021 19:57:46 +0200 Subject: [PATCH] Add py-os-service-types (#25215) * Add py-os-service-types * Update var/spack/repos/builtin/packages/py-os-service-types/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- .../packages/py-os-service-types/package.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-os-service-types/package.py diff --git a/var/spack/repos/builtin/packages/py-os-service-types/package.py b/var/spack/repos/builtin/packages/py-os-service-types/package.py new file mode 100644 index 0000000000..7f405ce383 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-os-service-types/package.py @@ -0,0 +1,21 @@ +# 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 PyOsServiceTypes(PythonPackage): + """Python library for consuming OpenStack sevice-types-authority data""" + + homepage = "https://docs.openstack.org/os-service-types/" + pypi = "os-service-types/os-service-types-1.7.0.tar.gz" + + maintainers = ['haampie'] + + version('1.7.0', sha256='31800299a82239363995b91f1ebf9106ac7758542a1e4ef6dc737a5932878c6c') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + depends_on('py-pbr@2.0.0:2.0.999,2.1.1:', type='build') + depends_on('py-setuptools', type='build')