diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-02-06 13:31:13 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-02-06 18:23:17 +0100 |
commit | 12fa72b0364ebbda3e8e706fa2addbdaf10c0b07 (patch) | |
tree | 889fb165c66aafe02e5b88442aea98fe4f33ef19 /app-emacs/wgrep | |
parent | app-emacs/biblio: bump to 0.3 (diff) | |
download | gentoo-12fa72b0364ebbda3e8e706fa2addbdaf10c0b07.tar.gz gentoo-12fa72b0364ebbda3e8e706fa2addbdaf10c0b07.tar.bz2 gentoo-12fa72b0364ebbda3e8e706fa2addbdaf10c0b07.zip |
app-emacs/wgrep: bump to 3.0.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/wgrep')
-rw-r--r-- | app-emacs/wgrep/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/wgrep/wgrep-3.0.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-emacs/wgrep/Manifest b/app-emacs/wgrep/Manifest index ed43c71ee617..687a226873f2 100644 --- a/app-emacs/wgrep/Manifest +++ b/app-emacs/wgrep/Manifest @@ -1,2 +1,3 @@ DIST wgrep-2.3.0.tar.gz 16241 BLAKE2B 83802934b36dfcad17e3486a7405cdd170b20bd6574d92032c92aa2a8ae84a2b6ce47313c8ca70327982bebc4fb78363181c66d1c745d2179ba84fc655c617be SHA512 2f817ef482d8ce98531494a5f19f477d7544bcc8b2747ebe184194a058c6cb26d571ba7de22f7e4307aa110806fa45f683b2363b1520b8fe5edaa05ce5ba8d61 DIST wgrep-2.3.2.tar.gz 28908 BLAKE2B 992557cd59ac6887cec71c7dceac27ad5cfc153a09b68a1e312466077dfa08a6efb7e49ba24b06196daf41b2781f17a5d3f0c3f7b6ee28590d42db5a7de2a141 SHA512 a0a00f1d845c45f5de0e707ea5c8c14f9b01807533d7124be9fe0bfdd2d28c3e6fce2a4695daa1de880dd5ff5986b0533b3a5688790a7674576599fb2667ae76 +DIST wgrep-3.0.0.tar.gz 29569 BLAKE2B 0113c790e9903840e8dd421def45bc73b914b61d9beb7b178275efb623d735cdadcc3d96c361a88a293f437d906528d84c3876be5aee46caad22f0743ed40549 SHA512 8e93e824bafe8b9018e82d5fb57104c2324df62798214d848ff98bb86865d4a8e56df1e4efede49966555cb9af5059699c2d178722d8462ddc5977a5abd3d799 diff --git a/app-emacs/wgrep/wgrep-3.0.0.ebuild b/app-emacs/wgrep/wgrep-3.0.0.ebuild new file mode 100644 index 000000000000..75581cad4442 --- /dev/null +++ b/app-emacs/wgrep/wgrep-3.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +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 +} |