aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-03-22 11:55:39 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2019-03-22 12:00:08 +0100
commit6a715a00d306fe2fe6bca3be31b209bf7ea9bf01 (patch)
tree6129e79b465fd3c90dec6d7a86bdfcc64f20a4e9 /gnu/packages
parent03fb5ff6ae01a680c786d9ee148839543c519411 (diff)
downloadpatches-6a715a00d306fe2fe6bca3be31b209bf7ea9bf01.tar
patches-6a715a00d306fe2fe6bca3be31b209bf7ea9bf01.tar.gz
gnu: libgit2: Add comments.
* gnu/packages/patches/libgit2-avoid-python.patch: Add comments.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/patches/libgit2-avoid-python.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/patches/libgit2-avoid-python.patch b/gnu/packages/patches/libgit2-avoid-python.patch
index c850974404..b2e5141563 100644
--- a/gnu/packages/patches/libgit2-avoid-python.patch
+++ b/gnu/packages/patches/libgit2-avoid-python.patch
@@ -1,3 +1,21 @@
+This provides a Guile reimplementation of clar's "generate.py".
+It makes it possible for us to remove Python from libgit2's build-time
+dependencies.
+libgit2 is used in order to fetch a lot of sources for guix packages.
+Both Python2 and Python3 builds acted up in the past.
+Hence this patch which makes the number of libgit2 dependencies very
+small.
+The reimplementation tries to keep as close as possible to the original
+in both structure and runtime effect. Some things are thus overly
+convoluted just to make them the same as in the original.
+
+Both implementations basically do:
+
+grep -r 'test_.*__.*' . > clar.suite
+
+It is important that the directory traversal order of the original and
+the reimplementation stay the same.
+
diff -ruN orig/libgit2-0.27.7/tests/CMakeLists.txt libgit2-0.27.7/tests/CMakeLists.txt
--- orig/libgit2-0.27.7/tests/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
+++ libgit2-0.27.7/tests/CMakeLists.txt 2019-03-04 11:13:06.640118979 +0100