From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9B6A51399D1 for ; Wed, 2 Sep 2015 07:59:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77C5014345; Wed, 2 Sep 2015 07:59:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA462142E9 for ; Wed, 2 Sep 2015 07:59:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBCFA340766 for ; Wed, 2 Sep 2015 07:59:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3D07181 for ; Wed, 2 Sep 2015 07:59:15 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1441180685.e4a89f6aa7f503fedaeca7995c01adc9aa0c1a90.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/notebook/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/notebook/notebook-9999.ebuild X-VCS-Directories: dev-python/notebook/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: e4a89f6aa7f503fedaeca7995c01adc9aa0c1a90 X-VCS-Branch: master Date: Wed, 2 Sep 2015 07:59:15 +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-Archives-Salt: f663f811-b20d-459f-8354-89a81523fbc5 X-Archives-Hash: 8c1aa0a779bc15bcd73ccd843c6a570b commit: e4a89f6aa7f503fedaeca7995c01adc9aa0c1a90 Author: Justin Lecher gentoo org> AuthorDate: Wed Sep 2 07:58:05 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Sep 2 07:58:05 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e4a89f6a dev-python/notebook: install scripts GH-issue: https://github.com/gentoo-science/sci/issues/477 Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher gentoo.org> dev-python/notebook/notebook-9999.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/notebook/notebook-9999.ebuild b/dev-python/notebook/notebook-9999.ebuild index 7f6336a..ca271a6 100644 --- a/dev-python/notebook/notebook-9999.ebuild +++ b/dev-python/notebook/notebook-9999.ebuild @@ -46,6 +46,13 @@ DEPEND="${RDEPEND} ) " +python_prepare_all() { + sed \ + -e "/import setup/s:$:\nimport setuptools:g" \ + -i setup.py || die + distutils-r1_python_prepare_all +} + python_test() { nosetests --with-coverage --cover-package=notebook notebook || die }