1 |
commit: 64c891e286c063d18fb402e3fcb2100ba1b38db5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 20:28:41 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 16:37:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c891e2 |
7 |
|
8 |
www-apps/viewvc: Switch to PYTHON_MULTI_USEDEP API |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
...{viewvc-1.1.26.ebuild => viewvc-1.1.26-r1.ebuild} | 20 ++++++++++++-------- |
13 |
1 file changed, 12 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/www-apps/viewvc/viewvc-1.1.26.ebuild b/www-apps/viewvc/viewvc-1.1.26-r1.ebuild |
16 |
similarity index 86% |
17 |
rename from www-apps/viewvc/viewvc-1.1.26.ebuild |
18 |
rename to www-apps/viewvc/viewvc-1.1.26-r1.ebuild |
19 |
index 787b46c0365..fa7bfd6b69c 100644 |
20 |
--- a/www-apps/viewvc/viewvc-1.1.26.ebuild |
21 |
+++ b/www-apps/viewvc/viewvc-1.1.26-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=6 |
28 |
@@ -20,17 +20,21 @@ IUSE="cvs cvsgraph mod_wsgi mysql pygments +subversion" |
29 |
DEPEND="" |
30 |
RDEPEND="${PYTHON_DEPS} |
31 |
cvs? ( dev-vcs/rcs ) |
32 |
- subversion? ( >=dev-vcs/subversion-1.3.1[python,${PYTHON_USEDEP}] ) |
33 |
|
34 |
- mod_wsgi? ( www-apache/mod_wsgi[${PYTHON_USEDEP}] ) |
35 |
+ mod_wsgi? ( www-apache/mod_wsgi[${PYTHON_SINGLE_USEDEP}] ) |
36 |
!mod_wsgi? ( virtual/httpd-cgi ) |
37 |
|
38 |
cvsgraph? ( >=dev-vcs/cvsgraph-1.5.0 ) |
39 |
- mysql? ( >=dev-python/mysql-python-0.9.0[${PYTHON_USEDEP}] ) |
40 |
- pygments? ( |
41 |
- dev-python/pygments[${PYTHON_USEDEP}] |
42 |
- app-misc/mime-types |
43 |
- ) |
44 |
+ |
45 |
+ $(python_gen_cond_dep ' |
46 |
+ subversion? ( >=dev-vcs/subversion-1.3.1[python,${PYTHON_MULTI_USEDEP}] ) |
47 |
+ |
48 |
+ mysql? ( >=dev-python/mysql-python-0.9.0[${PYTHON_MULTI_USEDEP}] ) |
49 |
+ pygments? ( |
50 |
+ dev-python/pygments[${PYTHON_MULTI_USEDEP}] |
51 |
+ app-misc/mime-types |
52 |
+ ) |
53 |
+ ') |
54 |
" |
55 |
|
56 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} |