diff --git a/dev-python/django-prometheus/django-prometheus-2.0.0.ebuild b/dev-python/django-prometheus/django-prometheus-2.0.0.ebuild index a745970dbcd7c..09c740ab364b8 100644 --- a/dev-python/django-prometheus/django-prometheus-2.0.0.ebuild +++ b/dev-python/django-prometheus/django-prometheus-2.0.0.ebuild @@ -18,6 +18,6 @@ DEPEND=">=dev-python/prometheus_client-0.7[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" python_prepare_all() { - sed -i "s/'pytest-runner'//" setup.py || die + sed -i "/pytest-runner/d" setup.py || die distutils-r1_python_prepare_all }