From b172b43fa964d682946d39b597079bd459d53fc9 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 3 Aug 2021 19:12:51 +0200 Subject: Add py-oslo-i18n (#25217) * Add py-oslo-i18n * Update var/spack/repos/builtin/packages/py-oslo-i18n/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- .../repos/builtin/packages/py-oslo-i18n/package.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-oslo-i18n/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-oslo-i18n/package.py b/var/spack/repos/builtin/packages/py-oslo-i18n/package.py new file mode 100644 index 0000000000..1b0196095c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-oslo-i18n/package.py @@ -0,0 +1,27 @@ +# 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 PyOsloI18n(PythonPackage): + """ + The oslo.i18n library contain utilities for working with + internationalization (i18n) features, especially translation for text + strings in an application or library. + """ + + homepage = "https://docs.openstack.org/oslo.i18n" + pypi = "oslo.i18n/oslo.i18n-5.0.1.tar.gz" + + maintainers = ['haampie'] + + version('5.0.1', sha256='3484b71e30f75c437523302d1151c291caf4098928269ceec65ce535456e035b') + + 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', 'run')) + + depends_on('py-six@1.10.0:', type=('build', 'run')) -- cgit v1.2.3-60-g2f50