# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5} ) inherit distutils-r1 DESCRIPTION="A CMS to generate a static websites" HOMEPAGE="https://www.getlektor.com/" SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="AGPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="examples" DEPEND="media-gfx/imagemagick net-libs/nodejs[npm] dev-python/Babel dev-python/click dev-python/exifread dev-python/flask dev-python/mistune dev-python/pip dev-python/python-inifile dev-python/watchdog" RDEPEND="" DOCS=( CHANGES LICENSE README.md ) src_compile() { emake } python_install_all() { if use examples; then insinto "/usr/share/doc/${PF}" docompress -x "/usr/share/doc/${PF}/example" doins -r example fi distutils-r1_python_install_all }