# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 DESCRIPTION="CLI for SQLite Databases with auto-completion and syntax highlighting" HOMEPAGE="https://github.com/dbcli/litecli" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~x86" LICENSE="BSD" SLOT="0" RDEPEND=" >=dev-python/click-4.1[${PYTHON_USEDEP}] >=dev-python/pygments-1.6[${PYTHON_USEDEP}] >=dev-python/prompt_toolkit-2.0.0[${PYTHON_USEDEP}] =dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}] >=dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}]" #https://github.com/dbcli/litecli/issues/70 src_prepare(){ sed -e 's|sqlparse>=0.2.2,<0.3.0|sqlparse>=0.2.2|' -i setup.py || die "sed failed" eapply_user }