|
Lines 45-51
python_prepare_all() {
Link Here
|
| 45 |
} |
45 |
} |
| 46 |
|
46 |
|
| 47 |
python_compile_all() { |
47 |
python_compile_all() { |
| 48 |
use doc && make -C docs html |
48 |
use doc && esetup.py build_sphinx |
| 49 |
} |
49 |
} |
| 50 |
|
50 |
|
| 51 |
python_test() { |
51 |
python_test() { |
|
Lines 54-60
python_test() {
Link Here
|
| 54 |
|
54 |
|
| 55 |
python_install_all() { |
55 |
python_install_all() { |
| 56 |
use examples && local EXAMPLES=( examples/. ) |
56 |
use examples && local EXAMPLES=( examples/. ) |
| 57 |
use doc && HTML_DOCS=( docs/_build/html/. ) |
57 |
use doc && HTML_DOCS=( build/sphinx/html/. ) |
| 58 |
|
58 |
|
| 59 |
distutils-r1_python_install_all |
59 |
distutils-r1_python_install_all |
| 60 |
} |
60 |
} |