# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 PYTHON_COMPAT=( python3_4 ) PYTHON_REQ_USE='sqlite' inherit distutils-r1 DESCRIPTION="Free church presentation software" HOMEPAGE="http://openlp.org/" SRC_URI="https://get.openlp.org/${PV}/OpenLP-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="test" RDEPEND=" dev-python/alembic[${PYTHON_USEDEP}] dev-python/beautifulsoup:python-3[${PYTHON_USEDEP}] dev-python/chardet[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/mako[${PYTHON_USEDEP}] dev-python/pyenchant[${PYTHON_USEDEP}] dev-python/pyodbc dev-python/PyQt5[multimedia,webkit,multimedia,gui,network,widgets,printsupport,${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] dev-python/sip[${PYTHON_USEDEP}] dev-python/sqlalchemy[${PYTHON_USEDEP}] dev-python/sqlalchemy-migrate[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" S=${WORKDIR}/OpenLP-${PV} python_prepare_all() { distutils-r1_python_prepare_all rm -rf ${S}/tests } python_install_all() { distutils-r1_python_install_all domenu resources/openlp.desktop dobin ${FILESDIR}/openlp doicon -s scalable resources/images/openlp.svg }