From: automorphism88 Date: Sun, 28 May 2017 01:04:48 +0000 (-0700) Subject: app-backup/buttersink: dev-python/flake8 only required for tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9941e84f44321cb59d4866969a05b4c1fd7bb468;p=gentoo.git app-backup/buttersink: dev-python/flake8 only required for tests Closes: https://github.com/gentoo/gentoo/pull/4783 --- 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