www-apps/trac-mercurial: Switch to python-single-r1, due to trac dep
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Feb 2020 12:38:54 +0000 (13:38 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 15:54:22 +0000 (16:54 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r2.ebuild [moved from www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r1.ebuild with 68% similarity]
www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206-r1.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 e661cc957b68d4eabef27b952244a3c9bc6f2c6d..705c196994e6ce0b04399345d400b2c679d1d54b 100644 (file)
@@ -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}"
index 9b4f678dd53a448a59c1e491a850e5229ecf4f3f..6aa50c5b940cf74a3f74a92eba4e8020a25f3e8f 100644 (file)
@@ -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}"