diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-12 09:56:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-12 09:56:54 +0000 |
commit | ebc282ef4dfa408accac685565b8ee5f6faec119 (patch) | |
tree | c0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /app-emacs/wgrep/wgrep-3.0.0-r1.ebuild | |
parent | 6c8694a707151d59555b0e4e48235f085ce166c3 (diff) |
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'app-emacs/wgrep/wgrep-3.0.0-r1.ebuild')
-rw-r--r-- | app-emacs/wgrep/wgrep-3.0.0-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/wgrep/wgrep-3.0.0-r1.ebuild b/app-emacs/wgrep/wgrep-3.0.0-r1.ebuild new file mode 100644 index 000000000000..fe274279b0a2 --- /dev/null +++ b/app-emacs/wgrep/wgrep-3.0.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=25.1 + +inherit elisp readme.gentoo-r1 + +DESCRIPTION="Writable grep buffer and apply the changes to files" +HOMEPAGE="https://github.com/mhayashi1120/Emacs-wgrep/" +SRC_URI="https://github.com/mhayashi1120/Emacs-${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/Emacs-${P} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + app-emacs/s + app-emacs/dash + ) +" + +ELISP_REMOVE="${PN}-subtest.el" + +DOCS=( README.md ) +DOC_CONTENTS="See commentary in ${SITELISP}/${PN}/wgrep.el for documentation. + \n\nTo activate wgrep, add the following line to your ~/.emacs file: + \n\t(require 'wgrep)" +SITEFILE="50${PN}-gentoo.el" + +src_test() { + ${EMACS} ${EMACSFLAGS} -L . -l ${PN}.el -l ${PN}-test.el \ + -f ert-run-tests-batch-and-exit || die "tests failed" +} + +src_install() { + rm ${PN}-test.el{,c} || die + + elisp_src_install +} |