1 |
commit: 64a9702a67f63b58a159139bbe395595c864404a |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 2 13:14:16 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 2 13:14:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a9702a |
7 |
|
8 |
dev-util/buildbot-prometheus: Drop dependency on pip |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
...rometheus-17.7.2.ebuild => buildbot-prometheus-17.7.2-r1.ebuild} | 6 +++++- |
13 |
dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild | 6 +++++- |
14 |
2 files changed, 10 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild |
17 |
similarity index 75% |
18 |
copy from dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild |
19 |
copy to dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild |
20 |
index e84caf19914..a930624175f 100644 |
21 |
--- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild |
22 |
+++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild |
23 |
@@ -18,5 +18,9 @@ IUSE="" |
24 |
RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}] |
25 |
dev-util/buildbot[${PYTHON_USEDEP}]" |
26 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
27 |
- dev-python/pip[${PYTHON_USEDEP}] |
28 |
${RDEPEND}" |
29 |
+ |
30 |
+python_prepare_all() { |
31 |
+ sed -i -e "/^install_reqs.*$/d" -e "/^from pip.*$/d" -e "s/requires = .*/requires = ['buildbot', 'prometheus_client']/" setup.py || die |
32 |
+ distutils-r1_python_prepare_all |
33 |
+} |
34 |
|
35 |
diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild |
36 |
index e84caf19914..a930624175f 100644 |
37 |
--- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild |
38 |
+++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild |
39 |
@@ -18,5 +18,9 @@ IUSE="" |
40 |
RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}] |
41 |
dev-util/buildbot[${PYTHON_USEDEP}]" |
42 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
43 |
- dev-python/pip[${PYTHON_USEDEP}] |
44 |
${RDEPEND}" |
45 |
+ |
46 |
+python_prepare_all() { |
47 |
+ sed -i -e "/^install_reqs.*$/d" -e "/^from pip.*$/d" -e "s/requires = .*/requires = ['buildbot', 'prometheus_client']/" setup.py || die |
48 |
+ distutils-r1_python_prepare_all |
49 |
+} |