pytest-xdist: Convert to distutils-r1
authorLaurent Bachelier <laurent@bachelier.name>
Sat, 10 Aug 2013 19:35:10 +0000 (21:35 +0200)
committerLaurent Bachelier <laurent@bachelier.name>
Sat, 10 Aug 2013 19:35:10 +0000 (21:35 +0200)
pytest-xdist-1.8.ebuild

index 1a4eef1b8fbc9615b52aef82a55b2d22b91b8f9e..1bfedc77089390bc0995966fddb4d4a9fda4fd3c 100644 (file)
@@ -1,14 +1,14 @@
-# Copyright 2012 Gentoo Foundation
+# Copyright 2012-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_DEPEND="2:2.5 3:3.1"
-SUPPORT_PYTHON_ABIS="1"
 
-inherit distutils
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
+
+inherit distutils-r1
 
 DESCRIPTION="py.test xdist plugin for distributed testing"
-HOMEPAGE="http://pypi.python.org/pypi/pytest-xdist
+HOMEPAGE="https://pypi.python.org/pypi/pytest-xdist
 https://bitbucket.org/hpk42/pytest-xdist"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
 
@@ -17,10 +17,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x64"
 IUSE=""
 
-DEPEND=""
-RDEPEND=">=dev-python/pytest-2.2.1
-       dev-python/execnet"
-
-PYTHON_MODNAME="xdist"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
+       dev-python/execnet[${PYTHON_USEDEP}]"
 
-DOCS="CHANGELOG LICENSE README.txt"
+DOCS=( CHANGELOG LICENSE README.txt )