diff options
author | 2023-06-16 23:01:18 +0200 | |
---|---|---|
committer | 2023-06-16 23:02:01 +0200 | |
commit | 7e19ddd9eb3755216ba80e83d9b087ac168f4149 (patch) | |
tree | 07209ce4b0be7ce3eaba4af94bf145177c06e8e5 /app-emacs/erefactor/erefactor-0.7.2.ebuild | |
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/erefactor-0.7.2.ebuild')
-rw-r--r-- | app-emacs/erefactor/erefactor-0.7.2.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
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 |