1 |
commit: d5f5cbd2f9f75252d653db361cf06cb7bd908dad |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 16:03:47 2020 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 16:41:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f5cbd2 |
7 |
|
8 |
dev-python/simplebayes: ebuild 1.5.8 bump |
9 |
|
10 |
This uses pypi tarball, github 1.5.7 is equivalent |
11 |
|
12 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
13 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
14 |
|
15 |
dev-python/simplebayes/Manifest | 1 + |
16 |
dev-python/simplebayes/simplebayes-1.5.8.ebuild | 29 +++++++++++++++++++++++++ |
17 |
2 files changed, 30 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/simplebayes/Manifest b/dev-python/simplebayes/Manifest |
20 |
index 17d1ed2b6eb..b1783ce7c37 100644 |
21 |
--- a/dev-python/simplebayes/Manifest |
22 |
+++ b/dev-python/simplebayes/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST simplebayes-1.5.7.tar.gz 19260 BLAKE2B 373820a19c1a3188f0dfb57cbe6ac8e27fc6a96e9d1686d698a1f109122afd5240715678d965d843482de3c12b8b806157acef17008d4c6fac0103b343dd44d7 SHA512 417af72db13418e5a9df2fdb642fc63ed3eb4fbbf88cc7252a9e3603d31e35ccb68ae5838d8bb7d77554c1820a9db8aa944c639af4eb6418babb9d360ef3ddbc |
25 |
+DIST simplebayes-1.5.8.tar.gz 5972 BLAKE2B f942ccde5f449d0ef8ef56fb83a07a8ab0421f43e5af40a3be30822a5d7299b9a0cb1d46397a55bcf7fecc92e40f49404f5bf29467acf7957fbce8619625b58b SHA512 0e39110432db561208cf147bccbdb66f64176a78c0e9ce8495a423ed0d6a027b45deb111d3c872faa10e158fcdaa5380f03a5e0602fecea1a0f00e528e19cfe1 |
26 |
|
27 |
diff --git a/dev-python/simplebayes/simplebayes-1.5.8.ebuild b/dev-python/simplebayes/simplebayes-1.5.8.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..efe01695e0b |
30 |
--- /dev/null |
31 |
+++ b/dev-python/simplebayes/simplebayes-1.5.8.ebuild |
32 |
@@ -0,0 +1,29 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="memory-based, optional-persistence naive bayesian text classifier" |
42 |
+HOMEPAGE="https://github.com/hickeroar/simplebayes" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND="" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ test? ( |
55 |
+ dev-python/mock[${PYTHON_USEDEP}] |
56 |
+ dev-python/nose[${PYTHON_USEDEP}] |
57 |
+ )" |
58 |
+ |
59 |
+python_test() { |
60 |
+ nosetests tests/ || die "test failed under ${EPYTHON}" |
61 |
+} |