1 |
commit: 9941e84f44321cb59d4866969a05b4c1fd7bb468 |
2 |
Author: automorphism88 <adebeus <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 28 01:04:48 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 4 17:20:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9941e84f |
7 |
|
8 |
app-backup/buttersink: dev-python/flake8 only required for tests |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/4783 |
11 |
|
12 |
app-backup/buttersink/buttersink-0.6.8.ebuild | 5 +++-- |
13 |
app-backup/buttersink/buttersink-9999.ebuild | 5 +++-- |
14 |
2 files changed, 6 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/app-backup/buttersink/buttersink-0.6.8.ebuild b/app-backup/buttersink/buttersink-0.6.8.ebuild |
17 |
index 44802d17a6e..998f4d7a31d 100644 |
18 |
--- a/app-backup/buttersink/buttersink-0.6.8.ebuild |
19 |
+++ b/app-backup/buttersink/buttersink-0.6.8.ebuild |
20 |
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/AmesCornish/buttersink" |
21 |
|
22 |
LICENSE="GPL-3" |
23 |
SLOT=0 |
24 |
+IUSE="test" |
25 |
|
26 |
# local tests would require root and cause sandbox issues with btrfs subvolume |
27 |
# operations, and network tests would require an SSH server with root login to |
28 |
@@ -30,10 +31,10 @@ fi |
29 |
RDEPEND="${PYTHON_DEPS} |
30 |
dev-python/boto[${PYTHON_USEDEP}] |
31 |
dev-python/crcmod[${PYTHON_USEDEP}] |
32 |
- dev-python/flake8[${PYTHON_USEDEP}] |
33 |
dev-python/psutil[${PYTHON_USEDEP}] |
34 |
sys-fs/btrfs-progs" |
35 |
-DEPEND="${RDEPEND}" |
36 |
+DEPEND="${RDEPEND} |
37 |
+ test? ( dev-python/flake8[${PYTHON_USEDEP}] )" |
38 |
|
39 |
python_prepare_all() { |
40 |
if [[ ${PV} == 9999 ]] ; then |
41 |
|
42 |
diff --git a/app-backup/buttersink/buttersink-9999.ebuild b/app-backup/buttersink/buttersink-9999.ebuild |
43 |
index 44802d17a6e..998f4d7a31d 100644 |
44 |
--- a/app-backup/buttersink/buttersink-9999.ebuild |
45 |
+++ b/app-backup/buttersink/buttersink-9999.ebuild |
46 |
@@ -11,6 +11,7 @@ HOMEPAGE="https://github.com/AmesCornish/buttersink" |
47 |
|
48 |
LICENSE="GPL-3" |
49 |
SLOT=0 |
50 |
+IUSE="test" |
51 |
|
52 |
# local tests would require root and cause sandbox issues with btrfs subvolume |
53 |
# operations, and network tests would require an SSH server with root login to |
54 |
@@ -30,10 +31,10 @@ fi |
55 |
RDEPEND="${PYTHON_DEPS} |
56 |
dev-python/boto[${PYTHON_USEDEP}] |
57 |
dev-python/crcmod[${PYTHON_USEDEP}] |
58 |
- dev-python/flake8[${PYTHON_USEDEP}] |
59 |
dev-python/psutil[${PYTHON_USEDEP}] |
60 |
sys-fs/btrfs-progs" |
61 |
-DEPEND="${RDEPEND}" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ test? ( dev-python/flake8[${PYTHON_USEDEP}] )" |
64 |
|
65 |
python_prepare_all() { |
66 |
if [[ ${PV} == 9999 ]] ; then |