[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: toot: Don't install the Makefile.
From: |
guix-commits |
Subject: |
01/03: gnu: toot: Don't install the Makefile. |
Date: |
Tue, 25 Jun 2019 12:48:11 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 8566d8793b005ae8ee2bf63b8817b301c94849cb
Author: Efraim Flashner <address@hidden>
Date: Tue Jun 25 19:09:51 2019 +0300
gnu: toot: Don't install the Makefile.
* gnu/packages/mastodon.scm (toot)[arguments]: Add custom phase to
prevent installing data_files.
---
gnu/packages/mastodon.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm
index 028745f..cd12f5a 100644
--- a/gnu/packages/mastodon.scm
+++ b/gnu/packages/mastodon.scm
@@ -42,6 +42,12 @@
'(#:phases
(modify-phases %standard-phases
(delete 'check)
+ ;; see https://github.com/ihabunek/toot/issues/91
+ (add-after 'unpack 'dont-install-Makefile
+ (lambda _
+ (substitute* "setup.py"
+ (("data_files.*" all) ""))
+ #t))
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)