From aa4fa184aa76c267b5106a4cdd52324915b3bb84 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Sat, 16 Jan 2021 13:35:58 +0100 Subject: app-office/beancount: Clean up dependencies, use python_gen_cond_dep Package-Manager: Portage-3.0.12, Repoman-3.0.2 --- app-office/beancount/beancount-2.3.3.ebuild | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'app-office/beancount/beancount-2.3.3.ebuild') diff --git a/app-office/beancount/beancount-2.3.3.ebuild b/app-office/beancount/beancount-2.3.3.ebuild index 0a31ff2..18a460d 100644 --- a/app-office/beancount/beancount-2.3.3.ebuild +++ b/app-office/beancount/beancount-2.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -27,19 +27,20 @@ IUSE="emacs" SITEFILE="50{PN}-mode-gentoo.el" RDEPEND=" - >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}] - >=dev-python/bottle-0.12[${PYTHON_USEDEP}] - >=dev-python/ply-3.4[${PYTHON_USEDEP}] - >=dev-python/lxml-3.0[${PYTHON_USEDEP}] - >=dev-python/google-api-python-client-1.8.2[${PYTHON_USEDEP}] - >=dev-python/oauth2client-4.0[${PYTHON_USEDEP}] - >=dev-python/httplib2-0.10[${PYTHON_USEDEP}] - >=dev-python/requests-2.0[${PYTHON_USEDEP}] - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - >=dev-python/python-magic-0.4.12[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - " -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + $(python_gen_cond_dep ' + >=dev-python/beautifulsoup-4[${PYTHON_USEDEP}] + >=dev-python/bottle-0.12[${PYTHON_USEDEP}] + >=dev-python/google-api-python-client-1.8.2[${PYTHON_USEDEP}] + >=dev-python/httplib2-0.10[${PYTHON_USEDEP}] + >=dev-python/lxml-3.0[${PYTHON_USEDEP}] + >=dev-python/oauth2client-4.0[${PYTHON_USEDEP}] + >=dev-python/ply-3.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}] + >=dev-python/python-magic-0.4.12[${PYTHON_USEDEP}] + >=dev-python/requests-2.0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ') +" python_compile_all() { use emacs && elisp-compile editors/emacs/beancount.el -- cgit v1.2.3-2-gb3c3