From 45c4bb10e4e7f1400add59dcd6d0c72be0d0ebbf Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 27 Jul 2020 11:22:23 +0200 Subject: [PATCH] gnu: emacs-company: Update to 0.9.13. * gnu/packages/emacs-xyz.scm (emacs-company): Update to 0.9.13. [source]: Use GNU ELPA URL. [arguments]: Remove section. --- gnu/packages/emacs-xyz.scm | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8aaa92e1b2..adfddaa6d2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4527,31 +4527,15 @@ (define-public emacs-butler (define-public emacs-company (package (name "emacs-company") - (version "0.9.12") + (version "0.9.13") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/company-mode/company-mode") - (commit version))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/" + "company-" version ".tar")) (sha256 - (base32 "0c31amc6gyfkmb1ii6mm56c75za1yxkj2iyhrjc45nn2mrh7yj7a")))) + (base32 "1c9x9wlzzsn7vrsm57l2l44nqx455saa6wrm853szzg09qn8dlnw")))) (build-system emacs-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'fix-bin-dir - (lambda _ - ;; The company-files-candidates-normal-root test looks - ;; for the /bin directory, but the build environment has - ;; no /bin directory. Modify the test to look for the - ;; /tmp directory. - (substitute* "test/files-tests.el" - (("/bin/") "/tmp/")) - #t))) - #:tests? #t - #:test-command '("make" "test-batch"))) (home-page "https://company-mode.github.io/") (synopsis "Modular text completion framework") (description