summaryrefslogtreecommitdiff
path: root/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild')
-rw-r--r--dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild
index a930624175f3..f6c6bd792ce5 100644
--- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild
+++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild
@@ -20,6 +20,10 @@ RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}]
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${RDEPEND}"
+PATCHES=(
+ "$FILESDIR}/buildbot-prometheus-17.7.2-Migrate-duration-calculations-to-buildbot-09.patch"
+)
+
python_prepare_all() {
sed -i -e "/^install_reqs.*$/d" -e "/^from pip.*$/d" -e "s/requires = .*/requires = ['buildbot', 'prometheus_client']/" setup.py || die
distutils-r1_python_prepare_all