New package: py-word2number (#23638)

* [py-word2number] created template

* [py-word2number] requires setuptools

* [py-word2number] Final cleanup

- added homepage
- added long description
- removed fixmes
This commit is contained in:
Jen Herting 2021-05-14 22:03:56 -04:00 committed by GitHub
parent bd389b0f95
commit 8914085789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
# 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 PyWord2number(PythonPackage):
"""This is a Python module to convert number words (eg.
twenty one) to numeric digits (21). It works for positive
numbers upto the range of 999,999,999,999 (i.e.
billions)."""
homepage = "https://w2n.readthedocs.io"
pypi = "word2number/word2number-1.1.zip"
version('1.1', sha256='70e27a5d387f67b04c71fbb7621c05930b19bfd26efd6851e6e0f9969dcde7d0')
depends_on('py-setuptools', type='build')