www-apps/trac-mercurial: distutils-r1, EAPI=6
authorMichał Górny <mgorny@gentoo.org>
Fri, 17 Feb 2017 18:41:10 +0000 (19:41 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 17 Feb 2017 20:24:33 +0000 (21:24 +0100)
www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r1.ebuild [moved from www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899.ebuild with 60% similarity]
www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206-r1.ebuild [moved from www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206.ebuild with 60% similarity]

similarity index 60%
rename from www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899.ebuild
rename to www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899-r1.ebuild
index 5919028edef359cd454c331abba38091e62bb993..0611467c4ad483a47a087170d87fbc8f0bd54441 100644 (file)
@@ -1,14 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=3
+EAPI=6
 
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_COMPAT=( python2_7 )
 
-inherit distutils
+inherit distutils-r1
 
 MY_PN="TracMercurial"
 MY_P="${MY_PN}-${PV/_pre/dev-r}"
@@ -22,8 +20,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="dev-python/setuptools"
-RDEPEND=">=www-apps/trac-0.12
-       >=dev-vcs/mercurial-1.1"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=">=www-apps/trac-0.12[${PYTHON_USEDEP}]
+       >=dev-vcs/mercurial-1.1[${PYTHON_USEDEP}]"
 
 S="${WORKDIR}/${MY_P}"
similarity index 60%
rename from www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206.ebuild
rename to www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206-r1.ebuild
index 4158f02d78ac69d87f161b8790a473f7db8d413f..6989df50ac5823433a32304ce0581530c4cd8938 100644 (file)
@@ -1,14 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=6
 
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_COMPAT=( python2_7 )
 
-inherit distutils mercurial
+inherit distutils-r1 mercurial
 
 MY_PN="TracMercurial"
 MY_P="${MY_PN}-${PV/_pre/dev-r}"
@@ -23,8 +21,8 @@ SLOT="0"
 # KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="dev-python/setuptools"
-RDEPEND=">=www-apps/trac-1.0
-               >=dev-vcs/mercurial-1.1"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=">=www-apps/trac-1.0[${PYTHON_USEDEP}]
+               >=dev-vcs/mercurial-1.1[${PYTHON_USEDEP}]"
 
 S="${WORKDIR}/${MY_P}"