1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_6} )
9 DESCRIPTION="memory-based, optional-persistence naive bayesian text classifier"
10 HOMEPAGE="https://github.com/hickeroar/simplebayes"
11 SRC_URI="https://github.com/hickeroar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
17 RESTRICT="!test? ( test )"
21 dev-python/setuptools[${PYTHON_USEDEP}]
23 dev-python/mock[${PYTHON_USEDEP}]
24 dev-python/nose[${PYTHON_USEDEP}]
28 nosetests tests/ || die "test failed under ${EPYTHON}"