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 <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Harmen Stoppels 2021-08-03 19:57:46 +02:00 committed by GitHub
parent b172b43fa9
commit ccdf418e52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')