summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-09-04 16:46:38 -0400
committerGitHub <noreply@github.com>2020-09-04 15:46:38 -0500
commitf4d3a1a0cb9b38b0330891b1f2fe32f2e22147bf (patch)
tree103fcd16441d9a098e7171aef0cd4faaa712b5d3
parentf3c4747318252295f7bbe2a2f037b15012c4f2f0 (diff)
downloadspack-f4d3a1a0cb9b38b0330891b1f2fe32f2e22147bf.tar.gz
spack-f4d3a1a0cb9b38b0330891b1f2fe32f2e22147bf.tar.bz2
spack-f4d3a1a0cb9b38b0330891b1f2fe32f2e22147bf.tar.xz
spack-f4d3a1a0cb9b38b0330891b1f2fe32f2e22147bf.zip
new package: py-markovify (#18517)
-rw-r--r--var/spack/repos/builtin/packages/py-markovify/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-markovify/package.py b/var/spack/repos/builtin/packages/py-markovify/package.py
new file mode 100644
index 0000000000..d7b93c1e3d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-markovify/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2020 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)
+
+
+class PyMarkovify(PythonPackage):
+ """Markovify is a simple, extensible Markov chain generator. Right
+ now, its primary use is for building Markov models of large
+ corpora of text and generating random sentences from that."""
+
+ homepage = "https://github.com/jsvine/markovify"
+ url = "https://pypi.io/packages/source/m/markovify/markovify-0.8.3.tar.gz"
+
+ version('0.8.3', sha256='254405c5b2f819ae388c39a53e6bc038bfbc24713441869ce90a1cd67e4a89ce')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-unidecode', type=('build', 'run'))