commit:     d670c98ba4d9b25c418c8bae73a8970d23de63dd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 11 17:44:16 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 11 22:11:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d670c98b

dev-python/pytest: Remove obsolete logic

Remove obsolete chmod and sed that are not doing anything these days.

 dev-python/pytest/pytest-3.4.2.ebuild | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dev-python/pytest/pytest-3.4.2.ebuild 
b/dev-python/pytest/pytest-3.4.2.ebuild
index 122e1393e02..1c215e18c9c 100644
--- a/dev-python/pytest/pytest-3.4.2.ebuild
+++ b/dev-python/pytest/pytest-3.4.2.ebuild
@@ -49,10 +49,6 @@ python_prepare_all() {
                "${FILESDIR}"/pytest-3.4.2-pypy-syntaxerror-offset.patch
        )
 
-       chmod o-w *egg*/* || die
-       # Disable versioning of py.test script to avoid collision with
-       # versioning performed by the eclass.
-       sed -e "s/return points/return {'py.test': target}/" -i setup.py || die 
"sed failed"
        grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py 
dependency"
 
        # Something in the ebuild environment causes this to hang/error.

Reply via email to