1 |
commit: 761e0e4f1f0f8fbe4fbe8be852c78b60e46ec603 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 18 07:56:47 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 28 09:14:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=761e0e4f |
7 |
|
8 |
dev-python/clang-python: Utilize partial checkout |
9 |
|
10 |
dev-python/clang-python/clang-python-5.0.9999.ebuild | 5 +++++ |
11 |
dev-python/clang-python/clang-python-9999.ebuild | 5 +++++ |
12 |
2 files changed, 10 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/clang-python/clang-python-5.0.9999.ebuild b/dev-python/clang-python/clang-python-5.0.9999.ebuild |
15 |
index 3310c5b2e31..6741f963680 100644 |
16 |
--- a/dev-python/clang-python/clang-python-5.0.9999.ebuild |
17 |
+++ b/dev-python/clang-python/clang-python-5.0.9999.ebuild |
18 |
@@ -31,6 +31,11 @@ DEPEND="${RDEPEND} |
19 |
|
20 |
S=${WORKDIR}/${P}/bindings/python |
21 |
|
22 |
+src_unpack() { |
23 |
+ git-r3_fetch |
24 |
+ git-r3_checkout '' '' '' bindings/python |
25 |
+} |
26 |
+ |
27 |
src_test() { |
28 |
python_foreach_impl nosetests -v || die |
29 |
} |
30 |
|
31 |
diff --git a/dev-python/clang-python/clang-python-9999.ebuild b/dev-python/clang-python/clang-python-9999.ebuild |
32 |
index 854d44c3f77..d59b5b98bb8 100644 |
33 |
--- a/dev-python/clang-python/clang-python-9999.ebuild |
34 |
+++ b/dev-python/clang-python/clang-python-9999.ebuild |
35 |
@@ -29,6 +29,11 @@ DEPEND="${RDEPEND}" |
36 |
|
37 |
S=${WORKDIR}/${P}/bindings/python |
38 |
|
39 |
+src_unpack() { |
40 |
+ git-r3_fetch |
41 |
+ git-r3_checkout '' '' '' bindings/python |
42 |
+} |
43 |
+ |
44 |
src_test() { |
45 |
python_foreach_impl python -m unittest discover -v || die |
46 |
} |