1 |
commit: e4a89f6aa7f503fedaeca7995c01adc9aa0c1a90 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 07:58:05 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 07:58:05 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e4a89f6a |
7 |
|
8 |
dev-python/notebook: install scripts |
9 |
|
10 |
GH-issue: https://github.com/gentoo-science/sci/issues/477 |
11 |
|
12 |
Package-Manager: portage-2.2.20.1 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
dev-python/notebook/notebook-9999.ebuild | 7 +++++++ |
16 |
1 file changed, 7 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/notebook/notebook-9999.ebuild b/dev-python/notebook/notebook-9999.ebuild |
19 |
index 7f6336a..ca271a6 100644 |
20 |
--- a/dev-python/notebook/notebook-9999.ebuild |
21 |
+++ b/dev-python/notebook/notebook-9999.ebuild |
22 |
@@ -46,6 +46,13 @@ DEPEND="${RDEPEND} |
23 |
) |
24 |
" |
25 |
|
26 |
+python_prepare_all() { |
27 |
+ sed \ |
28 |
+ -e "/import setup/s:$:\nimport setuptools:g" \ |
29 |
+ -i setup.py || die |
30 |
+ distutils-r1_python_prepare_all |
31 |
+} |
32 |
+ |
33 |
python_test() { |
34 |
nosetests --with-coverage --cover-package=notebook notebook || die |
35 |
} |