1 |
commit: 28c0a4a4a9535bd7a5a6abe78a7de43bfcbde826 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 2 17:04:54 2012 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 2 17:04:54 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=28c0a4a4 |
7 |
|
8 |
Don't force on python2 for docbuilding. |
9 |
|
10 |
setup.py just uses subprocess to spawn epydoc, so any Python version |
11 |
will do. |
12 |
|
13 |
--- |
14 |
app-portage/gentoopm/gentoopm-9999.ebuild | 4 ++-- |
15 |
1 files changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/app-portage/gentoopm/gentoopm-9999.ebuild b/app-portage/gentoopm/gentoopm-9999.ebuild |
18 |
index abcef0f..911607a 100644 |
19 |
--- a/app-portage/gentoopm/gentoopm-9999.ebuild |
20 |
+++ b/app-portage/gentoopm/gentoopm-9999.ebuild |
21 |
@@ -37,8 +37,8 @@ SRC_URI= |
22 |
|
23 |
python_compile_all() { |
24 |
if use doc; then |
25 |
- # XXX: do we need any specific ${PYTHON} magic here? |
26 |
- python2 setup.py doc || die |
27 |
+ python_export_best |
28 |
+ "${PYTHON}" setup.py doc || die |
29 |
fi |
30 |
} |