commit:     5313553d2d098fe302993f715f23f77998707d20
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 07:50:31 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 28 09:14:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5313553d

dev-python/lit: Utilize partial git checkout

 dev-python/lit/lit-5.0.9999.ebuild | 5 +++++
 dev-python/lit/lit-9999.ebuild     | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/dev-python/lit/lit-5.0.9999.ebuild 
b/dev-python/lit/lit-5.0.9999.ebuild
index 61b9ce3ec02..6d9f12eb032 100644
--- a/dev-python/lit/lit-5.0.9999.ebuild
+++ b/dev-python/lit/lit-5.0.9999.ebuild
@@ -29,6 +29,11 @@ DEPEND="
 
 # TODO: move the manpage generation here (from sys-devel/llvm)
 
+src_unpack() {
+       git-r3_fetch
+       git-r3_checkout '' '' '' utils/lit
+}
+
 python_test() {
        ./lit.py -sv tests || die
 }

diff --git a/dev-python/lit/lit-9999.ebuild b/dev-python/lit/lit-9999.ebuild
index 063e1421607..d8c140474d8 100644
--- a/dev-python/lit/lit-9999.ebuild
+++ b/dev-python/lit/lit-9999.ebuild
@@ -28,6 +28,11 @@ DEPEND="
 
 # TODO: move the manpage generation here (from sys-devel/llvm)
 
+src_unpack() {
+       git-r3_fetch
+       git-r3_checkout '' '' '' utils/lit
+}
+
 python_test() {
        ./lit.py -vv tests || die
 }

Reply via email to