diff options
author | Andrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com> | 2021-01-19 17:56:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 16:56:24 -0600 |
commit | 7a913582f26ebffccca8f385d76e1e66397055dd (patch) | |
tree | 3993a6f24df1b85c7306ae98e1b5d6880c39e785 | |
parent | d3b04f7704389aa5422cdb44929f591e27e0e3b6 (diff) | |
download | spack-7a913582f26ebffccca8f385d76e1e66397055dd.tar.gz spack-7a913582f26ebffccca8f385d76e1e66397055dd.tar.bz2 spack-7a913582f26ebffccca8f385d76e1e66397055dd.tar.xz spack-7a913582f26ebffccca8f385d76e1e66397055dd.zip |
py-phonenumbers: new recipie (#21153)
-rw-r--r-- | var/spack/repos/builtin/packages/py-phonenumbers/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-phonenumbers/package.py b/var/spack/repos/builtin/packages/py-phonenumbers/package.py new file mode 100644 index 0000000000..c614550f2a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-phonenumbers/package.py @@ -0,0 +1,22 @@ +# 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 PyPhonenumbers(PythonPackage): + """Python version of Google's common library for parsing, formatting + and validating international phone numbers.""" + + homepage = "https://github.com/daviddrysdale/python-phonenumbers" + pypi = "phonenumbers/phonenumbers-8.12.16.tar.gz" + + version('8.12.16', sha256='a820ab08c980ef24a2d2a1ead4f8d7016fdf008e484d1aecf7ff0b32cc475e16') + version('8.12.15', sha256='b734bfcf33e87ddae72196a40b3d1af35abd0beb263816ae18e1bff612926406') + version('8.12.14', sha256='58817072cf2b80fcc8710e7a2c395cd32fce2b70a259e36ff81916862f578d61') + + depends_on('python@2.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |