From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF8501382C5 for ; Tue, 29 Dec 2020 16:42:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3104E0BE6; Tue, 29 Dec 2020 16:42:08 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD2DFE0BE1 for ; Tue, 29 Dec 2020 16:42:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0CB7341708 for ; Tue, 29 Dec 2020 16:42:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6469C53 for ; Tue, 29 Dec 2020 16:42:06 +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: <1609260107.d5f5cbd2f9f75252d653db361cf06cb7bd908dad.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/simplebayes-1.5.8.ebuild X-VCS-Directories: dev-python/simplebayes/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: d5f5cbd2f9f75252d653db361cf06cb7bd908dad X-VCS-Branch: master Date: Tue, 29 Dec 2020 16:42:06 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 643232ba-a9df-48ce-b124-df9d175439a2 X-Archives-Hash: e2f2afdec13177b8406b865830368389 commit: d5f5cbd2f9f75252d653db361cf06cb7bd908dad Author: Bernard Cafarelli gentoo org> AuthorDate: Tue Dec 29 16:03:47 2020 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Tue Dec 29 16:41:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f5cbd2 dev-python/simplebayes: ebuild 1.5.8 bump This uses pypi tarball, github 1.5.7 is equivalent Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Bernard Cafarelli gentoo.org> dev-python/simplebayes/Manifest | 1 + dev-python/simplebayes/simplebayes-1.5.8.ebuild | 29 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-python/simplebayes/Manifest b/dev-python/simplebayes/Manifest index 17d1ed2b6eb..b1783ce7c37 100644 --- a/dev-python/simplebayes/Manifest +++ b/dev-python/simplebayes/Manifest @@ -1 +1,2 @@ DIST simplebayes-1.5.7.tar.gz 19260 BLAKE2B 373820a19c1a3188f0dfb57cbe6ac8e27fc6a96e9d1686d698a1f109122afd5240715678d965d843482de3c12b8b806157acef17008d4c6fac0103b343dd44d7 SHA512 417af72db13418e5a9df2fdb642fc63ed3eb4fbbf88cc7252a9e3603d31e35ccb68ae5838d8bb7d77554c1820a9db8aa944c639af4eb6418babb9d360ef3ddbc +DIST simplebayes-1.5.8.tar.gz 5972 BLAKE2B f942ccde5f449d0ef8ef56fb83a07a8ab0421f43e5af40a3be30822a5d7299b9a0cb1d46397a55bcf7fecc92e40f49404f5bf29467acf7957fbce8619625b58b SHA512 0e39110432db561208cf147bccbdb66f64176a78c0e9ce8495a423ed0d6a027b45deb111d3c872faa10e158fcdaa5380f03a5e0602fecea1a0f00e528e19cfe1 diff --git a/dev-python/simplebayes/simplebayes-1.5.8.ebuild b/dev-python/simplebayes/simplebayes-1.5.8.ebuild new file mode 100644 index 00000000000..efe01695e0b --- /dev/null +++ b/dev-python/simplebayes/simplebayes-1.5.8.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="memory-based, optional-persistence naive bayesian text classifier" +HOMEPAGE="https://github.com/hickeroar/simplebayes" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests tests/ || die "test failed under ${EPYTHON}" +}