commit:     9941e84f44321cb59d4866969a05b4c1fd7bb468
Author:     automorphism88 <adebeus <AT> gmail <DOT> com>
AuthorDate: Sun May 28 01:04:48 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 17:20:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9941e84f

app-backup/buttersink: dev-python/flake8 only required for tests

Closes: https://github.com/gentoo/gentoo/pull/4783

 app-backup/buttersink/buttersink-0.6.8.ebuild | 5 +++--
 app-backup/buttersink/buttersink-9999.ebuild  | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-backup/buttersink/buttersink-0.6.8.ebuild 
b/app-backup/buttersink/buttersink-0.6.8.ebuild
index 44802d17a6e..998f4d7a31d 100644
--- a/app-backup/buttersink/buttersink-0.6.8.ebuild
+++ b/app-backup/buttersink/buttersink-0.6.8.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/AmesCornish/buttersink";
 
 LICENSE="GPL-3"
 SLOT=0
+IUSE="test"
 
 # local tests would require root and cause sandbox issues with btrfs subvolume
 # operations, and network tests would require an SSH server with root login to
@@ -30,10 +31,10 @@ fi
 RDEPEND="${PYTHON_DEPS}
        dev-python/boto[${PYTHON_USEDEP}]
        dev-python/crcmod[${PYTHON_USEDEP}]
-       dev-python/flake8[${PYTHON_USEDEP}]
        dev-python/psutil[${PYTHON_USEDEP}]
        sys-fs/btrfs-progs"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+       test? ( dev-python/flake8[${PYTHON_USEDEP}] )"
 
 python_prepare_all() {
        if [[ ${PV} == 9999 ]] ; then

diff --git a/app-backup/buttersink/buttersink-9999.ebuild 
b/app-backup/buttersink/buttersink-9999.ebuild
index 44802d17a6e..998f4d7a31d 100644
--- a/app-backup/buttersink/buttersink-9999.ebuild
+++ b/app-backup/buttersink/buttersink-9999.ebuild
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/AmesCornish/buttersink";
 
 LICENSE="GPL-3"
 SLOT=0
+IUSE="test"
 
 # local tests would require root and cause sandbox issues with btrfs subvolume
 # operations, and network tests would require an SSH server with root login to
@@ -30,10 +31,10 @@ fi
 RDEPEND="${PYTHON_DEPS}
        dev-python/boto[${PYTHON_USEDEP}]
        dev-python/crcmod[${PYTHON_USEDEP}]
-       dev-python/flake8[${PYTHON_USEDEP}]
        dev-python/psutil[${PYTHON_USEDEP}]
        sys-fs/btrfs-progs"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+       test? ( dev-python/flake8[${PYTHON_USEDEP}] )"
 
 python_prepare_all() {
        if [[ ${PV} == 9999 ]] ; then

Reply via email to