From d376ff98cff5b165d943e6d55a590592bd4ee078 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 8 Feb 2020 07:59:27 +0100 Subject: [PATCH] www-apps/trac: 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 --- ...trac-1.0.9.ebuild => trac-1.0.9-r1.ebuild} | 40 ++++++++++--------- ...trac-1.2.1.ebuild => trac-1.2.1-r1.ebuild} | 36 +++++++++-------- 2 files changed, 40 insertions(+), 36 deletions(-) rename www-apps/trac/{trac-1.0.9.ebuild => trac-1.0.9-r1.ebuild} (73%) rename www-apps/trac/{trac-1.2.1.ebuild => trac-1.2.1-r1.ebuild} (73%) diff --git a/www-apps/trac/trac-1.0.9.ebuild b/www-apps/trac/trac-1.0.9-r1.ebuild similarity index 73% rename from www-apps/trac/trac-1.0.9.ebuild rename to www-apps/trac/trac-1.0.9-r1.ebuild index 4925adedf918..92856efa6ec7 100644 --- a/www-apps/trac/trac-1.0.9.ebuild +++ b/www-apps/trac/trac-1.0.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -24,25 +24,27 @@ IUSE="cgi fastcgi i18n +highlight +restructuredtext mysql postgres +sqlite subve REQUIRED_USE="|| ( mysql postgres sqlite )" RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/genshi[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_USEDEP}] ) - highlight? ( - || ( - dev-python/pygments[${PYTHON_USEDEP}] - app-text/silvercity - app-text/pytextile - app-text/enscript + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_MULTI_USEDEP}] + dev-python/genshi[${PYTHON_MULTI_USEDEP}] + dev-python/pytz[${PYTHON_MULTI_USEDEP}] + i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_MULTI_USEDEP}] ) + highlight? ( + || ( + dev-python/pygments[${PYTHON_MULTI_USEDEP}] + app-text/silvercity + app-text/pytextile + app-text/enscript + ) ) - ) - restructuredtext? ( dev-python/docutils[${PYTHON_USEDEP}] ) - cgi? ( virtual/httpd-cgi ) - fastcgi? ( virtual/httpd-fastcgi ) - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) - postgres? ( >=dev-python/psycopg-2[${PYTHON_USEDEP}] ) - sqlite? ( >=dev-db/sqlite-3.3.4:3 ) - subversion? ( dev-vcs/subversion[python,${PYTHON_USEDEP}] ) + restructuredtext? ( dev-python/docutils[${PYTHON_MULTI_USEDEP}] ) + cgi? ( virtual/httpd-cgi ) + fastcgi? ( virtual/httpd-fastcgi ) + mysql? ( dev-python/mysql-python[${PYTHON_MULTI_USEDEP}] ) + postgres? ( >=dev-python/psycopg-2[${PYTHON_MULTI_USEDEP}] ) + sqlite? ( >=dev-db/sqlite-3.3.4:3 ) + subversion? ( dev-vcs/subversion[python,${PYTHON_MULTI_USEDEP}] ) + ') " DEPEND="${RDEPEND}" diff --git a/www-apps/trac/trac-1.2.1.ebuild b/www-apps/trac/trac-1.2.1-r1.ebuild similarity index 73% rename from www-apps/trac/trac-1.2.1.ebuild rename to www-apps/trac/trac-1.2.1-r1.ebuild index 94523e6929b7..d80396e3d00d 100644 --- a/www-apps/trac/trac-1.2.1.ebuild +++ b/www-apps/trac/trac-1.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -24,23 +24,25 @@ IUSE="cgi fastcgi i18n +highlight +restructuredtext mysql postgres +sqlite subve REQUIRED_USE="|| ( mysql postgres sqlite )" RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/genshi[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_USEDEP}] ) - highlight? ( - || ( - dev-python/pygments[${PYTHON_USEDEP}] - app-text/silvercity - app-text/pytextile - app-text/enscript + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_MULTI_USEDEP}] + dev-python/genshi[${PYTHON_MULTI_USEDEP}] + dev-python/pytz[${PYTHON_MULTI_USEDEP}] + i18n? ( >=dev-python/Babel-0.9.5[${PYTHON_MULTI_USEDEP}] ) + highlight? ( + || ( + dev-python/pygments[${PYTHON_MULTI_USEDEP}] + app-text/silvercity + app-text/pytextile + app-text/enscript + ) ) - ) - restructuredtext? ( dev-python/docutils[${PYTHON_USEDEP}] ) - mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) - postgres? ( >=dev-python/psycopg-2[${PYTHON_USEDEP}] ) - sqlite? ( >=dev-db/sqlite-3.3.4:3 ) - subversion? ( dev-vcs/subversion[python,${PYTHON_USEDEP}] ) + restructuredtext? ( dev-python/docutils[${PYTHON_MULTI_USEDEP}] ) + mysql? ( dev-python/mysql-python[${PYTHON_MULTI_USEDEP}] ) + postgres? ( >=dev-python/psycopg-2[${PYTHON_MULTI_USEDEP}] ) + sqlite? ( >=dev-db/sqlite-3.3.4:3 ) + subversion? ( dev-vcs/subversion[python,${PYTHON_MULTI_USEDEP}] ) + ') " DEPEND="${RDEPEND}" -- 2.26.2