diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-06-16 23:01:18 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-06-16 23:02:01 +0200 |
commit | 7e19ddd9eb3755216ba80e83d9b087ac168f4149 (patch) | |
tree | 07209ce4b0be7ce3eaba4af94bf145177c06e8e5 /app-emacs/erefactor | |
parent | dev-python/ytmusicapi: bump to 1.1.0 (diff) | |
download | gentoo-7e19ddd9eb3755216ba80e83d9b087ac168f4149.tar.gz gentoo-7e19ddd9eb3755216ba80e83d9b087ac168f4149.tar.bz2 gentoo-7e19ddd9eb3755216ba80e83d9b087ac168f4149.zip |
app-emacs/erefactor: new package; add 0.7.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/erefactor')
-rw-r--r-- | app-emacs/erefactor/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/erefactor/erefactor-0.7.2.ebuild | 29 | ||||
-rw-r--r-- | app-emacs/erefactor/files/50erefactor-gentoo.el | 19 | ||||
-rw-r--r-- | app-emacs/erefactor/metadata.xml | 18 |
4 files changed, 67 insertions, 0 deletions
diff --git a/app-emacs/erefactor/Manifest b/app-emacs/erefactor/Manifest new file mode 100644 index 000000000000..3282110df39f --- /dev/null +++ b/app-emacs/erefactor/Manifest @@ -0,0 +1 @@ +DIST erefactor-0.7.2.tar.gz 12873 BLAKE2B 897caccbdd62817b56bb3237913edc709ca50af966bd7332edab0d0a6523b7623bb77cd2a0a6713fa59f0ea688d4c962f29b19abcce0db4b49d61c721ae2cad4 SHA512 fa6ce709948d169bf6beb1c25f9ecbc87d8d6f0d8fc1ad2972148ba3daee986387888c72aaa9f8813f29421ac31bd5e10a9e75e76b1871b911fefc2663b7c8e6 diff --git a/app-emacs/erefactor/erefactor-0.7.2.ebuild b/app-emacs/erefactor/erefactor-0.7.2.ebuild new file mode 100644 index 000000000000..ec99f2dd42ec --- /dev/null +++ b/app-emacs/erefactor/erefactor-0.7.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Emacs-Lisp refactoring utilities" +HOMEPAGE="https://github.com/mhayashi1120/Emacs-erefactor/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mhayashi1120/Emacs-${PN}.git" +else + [[ ${PV} == 0.7.2 ]] && COMMIT=bfe27a1b8c7cac0fe054e76113e941efa3775fe8 + SRC_URI="https://github.com/mhayashi1120/Emacs-${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/Emacs-${PN}-${COMMIT} + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" + +# NOTE: Not "${PN}-test.el". The test file misses "(require '${PN})". +elisp-enable-tests ert "${S}" -l ${PN}.el diff --git a/app-emacs/erefactor/files/50erefactor-gentoo.el b/app-emacs/erefactor/files/50erefactor-gentoo.el new file mode 100644 index 000000000000..177484615bae --- /dev/null +++ b/app-emacs/erefactor/files/50erefactor-gentoo.el @@ -0,0 +1,19 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'erefactor-add-current-defun "erefactor" + "Add current defun form to `load-history'." t) +(autoload 'erefactor-change-prefix-in-buffer "erefactor" + "Rename symbol prefix with queries." t) +(autoload 'erefactor-check-eval-mode "erefactor" + "Display compiling warnings when \\[eval-last-sexp], \\[eval-defun]" t) +(autoload 'erefactor-eval-current-defun "erefactor" + "Evaluate current defun and add definition to `load-history'." t) +(autoload 'erefactor-highlight-current-symbol "erefactor" + "Highlight current symbol in this buffer." t) +(autoload 'erefactor-lint "erefactor" + "Execuet Elint in new Emacs process." t) +(autoload 'erefactor-lint-by-emacsen "erefactor" + "Execute Elint in new Emacs processes." t) +(autoload 'erefactor-rename-symbol-in-buffer "erefactor" + "Rename symbol at point resolving reference local variable." t) +(autoload 'erefactor-rename-symbol-in-package "erefactor" + "Rename symbol at point with queries." t) diff --git a/app-emacs/erefactor/metadata.xml b/app-emacs/erefactor/metadata.xml new file mode 100644 index 000000000000..cd4c3ed5c6ab --- /dev/null +++ b/app-emacs/erefactor/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <longdescription> + This Emacs package provides convenient methods for manipulating the naming + style of a symbol. It supports different naming conventions such as: camel + case, Pascal case, all upper case, lower case separated by underscore. + </longdescription> + <upstream> + <bugs-to>https://github.com/akicho8/string-inflection/issues/</bugs-to> + <remote-id type="github">akicho8/string-inflection</remote-id> + </upstream> +</pkgmetadata> |