summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-07-05 11:16:01 +0200
committerGitHub <noreply@github.com>2021-07-05 11:16:01 +0200
commit95b0eb9fdd9bab34c05bd213975b6a4eb6fdb1fa (patch)
tree6943c1c4a093267fd90c1b8ab992cf37dfeacb61 /var
parenta2a273832f12c88bfbdfae26b0b4fad53fc8b4e3 (diff)
downloadspack-95b0eb9fdd9bab34c05bd213975b6a4eb6fdb1fa.tar.gz
spack-95b0eb9fdd9bab34c05bd213975b6a4eb6fdb1fa.tar.bz2
spack-95b0eb9fdd9bab34c05bd213975b6a4eb6fdb1fa.tar.xz
spack-95b0eb9fdd9bab34c05bd213975b6a4eb6fdb1fa.zip
py-num2words: add new package (#24681)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-num2words/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-num2words/package.py b/var/spack/repos/builtin/packages/py-num2words/package.py
new file mode 100644
index 0000000000..3f0e986bb4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-num2words/package.py
@@ -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'))