From 64c891e286c063d18fb402e3fcb2100ba1b38db5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 21:28:41 +0100 Subject: [PATCH] www-apps/viewvc: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- ...-1.1.26.ebuild => viewvc-1.1.26-r1.ebuild} | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) rename www-apps/viewvc/{viewvc-1.1.26.ebuild => viewvc-1.1.26-r1.ebuild} (86%) diff --git a/www-apps/viewvc/viewvc-1.1.26.ebuild b/www-apps/viewvc/viewvc-1.1.26-r1.ebuild similarity index 86% rename from www-apps/viewvc/viewvc-1.1.26.ebuild rename to www-apps/viewvc/viewvc-1.1.26-r1.ebuild index 787b46c03658..fa7bfd6b69c2 100644 --- a/www-apps/viewvc/viewvc-1.1.26.ebuild +++ b/www-apps/viewvc/viewvc-1.1.26-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -20,17 +20,21 @@ IUSE="cvs cvsgraph mod_wsgi mysql pygments +subversion" DEPEND="" RDEPEND="${PYTHON_DEPS} cvs? ( dev-vcs/rcs ) - subversion? ( >=dev-vcs/subversion-1.3.1[python,${PYTHON_USEDEP}] ) - mod_wsgi? ( www-apache/mod_wsgi[${PYTHON_USEDEP}] ) + mod_wsgi? ( www-apache/mod_wsgi[${PYTHON_SINGLE_USEDEP}] ) !mod_wsgi? ( virtual/httpd-cgi ) cvsgraph? ( >=dev-vcs/cvsgraph-1.5.0 ) - mysql? ( >=dev-python/mysql-python-0.9.0[${PYTHON_USEDEP}] ) - pygments? ( - dev-python/pygments[${PYTHON_USEDEP}] - app-misc/mime-types - ) + + $(python_gen_cond_dep ' + subversion? ( >=dev-vcs/subversion-1.3.1[python,${PYTHON_MULTI_USEDEP}] ) + + mysql? ( >=dev-python/mysql-python-0.9.0[${PYTHON_MULTI_USEDEP}] ) + pygments? ( + dev-python/pygments[${PYTHON_MULTI_USEDEP}] + app-misc/mime-types + ) + ') " REQUIRED_USE="${PYTHON_REQUIRED_USE} -- 2.26.2