From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D60871381E0 for ; Tue, 16 Feb 2016 21:10:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E39F121C002; Tue, 16 Feb 2016 21:10:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E46B21C01A for ; Tue, 16 Feb 2016 21:10:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3CF46340C7F for ; Tue, 16 Feb 2016 21:09:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61CDEE5F for ; Tue, 16 Feb 2016 21:09:57 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1455656949.caeaa736e6db0a77d93de78fac6336fbb696cdf0.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/simplebayes/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/simplebayes/Manifest dev-python/simplebayes/metadata.xml dev-python/simplebayes/simplebayes-1.5.7.ebuild X-VCS-Directories: dev-python/simplebayes/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: caeaa736e6db0a77d93de78fac6336fbb696cdf0 X-VCS-Branch: master Date: Tue, 16 Feb 2016 21:09:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 184279b4-4496-46ae-aae3-c0dc76311b9a X-Archives-Hash: 7ef8e358ef76c08f0b162a7724829aaa commit: caeaa736e6db0a77d93de78fac6336fbb696cdf0 Author: Bernard Cafarelli gentoo org> AuthorDate: Tue Feb 16 14:13:37 2016 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Tue Feb 16 21:09:09 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caeaa736 dev-python/simplebayes: initial commit Package-Manager: portage-2.2.27 dev-python/simplebayes/Manifest | 1 + dev-python/simplebayes/metadata.xml | 17 +++++++++++++++ dev-python/simplebayes/simplebayes-1.5.7.ebuild | 28 +++++++++++++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/dev-python/simplebayes/Manifest b/dev-python/simplebayes/Manifest new file mode 100644 index 0000000..aef3127 --- /dev/null +++ b/dev-python/simplebayes/Manifest @@ -0,0 +1 @@ +DIST simplebayes-1.5.7.tar.gz 19260 SHA256 71cb029768bd25c172bdb3bd37174d42f872da92c33329ec736c3748ffa3b4a7 SHA512 417af72db13418e5a9df2fdb642fc63ed3eb4fbbf88cc7252a9e3603d31e35ccb68ae5838d8bb7d77554c1820a9db8aa944c639af4eb6418babb9d360ef3ddbc WHIRLPOOL 826617d920c45411a138bc405f760229e79959b25f4cd7e3d6b4525cdd2e9fec43b88f0df011dd820a72484df5bf988e3a18b357fe2966e15a8349c686eba308 diff --git a/dev-python/simplebayes/metadata.xml b/dev-python/simplebayes/metadata.xml new file mode 100644 index 0000000..9d1e5c1 --- /dev/null +++ b/dev-python/simplebayes/metadata.xml @@ -0,0 +1,17 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + +A memory-based, optional-persistence naïve bayesian text classifier. + +This work is heavily inspired by the python "redisbayes" module found here: +[https://github.com/jart/redisbayes] and [https://pypi.python.org/pypi/redisbayes] + + + hickeroar/simplebayes + + diff --git a/dev-python/simplebayes/simplebayes-1.5.7.ebuild b/dev-python/simplebayes/simplebayes-1.5.7.ebuild new file mode 100644 index 0000000..affaca5 --- /dev/null +++ b/dev-python/simplebayes/simplebayes-1.5.7.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="memory-based, optional-persistence naive bayesian text classifier" +HOMEPAGE="https://github.com/hickeroar/simplebayes" +SRC_URI="https://github.com/hickeroar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests tests/ || die "test failed under ${EPYTHON}" +}