Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/trac/
Date: Sun, 09 Feb 2020 16:47:14
Message-Id: 1581266811.d376ff98cff5b165d943e6d55a590592bd4ee078.mgorny@gentoo
1 commit: d376ff98cff5b165d943e6d55a590592bd4ee078
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 8 06:59:27 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:46:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d376ff98
7
8 www-apps/trac: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../{trac-1.0.9.ebuild => trac-1.0.9-r1.ebuild} | 40 ++++++++++++----------
13 .../{trac-1.2.1.ebuild => trac-1.2.1-r1.ebuild} | 36 ++++++++++---------
14 2 files changed, 40 insertions(+), 36 deletions(-)
15
16 diff --git a/www-apps/trac/trac-1.0.9.ebuild b/www-apps/trac/trac-1.0.9-r1.ebuild
17 similarity index 73%
18 rename from www-apps/trac/trac-1.0.9.ebuild
19 rename to www-apps/trac/trac-1.0.9-r1.ebuild
20 index 4925adedf91..92856efa6ec 100644
21 --- a/www-apps/trac/trac-1.0.9.ebuild
22 +++ b/www-apps/trac/trac-1.0.9-r1.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2018 Gentoo Authors
25 +# Copyright 1999-2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=5
29 @@ -24,25 +24,27 @@ IUSE="cgi fastcgi i18n +highlight +restructuredtext mysql postgres +sqlite subve
30 REQUIRED_USE="|| ( mysql postgres sqlite )"
31
32 RDEPEND="
33 - dev-python/setuptools[${PYTHON_USEDEP}]
34 - dev-python/genshi[${PYTHON_USEDEP}]
35 - dev-python/pytz[${PYTHON_USEDEP}]
36 - i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_USEDEP}] )
37 - highlight? (
38 - || (
39 - dev-python/pygments[${PYTHON_USEDEP}]
40 - app-text/silvercity
41 - app-text/pytextile
42 - app-text/enscript
43 + $(python_gen_cond_dep '
44 + dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
45 + dev-python/genshi[${PYTHON_MULTI_USEDEP}]
46 + dev-python/pytz[${PYTHON_MULTI_USEDEP}]
47 + i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_MULTI_USEDEP}] )
48 + highlight? (
49 + || (
50 + dev-python/pygments[${PYTHON_MULTI_USEDEP}]
51 + app-text/silvercity
52 + app-text/pytextile
53 + app-text/enscript
54 + )
55 )
56 - )
57 - restructuredtext? ( dev-python/docutils[${PYTHON_USEDEP}] )
58 - cgi? ( virtual/httpd-cgi )
59 - fastcgi? ( virtual/httpd-fastcgi )
60 - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
61 - postgres? ( >=dev-python/psycopg-2[${PYTHON_USEDEP}] )
62 - sqlite? ( >=dev-db/sqlite-3.3.4:3 )
63 - subversion? ( dev-vcs/subversion[python,${PYTHON_USEDEP}] )
64 + restructuredtext? ( dev-python/docutils[${PYTHON_MULTI_USEDEP}] )
65 + cgi? ( virtual/httpd-cgi )
66 + fastcgi? ( virtual/httpd-fastcgi )
67 + mysql? ( dev-python/mysql-python[${PYTHON_MULTI_USEDEP}] )
68 + postgres? ( >=dev-python/psycopg-2[${PYTHON_MULTI_USEDEP}] )
69 + sqlite? ( >=dev-db/sqlite-3.3.4:3 )
70 + subversion? ( dev-vcs/subversion[python,${PYTHON_MULTI_USEDEP}] )
71 + ')
72 "
73 DEPEND="${RDEPEND}"
74
75
76 diff --git a/www-apps/trac/trac-1.2.1.ebuild b/www-apps/trac/trac-1.2.1-r1.ebuild
77 similarity index 73%
78 rename from www-apps/trac/trac-1.2.1.ebuild
79 rename to www-apps/trac/trac-1.2.1-r1.ebuild
80 index 94523e6929b..d80396e3d00 100644
81 --- a/www-apps/trac/trac-1.2.1.ebuild
82 +++ b/www-apps/trac/trac-1.2.1-r1.ebuild
83 @@ -1,4 +1,4 @@
84 -# Copyright 1999-2018 Gentoo Authors
85 +# Copyright 1999-2020 Gentoo Authors
86 # Distributed under the terms of the GNU General Public License v2
87
88 EAPI=5
89 @@ -24,23 +24,25 @@ IUSE="cgi fastcgi i18n +highlight +restructuredtext mysql postgres +sqlite subve
90 REQUIRED_USE="|| ( mysql postgres sqlite )"
91
92 RDEPEND="
93 - dev-python/setuptools[${PYTHON_USEDEP}]
94 - dev-python/genshi[${PYTHON_USEDEP}]
95 - dev-python/pytz[${PYTHON_USEDEP}]
96 - i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_USEDEP}] )
97 - highlight? (
98 - || (
99 - dev-python/pygments[${PYTHON_USEDEP}]
100 - app-text/silvercity
101 - app-text/pytextile
102 - app-text/enscript
103 + $(python_gen_cond_dep '
104 + dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
105 + dev-python/genshi[${PYTHON_MULTI_USEDEP}]
106 + dev-python/pytz[${PYTHON_MULTI_USEDEP}]
107 + i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_MULTI_USEDEP}] )
108 + highlight? (
109 + || (
110 + dev-python/pygments[${PYTHON_MULTI_USEDEP}]
111 + app-text/silvercity
112 + app-text/pytextile
113 + app-text/enscript
114 + )
115 )
116 - )
117 - restructuredtext? ( dev-python/docutils[${PYTHON_USEDEP}] )
118 - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
119 - postgres? ( >=dev-python/psycopg-2[${PYTHON_USEDEP}] )
120 - sqlite? ( >=dev-db/sqlite-3.3.4:3 )
121 - subversion? ( dev-vcs/subversion[python,${PYTHON_USEDEP}] )
122 + restructuredtext? ( dev-python/docutils[${PYTHON_MULTI_USEDEP}] )
123 + mysql? ( dev-python/mysql-python[${PYTHON_MULTI_USEDEP}] )
124 + postgres? ( >=dev-python/psycopg-2[${PYTHON_MULTI_USEDEP}] )
125 + sqlite? ( >=dev-db/sqlite-3.3.4:3 )
126 + subversion? ( dev-vcs/subversion[python,${PYTHON_MULTI_USEDEP}] )
127 + ')
128 "
129 DEPEND="${RDEPEND}"