new package: py-markovify (#18517)

This commit is contained in:
Andrew W Elble 2020-09-04 16:46:38 -04:00 committed by GitHub
parent f3c4747318
commit f4d3a1a0cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'))