dev-python/pytest: Remove obsolete logic
authorMichał Górny <mgorny@gentoo.org>
Wed, 11 Jul 2018 17:44:16 +0000 (19:44 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Jul 2018 22:11:20 +0000 (00:11 +0200)
Remove obsolete chmod and sed that are not doing anything these days.

dev-python/pytest/pytest-3.4.2.ebuild

index 122e1393e02aa42f77eb7ca95b766e008de03e8c..1c215e18c9cd43eeb148d4315f256744497a69b6 100644 (file)
@@ -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.