commit:     b37173851bce8c0b8d6edd3ba7c881add7245d82
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 12:38:54 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 15:54:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3717385

www-apps/trac-mercurial: Switch to python-single-r1, due to trac dep

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...9-r1.ebuild => trac-mercurial-0.12.0.29_pre10899-r2.ebuild} | 10 ++++++----
 .../trac-mercurial-1.0.0.3_pre20130206-r1.ebuild               | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git 
a/www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r1.ebuild 
b/www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r2.ebuild
similarity index 68%
rename from www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r1.ebuild
rename to www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r2.ebuild
index e661cc957b6..705c196994e 100644
--- a/www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r1.ebuild
+++ b/www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
+DISTUTILS_SINGLE_IMPL=1
 PYTHON_COMPAT=( python2_7 )
 
 inherit distutils-r1
@@ -19,8 +20,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=">=www-apps/trac-0.12[${PYTHON_USEDEP}]
-       >=dev-vcs/mercurial-1.1[${PYTHON_USEDEP}]"
+RDEPEND=">=www-apps/trac-0.12[${PYTHON_SINGLE_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-vcs/mercurial-1.1[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 S="${WORKDIR}/${MY_P}"

diff --git 
a/www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206-r1.ebuild 
b/www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206-r1.ebuild
index 9b4f678dd53..6aa50c5b940 100644
--- a/www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206-r1.ebuild
+++ b/www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
+DISTUTILS_SINGLE_IMPL=1
 PYTHON_COMPAT=( python2_7 )
 
 inherit distutils-r1 mercurial
@@ -20,8 +21,9 @@ SLOT="0"
 # KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=">=www-apps/trac-1.0[${PYTHON_USEDEP}]
-               >=dev-vcs/mercurial-1.1[${PYTHON_USEDEP}]"
+RDEPEND=">=www-apps/trac-1.0[${PYTHON_SINGLE_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-vcs/mercurial-1.1[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 S="${WORKDIR}/${MY_P}"

Reply via email to