py-num2words: add new package (#24681)
This commit is contained in:
parent
a2a273832f
commit
95b0eb9fdd
18
var/spack/repos/builtin/packages/py-num2words/package.py
Normal file
18
var/spack/repos/builtin/packages/py-num2words/package.py
Normal file
@ -0,0 +1,18 @@
|
||||
# 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 PyNum2words(PythonPackage):
|
||||
"""Modules to convert numbers to words. Easily extensible."""
|
||||
|
||||
homepage = "https://github.com/savoirfairelinux/num2words"
|
||||
pypi = "num2words/num2words-0.5.10.tar.gz"
|
||||
|
||||
version('0.5.10', sha256='37cd4f60678f7e1045cdc3adf6acf93c8b41bf732da860f97d301f04e611cc57')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-docopt@0.6.2:', type=('build', 'run'))
|
Loading…
Reference in New Issue
Block a user