commit: 64c891e286c063d18fb402e3fcb2100ba1b38db5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 20:28:41 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:37:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c891e2
www-apps/viewvc: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
...{viewvc-1.1.26.ebuild => viewvc-1.1.26-r1.ebuild} | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
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 787b46c0365..fa7bfd6b69c 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}