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 A5293138350 for ; Thu, 2 Apr 2020 19:51:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C45FFE0A88; Thu, 2 Apr 2020 19:51:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 AB607E0A88 for ; Thu, 2 Apr 2020 19:51:04 +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 7FE6234EF9A for ; Thu, 2 Apr 2020 19:51:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E63F18B for ; Thu, 2 Apr 2020 19:51:02 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1585857051.63ae68616aa319862fc1f0e6e92546bf50d7be99.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/cchardet/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/cchardet/cchardet-2.1.6.ebuild X-VCS-Directories: dev-python/cchardet/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 63ae68616aa319862fc1f0e6e92546bf50d7be99 X-VCS-Branch: dev Date: Thu, 2 Apr 2020 19:51:02 +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: e71aefa7-1cf0-417f-99d5-242979f36fe4 X-Archives-Hash: 3d33fdf6ee1c41fb2ecaf92bf49ab64c commit: 63ae68616aa319862fc1f0e6e92546bf50d7be99 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Apr 2 19:50:51 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 2 19:50:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63ae6861 dev-python/cchardet: fix tests, works for me Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/cchardet/cchardet-2.1.6.ebuild | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/dev-python/cchardet/cchardet-2.1.6.ebuild b/dev-python/cchardet/cchardet-2.1.6.ebuild index 2af46de..fb015a3 100644 --- a/dev-python/cchardet/cchardet-2.1.6.ebuild +++ b/dev-python/cchardet/cchardet-2.1.6.ebuild @@ -15,12 +15,6 @@ LICENSE="MPL-1.1" SLOT="0" KEYWORDS="~amd64" -#tests fail with an import failure -# from cchardet import _cchardet -#ImportError: cannot import name '_cchardet' -#I tried to manually import _cchardet in ipython3 and it works ... -RESTRICT="test" - RDEPEND=" dev-python/chardet[${PYTHON_USEDEP}] " @@ -40,7 +34,6 @@ distutils_enable_tests nose # default #} -#python_test() { -# distutils_install_for_testing -# "${EPYTHON}" setup.py nosetest || die -#} +python_test() { + "${EPYTHON}" setup.py nosetests || die +}