gnu: toot: Don't install the Makefile.

* gnu/packages/mastodon.scm (toot)[arguments]: Add custom phase to
prevent installing data_files.
master
Efraim Flashner 2019-06-25 19:09:51 +03:00
parent 31263ec227
commit 8566d8793b
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 0 deletions

View File

@ -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)