mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/simplebayes: initial commit
Package-Manager: portage-2.2.27
This commit is contained in:
1
dev-python/simplebayes/Manifest
Normal file
1
dev-python/simplebayes/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST simplebayes-1.5.7.tar.gz 19260 SHA256 71cb029768bd25c172bdb3bd37174d42f872da92c33329ec736c3748ffa3b4a7 SHA512 417af72db13418e5a9df2fdb642fc63ed3eb4fbbf88cc7252a9e3603d31e35ccb68ae5838d8bb7d77554c1820a9db8aa944c639af4eb6418babb9d360ef3ddbc WHIRLPOOL 826617d920c45411a138bc405f760229e79959b25f4cd7e3d6b4525cdd2e9fec43b88f0df011dd820a72484df5bf988e3a18b357fe2966e15a8349c686eba308
|
||||
17
dev-python/simplebayes/metadata.xml
Normal file
17
dev-python/simplebayes/metadata.xml
Normal file
@@ -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>voyageur@gentoo.org</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>
|
||||
28
dev-python/simplebayes/simplebayes-1.5.7.ebuild
Normal file
28
dev-python/simplebayes/simplebayes-1.5.7.ebuild
Normal file
@@ -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user