From: Ulrich Müller Date: Thu, 17 Oct 2019 11:05:45 +0000 (+0200) Subject: app-emacs/expand-region: Inline autoloads. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b08072005d86445b5992ede577194c892974b03a;p=gentoo.git app-emacs/expand-region: Inline autoloads. Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Ulrich Müller --- diff --git a/app-emacs/expand-region/expand-region-0.11.0.ebuild b/app-emacs/expand-region/expand-region-0.11.0-r1.ebuild similarity index 52% rename from app-emacs/expand-region/expand-region-0.11.0.ebuild rename to app-emacs/expand-region/expand-region-0.11.0-r1.ebuild index b151534d2ef7..520e27025faf 100644 --- a/app-emacs/expand-region/expand-region-0.11.0.ebuild +++ b/app-emacs/expand-region/expand-region-0.11.0-r1.ebuild @@ -1,23 +1,18 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit elisp DESCRIPTION="Emacs extension to increase selected region by semantic units" HOMEPAGE="https://github.com/magnars/expand-region.el" -SRC_URI="https://github.com/magnars/expand-region.el/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/magnars/${PN}.el/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" -S="${WORKDIR}/expand-region.el-${PV}" +S="${WORKDIR}/${PN}.el-${PV}" SITEFILE="50${PN}-gentoo.el" DOCS="README.md" - -src_compile() { - elisp-compile *.el - elisp-make-autoload-file -} diff --git a/app-emacs/expand-region/files/50expand-region-gentoo.el b/app-emacs/expand-region/files/50expand-region-gentoo.el index bd5b40540780..4b065061de9e 100644 --- a/app-emacs/expand-region/files/50expand-region-gentoo.el +++ b/app-emacs/expand-region/files/50expand-region-gentoo.el @@ -1,2 +1,3 @@ (add-to-list 'load-path "@SITELISP@") -(load "expand-region-autoloads" nil t) +(autoload 'er/expand-region "expand-region" + "Increase selected region by semantic units." t)