diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-markovify/package.py | 18 |
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')) |