From: John Turner Date: Tue, 29 Mar 2022 02:37:58 +0000 (-0400) Subject: app-emacs/flycheck: removed my patched version of flycheck for now X-Git-Url: https://jturnerusa.dev/gitweb/?a=commitdiff_plain;h=d0a72aa75f79fea9169db6eba70bf9b72ac86896;p=ebuilds app-emacs/flycheck: removed my patched version of flycheck for now --- diff --git a/app-emacs/flycheck/Manifest b/app-emacs/flycheck/Manifest deleted file mode 100644 index 5195b9b..0000000 --- a/app-emacs/flycheck/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flycheck-32_p20210825.tar.gz 1042020 BLAKE2B 1663340de24980b3a1e58929e327841b743495dbd5d5c8306f007d0dfa989707015ceadaf6e5cac673eddb45adf9ec05dc35d8cb35af322c9cde6644194dd75d SHA512 472e25956d804e7f7ba8ebda2e3a7527eaaf3aee47fa5bd43a46ae651f94d857657cf4594f5a1ed0c169ec0ac610139956d182818ffeedf2c4132a5583ca870d diff --git a/app-emacs/flycheck/files/50flycheck-gentoo.el b/app-emacs/flycheck/files/50flycheck-gentoo.el deleted file mode 100644 index 5f6c703..0000000 --- a/app-emacs/flycheck/files/50flycheck-gentoo.el +++ /dev/null @@ -1,4 +0,0 @@ -;;; Flycheck site-lisp configuration -(add-to-list 'load-path "@SITELISP@") -(autoload 'flycheck-mode "flycheck" nil t) -(autoload 'global-flycheck-mode "flycheck" nil t) diff --git a/app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff b/app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff deleted file mode 100644 index 2bb67aa..0000000 --- a/app-emacs/flycheck/files/flycheck-32-remove-pkg-info.diff +++ /dev/null @@ -1,44 +0,0 @@ -# Removes pkg-info and epl as depdendencies by replacing functions provided by them with built ins. -# https://github.com/flycheck/flycheck/pull/1818 - - -diff --git a/flycheck.el b/flycheck.el -index e3722fd50..33e667671 100644 ---- a/flycheck.el -+++ b/flycheck.el -@@ -10,7 +10,7 @@ - ;; URL: http://www.flycheck.org - ;; Keywords: convenience, languages, tools - ;; Version: 32-cvs --;; 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. - -@@ -79,6 +79,7 @@ - (require 'rx) ; Regexp fanciness in `flycheck-define-checker' - (require 'help-mode) ; `define-button-type' - (require 'find-func) ; `find-function-regexp-alist' -+(require 'lisp-mnt) ; `lm-version' - (require 'json) ; `flycheck-parse-tslint' - (require 'ansi-color) ; `flycheck-parse-with-patterns-without-color' - -@@ -90,9 +91,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 -@@ -1284,7 +1282,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)) diff --git a/app-emacs/flycheck/flycheck-32_p20210825.ebuild b/app-emacs/flycheck/flycheck-32_p20210825.ebuild deleted file mode 100644 index 8655676..0000000 --- a/app-emacs/flycheck/flycheck-32_p20210825.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -NEED_EMACS="24.3" - -inherit elisp - -if [[ ${PV} = "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/flycheck/flycheck" - EGIT_BRANCH="master" - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}" - S="${EGIT_CHECKOUT_DIR}" -else - if [[ ${PV} = *_p* ]]; then - COMMIT="784f184cdd9f9cb4e3dbb997c09d93e954142842" - SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT}" - else - SRC_URI="https://github.com/flycheck/flycheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - fi - KEYWORDS="~amd64" -fi - -DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs" -HOMEPAGE="https://www.flycheck.org/" - -LICENSE="GPL-3+" -SLOT="0" -RESTRICT="test" # test requires cask and ert-runner which are not packaged yet - -RDEPEND=">=app-emacs/dash-2.12.1" - -SITEFILE="50${PN}-gentoo.el" -PATCHES=( "${FILESDIR}/flycheck-32-remove-pkg-info.diff" ) -DOCS=( README.md CHANGES.rst ) -ELISP_REMOVE="flycheck-buttercup.el flycheck-ert.el" - -src_install() { - elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/ - elisp_src_install -} diff --git a/app-emacs/flycheck/flycheck-9999.ebuild b/app-emacs/flycheck/flycheck-9999.ebuild deleted file mode 100644 index b5f3e38..0000000 --- a/app-emacs/flycheck/flycheck-9999.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -NEED_EMACS="24.3" - -inherit elisp - -if [[ ${PV} = "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/flycheck/flycheck" - EGIT_BRANCH="master" - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}" - S="${EGIT_CHECKOUT_DIR}" -else - COMMIT="784f184cdd9f9cb4e3dbb997c09d93e954142842" - SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT}" - KEYWORDS="~amd64" -fi - -DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs" -HOMEPAGE="https://www.flycheck.org/" - -LICENSE="GPL-3+" -SLOT="0" -RESTRICT="test" # test requires cask and ert-runner which are not packaged yet - -RDEPEND=">=app-emacs/dash-2.12.1" - -SITEFILE="50${PN}-gentoo.el" -PATCHES=( "${FILESDIR}/flycheck-32-remove-pkg-info.diff" ) -DOCS=( README.md CHANGES.rst ) -ELISP_REMOVE="flycheck-buttercup.el flycheck-ert.el" - -src_install() { - elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/ - elisp_src_install -} diff --git a/app-emacs/flycheck/metadata.xml b/app-emacs/flycheck/metadata.xml deleted file mode 100644 index e96ebcf..0000000 --- a/app-emacs/flycheck/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - jturner.usa+gentoo@gmail.com - John Turner - - - proxy-maint@gentoo.org - Proxy Maintainers - - - flycheck/flycheck - https://github.com/flycheck/flycheck/blob/master/README.md - - - Flycheck is a modern on-the-fly syntax checking extension for GNU Emacs, - intended as replacement for the older Flymake extension which is part of GNU Emacs. - -