1 |
commit: c3ed2b3c9825c2a16cf2515b079aac75a86eb9ab |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 29 17:50:53 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 29 17:51:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ed2b3c |
7 |
|
8 |
dev-python/reflink: correct dep on pytest-runner |
9 |
|
10 |
Closes: https://bugs.gentoo.org/676848 |
11 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
dev-python/reflink/files/0.2.1-correct-test-deps.patch | 17 +++++++++++++++++ |
15 |
dev-python/reflink/reflink-0.2.1.ebuild | 2 ++ |
16 |
2 files changed, 19 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/reflink/files/0.2.1-correct-test-deps.patch b/dev-python/reflink/files/0.2.1-correct-test-deps.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..78b1ef8fd94 |
21 |
--- /dev/null |
22 |
+++ b/dev-python/reflink/files/0.2.1-correct-test-deps.patch |
23 |
@@ -0,0 +1,17 @@ |
24 |
+diff --git a/setup.py b/setup.py |
25 |
+index 234c92b..3ef3237 100644 |
26 |
+--- a/setup.py |
27 |
++++ b/setup.py |
28 |
+@@ -20,11 +20,11 @@ requirements = [ |
29 |
+ |
30 |
+ setup_requirements = [ |
31 |
+ 'cffi', |
32 |
+- 'pytest-runner', |
33 |
+ ] |
34 |
+ |
35 |
+ test_requirements = [ |
36 |
+ 'pytest', |
37 |
++ 'pytest-runner', |
38 |
+ ] |
39 |
+ |
40 |
+ if sys.platform not in ['linux', 'linux2', 'win32', 'darwin']: |
41 |
|
42 |
diff --git a/dev-python/reflink/reflink-0.2.1.ebuild b/dev-python/reflink/reflink-0.2.1.ebuild |
43 |
index 8c8c593ccf5..59c051cb194 100644 |
44 |
--- a/dev-python/reflink/reflink-0.2.1.ebuild |
45 |
+++ b/dev-python/reflink/reflink-0.2.1.ebuild |
46 |
@@ -30,6 +30,8 @@ DEPEND="${RDEPEND}" |
47 |
# goes places, like writing to /dev or creating btrfs volumes |
48 |
RESTRICT="test" |
49 |
|
50 |
+PATCHES=( "${FILESDIR}/${PV}-correct-test-deps.patch" ) |
51 |
+ |
52 |
python_compile_all() { |
53 |
use doc && emake -C docs html |
54 |
} |