py-phonenumbers: new recipie (#21153)

This commit is contained in:
Andrew-Dunning-NNL 2021-01-19 17:56:24 -05:00 committed by GitHub
parent d3b04f7704
commit 7a913582f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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