commit:     e4a89f6aa7f503fedaeca7995c01adc9aa0c1a90
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 07:58:05 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> 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 <jlec <AT> 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
 }

Reply via email to