summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorautomorphism88 <adebeus@gmail.com>2017-05-27 18:04:48 -0700
committerMichał Górny <mgorny@gentoo.org>2017-06-04 19:20:47 +0200
commit9941e84f44321cb59d4866969a05b4c1fd7bb468 (patch)
treeee3c98a20cf86a0152f3dfa511e0f8de78c5df2b /app-backup/buttersink
parentmedia-plugins/vdr-ddci2: version bump to 1.0.5 (diff)
downloadgentoo-9941e84f44321cb59d4866969a05b4c1fd7bb468.tar.gz
gentoo-9941e84f44321cb59d4866969a05b4c1fd7bb468.tar.bz2
gentoo-9941e84f44321cb59d4866969a05b4c1fd7bb468.zip
app-backup/buttersink: dev-python/flake8 only required for tests
Closes: https://github.com/gentoo/gentoo/pull/4783
Diffstat (limited to 'app-backup/buttersink')
-rw-r--r--app-backup/buttersink/buttersink-0.6.8.ebuild5
-rw-r--r--app-backup/buttersink/buttersink-9999.ebuild5
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 44802d17a6e9..998f4d7a31d8 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 44802d17a6e9..998f4d7a31d8 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