Diff nikola-8.2.3-r1 with a nikola-8.2.3-r2
/usr/portage/www-apps/nikola/nikola-8.2.3-r2.ebuild 2023-10-09 14:52:35.880368511 +0300 | ||
---|---|---|
5 | 5 |
PYTHON_COMPAT=( python3_{9,10,11} ) |
6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 | 7 | |
8 |
inherit distutils-r1 optfeature pypi |
|
8 |
inherit bash-completion-r1 distutils-r1 optfeature pypi |
|
9 | 9 | |
10 | 10 |
DESCRIPTION="A static website and blog generator" |
11 | 11 |
HOMEPAGE="https://getnikola.com/" |
... | ... | |
37 | 37 |
dev-python/pillow[jpeg,${PYTHON_USEDEP}] |
38 | 38 |
dev-python/cloudpickle[${PYTHON_USEDEP}]" |
39 | 39 | |
40 |
python_compile_all() { |
|
41 |
nikola tabcompletion --shell=bash > ${PN}.bashcomp || die |
|
42 |
nikola tabcompletion --shell=zsh > ${PN}.zshcomp || die |
|
43 |
} |
|
44 | ||
40 | 45 |
src_install() { |
41 | 46 |
distutils-r1_src_install |
42 | 47 | |
... | ... | |
45 | 50 | |
46 | 51 |
dodoc AUTHORS.txt CHANGES.txt README.rst docs/*.rst |
47 | 52 |
gunzip "${ED}/usr/share/man/man1/${PN}.1.gz" || die |
53 | ||
54 |
newbashcomp ${PN}.bashcomp ${PN} |
|
55 |
insinto /usr/share/zsh/site-functions |
|
56 |
newins ${PN}.zshcomp _${PN} |
|
48 | 57 |
} |
49 | 58 | |
50 | 59 |
pkg_postinst() { |