1 |
commit: 5313553d2d098fe302993f715f23f77998707d20 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 18 07:50:31 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 28 09:14:17 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5313553d |
7 |
|
8 |
dev-python/lit: Utilize partial git checkout |
9 |
|
10 |
dev-python/lit/lit-5.0.9999.ebuild | 5 +++++ |
11 |
dev-python/lit/lit-9999.ebuild | 5 +++++ |
12 |
2 files changed, 10 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/lit/lit-5.0.9999.ebuild b/dev-python/lit/lit-5.0.9999.ebuild |
15 |
index 61b9ce3ec02..6d9f12eb032 100644 |
16 |
--- a/dev-python/lit/lit-5.0.9999.ebuild |
17 |
+++ b/dev-python/lit/lit-5.0.9999.ebuild |
18 |
@@ -29,6 +29,11 @@ DEPEND=" |
19 |
|
20 |
# TODO: move the manpage generation here (from sys-devel/llvm) |
21 |
|
22 |
+src_unpack() { |
23 |
+ git-r3_fetch |
24 |
+ git-r3_checkout '' '' '' utils/lit |
25 |
+} |
26 |
+ |
27 |
python_test() { |
28 |
./lit.py -sv tests || die |
29 |
} |
30 |
|
31 |
diff --git a/dev-python/lit/lit-9999.ebuild b/dev-python/lit/lit-9999.ebuild |
32 |
index 063e1421607..d8c140474d8 100644 |
33 |
--- a/dev-python/lit/lit-9999.ebuild |
34 |
+++ b/dev-python/lit/lit-9999.ebuild |
35 |
@@ -28,6 +28,11 @@ DEPEND=" |
36 |
|
37 |
# TODO: move the manpage generation here (from sys-devel/llvm) |
38 |
|
39 |
+src_unpack() { |
40 |
+ git-r3_fetch |
41 |
+ git-r3_checkout '' '' '' utils/lit |
42 |
+} |
43 |
+ |
44 |
python_test() { |
45 |
./lit.py -vv tests || die |
46 |
} |