# ChangeLog for dev-python/execnet
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header$
+ 05 Aug 2011; Markos Chandras <hwoarang@gentoo.org>
+ -files/execnet-1.0.6-test-nice.patch, -execnet-1.0.8.ebuild:
+ Remove old ebuild. Requested by Arfrever
+
*execnet-1.0.9 (24 Dec 2010)
24 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header$
-
-EAPI="3"
-SUPPORT_PYTHON_ABIS="1"
-DISTUTILS_SRC_TEST="py.test"
-
-inherit distutils eutils
-
-DESCRIPTION="Rapid multi-Python deployment"
-HOMEPAGE="http://codespeak.net/execnet/ http://pypi.python.org/pypi/execnet/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-DEPEND="dev-python/setuptools
- doc? ( dev-python/sphinx )"
-RDEPEND=""
-
-src_prepare() {
- distutils_src_prepare
-
- # Fix test with nice (bug #301417).
- epatch "${FILESDIR}/${PN}-1.0.6-test-nice.patch"
-}
-
-src_compile() {
- distutils_src_compile
-
- if use doc; then
- einfo "Generation of documentation"
- cd doc
- emake html || die "Generation of documentation failed"
- fi
-}
-
-src_test() {
- distutils_src_test testing
-}
-
-src_install() {
- distutils_src_install
-
- if use doc; then
- dohtml -r doc/_build/html/* || die "dohtml failed"
- fi
-}
+++ /dev/null
-diff -r -U1 execnet-1.0.6.orig/testing/test_xspec.py execnet-1.0.6/testing/test_xspec.py
---- execnet-1.0.6.orig/testing/test_xspec.py 2010-04-21 16:19:48.000000000 +0200
-+++ execnet-1.0.6/testing/test_xspec.py 2010-05-03 22:12:56.000000000 +0200
-@@ -72,2 +72,8 @@
- def test_popen_nice(self):
-+ import os
-+ localnice = os.nice(0)
-+ MAXNICE = 19
-+ nice = localnice+5
-+ if nice > MAXNICE:
-+ nice = MAXNICE
- gw = execnet.makegateway("popen//nice=5")
-@@ -81,3 +87,3 @@
- if remotenice is not None:
-- assert remotenice == 5
-+ assert remotenice == nice
-