Lines 28-34
Link Here
|
28 |
net-mail/notmuch[crypt,python,${PYTHON_USEDEP}] |
28 |
net-mail/notmuch[crypt,python,${PYTHON_USEDEP}] |
29 |
" |
29 |
" |
30 |
BDEPEND=" |
30 |
BDEPEND=" |
31 |
dev-python/sphinx[${PYTHON_USEDEP}] |
31 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
32 |
" |
32 |
" |
33 |
|
33 |
|
34 |
PATCHES=( |
34 |
PATCHES=( |
Lines 40-52
Link Here
|
40 |
BDEPEND+=" test? ( dev-python/mock[${PYTHON_USEDEP}] ) " |
40 |
BDEPEND+=" test? ( dev-python/mock[${PYTHON_USEDEP}] ) " |
41 |
|
41 |
|
42 |
python_compile_all() { |
42 |
python_compile_all() { |
43 |
emake -C docs man |
43 |
if use doc; then |
44 |
use doc && emake -C docs html |
44 |
emake -C docs man html |
|
|
45 |
fi |
45 |
} |
46 |
} |
46 |
|
47 |
|
47 |
python_install_all() { |
48 |
python_install_all() { |
48 |
use doc && local HTML_DOCS=( docs/build/html/. ) |
49 |
if use doc; then |
|
|
50 |
local HTML_DOCS=( docs/build/html/. ) |
49 |
doman docs/build/man/* |
51 |
doman docs/build/man/* |
|
|
52 |
fi |
50 |
distutils-r1_python_install_all |
53 |
distutils-r1_python_install_all |
51 |
|
54 |
|
52 |
insinto /usr/share/alot |
55 |
insinto /usr/share/alot |
Lines 61-64
Link Here
|
61 |
elog " https://alot.readthedocs.io/en/latest/" |
64 |
elog " https://alot.readthedocs.io/en/latest/" |
62 |
elog "" |
65 |
elog "" |
63 |
fi |
66 |
fi |
64 |
} |
67 |
} |