pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc Add textproc/py-markovify version 0.7.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63cacd6999d4
branches:  trunk
changeset: 400313:63cacd6999d4
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Mon Aug 26 18:32:43 2019 +0000

description:
Add textproc/py-markovify version 0.7.2

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.

Its features include:
* Simplicity. "Batteries included," but it is easy to override key methods.
* Models can be stored as JSON, allowing you to cache your results
  and save them for later.
* Text parsing and sentence generation methods are highly extensible,
  allowing you to set your own rules.

diffstat:

 textproc/Makefile              |   3 ++-
 textproc/py-markovify/DESCR    |  10 ++++++++++
 textproc/py-markovify/Makefile |  16 ++++++++++++++++
 textproc/py-markovify/PLIST    |  26 ++++++++++++++++++++++++++
 textproc/py-markovify/distinfo |   6 ++++++
 5 files changed, 60 insertions(+), 1 deletions(-)

diffs (91 lines):

diff -r 4b7b45c820f5 -r 63cacd6999d4 textproc/Makefile
--- a/textproc/Makefile Mon Aug 26 17:09:15 2019 +0000
+++ b/textproc/Makefile Mon Aug 26 18:32:43 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1045 2019/08/09 18:32:48 brook Exp $
+# $NetBSD: Makefile,v 1.1046 2019/08/26 18:32:43 ng0 Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -821,6 +821,7 @@
 SUBDIR+=       py-markdown
 SUBDIR+=       py-markdown-math
 SUBDIR+=       py-markdown2
+SUBDIR+=       py-markovify
 SUBDIR+=       py-markups
 SUBDIR+=       py-markupsafe
 SUBDIR+=       py-mecab
diff -r 4b7b45c820f5 -r 63cacd6999d4 textproc/py-markovify/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-markovify/DESCR       Mon Aug 26 18:32:43 2019 +0000
@@ -0,0 +1,10 @@
+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.
+
+Its features include:
+* Simplicity. "Batteries included," but it is easy to override key methods.
+* Models can be stored as JSON, allowing you to cache your results
+  and save them for later.
+* Text parsing and sentence generation methods are highly extensible,
+  allowing you to set your own rules.
diff -r 4b7b45c820f5 -r 63cacd6999d4 textproc/py-markovify/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-markovify/Makefile    Mon Aug 26 18:32:43 2019 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2019/08/26 18:32:43 ng0 Exp $
+
+DISTNAME=      markovify-0.7.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/markovify/}
+
+MAINTAINER=    ng0%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.org/project/markovify
+COMMENT=       Simple and extensible Markov chain generator
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4b7b45c820f5 -r 63cacd6999d4 textproc/py-markovify/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-markovify/PLIST       Mon Aug 26 18:32:43 2019 +0000
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/26 18:32:43 ng0 Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/markovify/__init__.py
+${PYSITELIB}/markovify/__init__.pyo
+${PYSITELIB}/markovify/__init__.pyc
+${PYSITELIB}/markovify/__version__.pyo
+${PYSITELIB}/markovify/__version__.pyc
+${PYSITELIB}/markovify/chain.pyo
+${PYSITELIB}/markovify/chain.pyc
+${PYSITELIB}/markovify/splitters.pyo
+${PYSITELIB}/markovify/splitters.pyc
+${PYSITELIB}/markovify/text.pyo
+${PYSITELIB}/markovify/text.pyc
+${PYSITELIB}/markovify/utils.pyo
+${PYSITELIB}/markovify/utils.pyc
+${PYSITELIB}/markovify/__version__.py
+${PYSITELIB}/markovify/chain.py
+${PYSITELIB}/markovify/splitters.py
+${PYSITELIB}/markovify/text.py
+${PYSITELIB}/markovify/utils.py
diff -r 4b7b45c820f5 -r 63cacd6999d4 textproc/py-markovify/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-markovify/distinfo    Mon Aug 26 18:32:43 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/08/26 18:32:43 ng0 Exp $
+
+SHA1 (markovify-0.7.2.tar.gz) = 74f3f0dc082dbe07f869d80e5b5c3958bc95f018
+RMD160 (markovify-0.7.2.tar.gz) = e82fade7a68a8ed3c3029a5002640c736373d5cd
+SHA512 (markovify-0.7.2.tar.gz) = 8c8bd1f1dc164c85c521563596be5e68b568d88610e2d05d469c88211b3ba3758f532ee90bf3989a3691f581b938c862503229a7468eac8f6c26ffade5ce3743
+Size (markovify-0.7.2.tar.gz) = 17037 bytes



Home | Main Index | Thread Index | Old Index