commit:     caeaa736e6db0a77d93de78fac6336fbb696cdf0
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 16 14:13:37 2016 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Bernard Cafarelli</name>
+       </maintainer>
+       <longdescription lang="en">
+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]
+       </longdescription>
+       <upstream>
+               <remote-id type="github">hickeroar/simplebayes</remote-id>
+       </upstream>
+</pkgmetadata>

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}"
+}

Reply via email to