summaryrefslogtreecommitdiff
path: root/app-emacs/flycheck/files
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa+gentoo@gmail.com>2024-02-13 17:18:15 -0500
committerJohn Turner <jturner.usa+gentoo@gmail.com>2024-02-13 17:18:56 -0500
commitfcf6ad06a8776a164876270a5b14bde4c91a0621 (patch)
tree478c36e115e01fde599ce86452792ebb7b9add40 /app-emacs/flycheck/files
parent21b2f027601bf63b4aecf144239d685b1ff2c51e (diff)
downloadebuilds-fcf6ad06a8776a164876270a5b14bde4c91a0621.tar.gz
app-emacs/flycheck: create flycheck-33.1_p20240213.ebuild
This commit allows dropping pkg-info as a dependency!
Diffstat (limited to 'app-emacs/flycheck/files')
-rw-r--r--app-emacs/flycheck/files/50flycheck-gentoo-r1.el2
-rw-r--r--app-emacs/flycheck/files/50flycheck-gentoo.el2
-rw-r--r--app-emacs/flycheck/files/flycheck-32_p20220328-no-pkg-info.diff37
-rw-r--r--app-emacs/flycheck/files/flycheck-32_p20230305-no-pkg-info.diff41
4 files changed, 2 insertions, 80 deletions
diff --git a/app-emacs/flycheck/files/50flycheck-gentoo-r1.el b/app-emacs/flycheck/files/50flycheck-gentoo-r1.el
new file mode 100644
index 0000000..84a054e
--- /dev/null
+++ b/app-emacs/flycheck/files/50flycheck-gentoo-r1.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/flycheck-autoloads" nil t)
diff --git a/app-emacs/flycheck/files/50flycheck-gentoo.el b/app-emacs/flycheck/files/50flycheck-gentoo.el
deleted file mode 100644
index 46ab676..0000000
--- a/app-emacs/flycheck/files/50flycheck-gentoo.el
+++ /dev/null
@@ -1,2 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-(load "@SITELISP@/flycheck-autoloads")
diff --git a/app-emacs/flycheck/files/flycheck-32_p20220328-no-pkg-info.diff b/app-emacs/flycheck/files/flycheck-32_p20220328-no-pkg-info.diff
deleted file mode 100644
index c35e6d0..0000000
--- a/app-emacs/flycheck/files/flycheck-32_p20220328-no-pkg-info.diff
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/flycheck.el
-+++ b/flycheck.el
-@@ -10,7 +10,7 @@
- ;; URL: http://www.flycheck.org
- ;; Keywords: convenience, languages, tools
- ;; Version: 32
--;; Package-Requires: ((dash "2.12.1") (pkg-info "0.4") (let-alist "1.0.4") (seq "1.11") (emacs "24.3"))
-+;; Package-Requires: ((dash "2.12.1") (let-alist "1.0.4") (seq "1.11") (emacs "24.3"))
-
- ;; This file is not part of GNU Emacs.
-
-@@ -81,15 +81,13 @@
- (require 'find-func) ; `find-function-regexp-alist'
- (require 'json) ; `flycheck-parse-tslint'
- (require 'ansi-color) ; `flycheck-parse-with-patterns-without-color'
-+(require 'lisp-mnt) ; `lm-version'
-
-
- ;; Declare a bunch of dynamic variables that we need from other modes
- (defvar sh-shell) ; For shell script checker predicates
- (defvar ess-language) ; For r-lintr predicate
-
--;; Tell the byte compiler about autoloaded functions from packages
--(declare-function pkg-info-version-info "pkg-info" (package))
--
-
- ;;; Compatibility
- (eval-and-compile
-@@ -1275,7 +1273,7 @@
- if called interactively, or if SHOW-VERSION is non-nil, otherwise
- just return nil."
- (interactive (list t))
-- (let ((version (pkg-info-version-info 'flycheck)))
-+ (let ((version (lm-version (find-library-name "flycheck"))))
- (when show-version
- (message "Flycheck version: %s" version))
- version))
diff --git a/app-emacs/flycheck/files/flycheck-32_p20230305-no-pkg-info.diff b/app-emacs/flycheck/files/flycheck-32_p20230305-no-pkg-info.diff
deleted file mode 100644
index e205510..0000000
--- a/app-emacs/flycheck/files/flycheck-32_p20230305-no-pkg-info.diff
+++ /dev/null
@@ -1,41 +0,0 @@
-diff --git a/flycheck.el b/flycheck.el
-index a364b000..cca47864 100644
---- a/flycheck.el
-+++ b/flycheck.el
-@@ -10,7 +10,7 @@
- ;; URL: http://www.flycheck.org
- ;; Keywords: convenience, languages, tools
- ;; Version: 33-cvs
--;; Package-Requires: ((emacs "25.1") (dash "2.12.1") (pkg-info "0.4") (let-alist "1.0.4") (seq "1.11"))
-+;; Package-Requires: ((emacs "25.1") (dash "2.12.1") (let-alist "1.0.4") (seq "1.11"))
-
- ;; This file is not part of GNU Emacs.
-
-@@ -81,7 +81,7 @@
- (require 'find-func) ; `find-function-regexp-alist'
- (require 'json) ; `flycheck-parse-tslint'
- (require 'ansi-color) ; `flycheck-parse-with-patterns-without-color'
--
-+(require 'lisp-mnt)
-
- ;; Declare a bunch of dynamic variables that we need from other modes
- (defvar sh-shell) ; For shell script checker predicates
-@@ -90,9 +90,6 @@
- (defvar markdown-fontify-code-block-default-mode) ; For rust-error-explainer
- (defvar markdown-fontify-code-blocks-natively) ;
-
--;; Tell the byte compiler about autoloaded functions from packages
--(declare-function pkg-info-version-info "pkg-info" (package))
--
-
- ;;; Compatibility
- (eval-and-compile
-@@ -1287,7 +1284,7 @@ If the version number could not be determined, signal an error,
- if called interactively, or if SHOW-VERSION is non-nil, otherwise
- just return nil."
- (interactive (list t))
-- (let ((version (pkg-info-version-info 'flycheck)))
-+ (let ((version (lm-version (find-library-name "flycheck"))))
- (when show-version
- (message "Flycheck version: %s" version))
- version))