svn commit: r475606 - in head/textproc: . py-simplebayes

Yuri Victorovich yuri at FreeBSD.org
Sat Jul 28 19:31:50 UTC 2018


Author: yuri
Date: Sat Jul 28 19:31:48 2018
New Revision: 475606
URL: https://svnweb.freebsd.org/changeset/ports/475606

Log:
  New port: textproc/py-simplebayes: Memory-based, optional-persistence naïve bayesian text classifier

Added:
  head/textproc/py-simplebayes/
  head/textproc/py-simplebayes/Makefile   (contents, props changed)
  head/textproc/py-simplebayes/distinfo   (contents, props changed)
  head/textproc/py-simplebayes/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Jul 28 19:31:03 2018	(r475605)
+++ head/textproc/Makefile	Sat Jul 28 19:31:48 2018	(r475606)
@@ -1392,6 +1392,7 @@
     SUBDIR += py-rxp
     SUBDIR += py-scour
     SUBDIR += py-sgrep
+    SUBDIR += py-simplebayes
     SUBDIR += py-snowballstemmer
     SUBDIR += py-sparqlwrapper
     SUBDIR += py-sphinx

Added: head/textproc/py-simplebayes/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-simplebayes/Makefile	Sat Jul 28 19:31:48 2018	(r475606)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	simplebayes
+PORTVERSION=	1.5.8
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Memory-based, optional-persistence naïve bayesian text classifier
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
+
+post-extract: # https://github.com/hickeroar/simplebayes/issues/3
+	@truncate -s 0 ${WRKSRC}/README.rst
+
+.include <bsd.port.mk>

Added: head/textproc/py-simplebayes/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-simplebayes/distinfo	Sat Jul 28 19:31:48 2018	(r475606)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1532798910
+SHA256 (simplebayes-1.5.8.tar.gz) = 363418c0ef185ac2158ebbd6d8afb45aa997254fcb809a73ed20a7d5dccf8b85
+SIZE (simplebayes-1.5.8.tar.gz) = 5972

Added: head/textproc/py-simplebayes/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-simplebayes/pkg-descr	Sat Jul 28 19:31:48 2018	(r475606)
@@ -0,0 +1,4 @@
+simplebayes allows to train the classifier, save the training data
+in cache, and later use this data to classify text.
+
+WWW: https://github.com/hickeroar/simplebayes


More information about the svn-ports-all mailing list