gnu: emacs-flycheck-grammalecte: Improve package style.

* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte)[arguments]Use
G-expressions.
<#:exclude>: Remove non-existing excluded file.
<#:emacs>: Use EMACS-NO-X.
<#:phases>: Use G-expressions.

Change-Id: Ic5a3c5e3f5271e75cd369cdd40ce210d7c2b859b
This commit is contained in:
Nicolas Goaziou 2023-11-14 13:02:45 +01:00
parent a572e55ea5
commit b5d419b4ab
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -8360,11 +8360,11 @@ for Flow files.")
(base32 "0vsf0zsqqfaarwq1k34kg5sqgywzr6dklqv093imm9q6ys18p8c4"))))
(build-system emacs-build-system)
(arguments
`(#:include (cons "\\.py$" %default-include)
#:exclude '("^test-profile.el$")
#:emacs ,emacs ;need libxml support
(list
#:include #~(cons "\\.py$" %default-include)
#:emacs emacs-no-x ;need libxml support
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-after 'unpack 'specify-python-location
;; Hard-code python3 executable location in the library.
(lambda* (#:key inputs #:allow-other-keys)
@ -8382,7 +8382,7 @@ for Flow files.")
(search-input-directory
inputs
(string-append "lib/python"
,(version-major+minor (package-version python))
#$(version-major+minor (package-version python))
"/site-packages/grammalecte"))))))
(add-after 'unpack 'do-not-phone-home
;; Do not check for Grammalecte updates, ever.