From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/diamond/
Date: Sun, 3 Dec 2017 11:27:05 +0000 (UTC) [thread overview]
Message-ID: <1512300410.c5dea8a8747baaf3792c03dd2f8bc297ad1da531.grobian@gentoo> (raw)
commit: c5dea8a8747baaf3792c03dd2f8bc297ad1da531
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 3 11:26:19 2017 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 3 11:26:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5dea8a8
app-admin/diamond: fix tests, bug #639586
Closes: https://bugs.gentoo.org/639586
Package-Manager: Portage-2.3.13, Repoman-2.3.3
app-admin/diamond/Manifest | 4 ++--
app-admin/diamond/diamond-4.0.515.ebuild | 9 ++++++++-
app-admin/diamond/diamond-9999.ebuild | 11 +++++++++--
3 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/app-admin/diamond/Manifest b/app-admin/diamond/Manifest
index 3ca8ebfc740..3cfe85f452f 100644
--- a/app-admin/diamond/Manifest
+++ b/app-admin/diamond/Manifest
@@ -1,2 +1,2 @@
-DIST python-diamond-4.0.515.tar.gz 620337 SHA256 3e8a1ff06b18d70a850d10689b3c8e041e91237aa8dee16db824ec368c04949f SHA512 8516e46f4f75400a55ca0127789344a897fc7cd6c10f0f8379d30db58de5a09ae676e340371cdf1a0c9ca894fd355699a1a0f430bfad148e32157d5eb97aaef5 WHIRLPOOL 39fe60e68b28e706a615c9b6068384b2ffac0710d06f26988341e1f032db4558d0018d7d746c7eef12ad0c0e04969decddd839f6cdc7fc1c01aca31c91e2591e
-DIST python-diamond-4.0.tar.gz 491433 SHA256 e84dd3c87b230d524306a07c3fc7c1db1d9796e3748025e8345a4fa18b162256 SHA512 c4a6e63bdc55f9e0ac2fbf3b644be91662635c08ecc864dfaaebf2fe62fb45609c099da63efd93ed498d2dc9e95bbcb64be09f715e21d59b30bce958a96dc56b WHIRLPOOL 2b1f6124001183058cf282d6e9c51bba0878f26308731266f2c31c549bb42db945c579b49b5a34666e0c05ccbda0163135662a11e59a482f8ef031c49c6005ba
+DIST python-diamond-4.0.515.tar.gz 620337 BLAKE2B 8df675f7e91086dc6e98166c3f6c25c7837bd53f720cd0dfdf05a1dd2954aaa190bfe8844d01acfcdf46d5be917c29c0e231f2b433a648d6dcc1f34e2c617d91 SHA512 8516e46f4f75400a55ca0127789344a897fc7cd6c10f0f8379d30db58de5a09ae676e340371cdf1a0c9ca894fd355699a1a0f430bfad148e32157d5eb97aaef5
+DIST python-diamond-4.0.tar.gz 491433 BLAKE2B ddf678b758b046b80fe347c2cd8ce2fec46f03e65415735d88969d66dc05466730e52df9e8efc27e3a3bff13862c4efcc393de6d05ec6d350e3912a706d298cb SHA512 c4a6e63bdc55f9e0ac2fbf3b644be91662635c08ecc864dfaaebf2fe62fb45609c099da63efd93ed498d2dc9e95bbcb64be09f715e21d59b30bce958a96dc56b
diff --git a/app-admin/diamond/diamond-4.0.515.ebuild b/app-admin/diamond/diamond-4.0.515.ebuild
index a10298e45b4..6c874d48ed2 100644
--- a/app-admin/diamond/diamond-4.0.515.ebuild
+++ b/app-admin/diamond/diamond-4.0.515.ebuild
@@ -32,7 +32,10 @@ RDEPEND="dev-python/configobj
redis? ( dev-python/redis-py )
!kernel_linux? ( >=dev-python/psutil-3 )"
DEPEND="${RDEPEND}
- test? ( dev-python/mock )"
+ test? (
+ dev-python/mock
+ dev-python/pysnmp
+ )"
src_prepare() {
# adjust for Prefix
@@ -48,6 +51,10 @@ src_prepare() {
}
python_test() {
+ # don't want to depend on docker for just this
+ mv src/collectors/docker_collector/test/{test,no}docker_collector.py || die
+ # fails on binding ports
+ mv src/collectors/portstat/tests/{test,no}_portstat.py || die
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}"
}
diff --git a/app-admin/diamond/diamond-9999.ebuild b/app-admin/diamond/diamond-9999.ebuild
index c37ee683c29..57df76bc074 100644
--- a/app-admin/diamond/diamond-9999.ebuild
+++ b/app-admin/diamond/diamond-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -32,7 +32,10 @@ RDEPEND="dev-python/configobj
redis? ( dev-python/redis-py )
!kernel_linux? ( >=dev-python/psutil-3 )"
DEPEND="${RDEPEND}
- test? ( dev-python/mock )"
+ test? (
+ dev-python/mock
+ dev-python/pysnmp
+ )"
src_prepare() {
# adjust for Prefix
@@ -42,6 +45,10 @@ src_prepare() {
}
python_test() {
+ # don't want to depend on docker for just this
+ mv src/collectors/docker_collector/test/{test,no}docker_collector.py || die
+ # fails on binding ports
+ mv src/collectors/portstat/tests/{test,no}_portstat.py || die
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}"
}
next reply other threads:[~2017-12-03 11:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-03 11:27 Fabian Groffen [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-06 12:46 [gentoo-commits] repo/gentoo:master commit in: app-admin/diamond/ Fabian Groffen
2020-06-21 11:04 Fabian Groffen
2020-06-21 6:23 Michał Górny
2020-04-25 17:52 Fabian Groffen
2020-02-10 10:02 Fabian Groffen
2020-02-10 8:18 Agostino Sarubbo
2020-02-09 8:43 Mikle Kolyada
2019-12-10 20:15 Aaron Bauman
2019-12-08 10:31 Fabian Groffen
2019-12-07 14:38 Fabian Groffen
2019-06-21 11:07 Agostino Sarubbo
2019-06-20 18:06 Mikle Kolyada
2019-02-21 18:37 Fabian Groffen
2017-09-17 9:59 Fabian Groffen
2017-07-11 9:22 Fabian Groffen
2017-05-09 9:42 Mikle Kolyada
2016-08-02 18:47 Fabian Groffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1512300410.c5dea8a8747baaf3792c03dd2f8bc297ad1da531.grobian@gentoo \
--to=grobian@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox