dev-python/pytest: Remove obsolete logic

Remove obsolete chmod and sed that are not doing anything these days.
This commit is contained in:
Michał Górny
2018-07-11 19:44:16 +02:00
parent 7b2ed36e6a
commit d670c98ba4

View 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.