1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 MY_P="${PN}-editor-${PV}"
7 PYTHON_COMPAT=( python2_7 )
8 PYTHON_REQUIRED_USE="tk"
11 DESCRIPTION="Leo: Literate Editor with Outlines"
12 HOMEPAGE="https://github.com/leo-editor/leo-editor/"
13 SRC_URI="https://github.com/leo-editor/leo-editor/archive/${PV}.tar.gz -> ${P}.tar.gz"
21 app-text/silvercity[${PYTHON_USEDEP}]
22 dev-python/PyQt5[${PYTHON_USEDEP}]
26 S="${WORKDIR}/${MY_P}"
28 python_prepare_all() {
29 distutils-r1_python_prepare_all
30 cp leo/dist/setup.py leo/dist/leo-install.py . || die
33 python_install_all() {
34 use doc && local HTML_DOCS=( leo/doc/html/. )
35 distutils-r1_python_install_all