dev-python/lit: Utilize partial git checkout
authorMichał Górny <mgorny@gentoo.org>
Sat, 18 Nov 2017 07:50:31 +0000 (08:50 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 28 Nov 2017 09:14:17 +0000 (10:14 +0100)
dev-python/lit/lit-5.0.9999.ebuild
dev-python/lit/lit-9999.ebuild

index 61b9ce3ec02138b7547198cfcb3077a6fd56d5ac..6d9f12eb032a91408c2bb7ea0f6b58685a03e71c 100644 (file)
@@ -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
 }
index 063e1421607b9438df162e97f0d3f07b2d686a79..d8c140474d8d486a9cd2c05b7ee58a86a5cd426c 100644 (file)
@@ -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
 }