commit:     b08072005d86445b5992ede577194c892974b03a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 11:05:45 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 13:18:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0807200

app-emacs/expand-region: Inline autoloads.

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ...egion-0.11.0.ebuild => expand-region-0.11.0-r1.ebuild} | 15 +++++----------
 app-emacs/expand-region/files/50expand-region-gentoo.el   |  3 ++-
 2 files changed, 7 insertions(+), 11 deletions(-)

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 b151534d2ef..520e27025fa 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 bd5b4054078..4b065061de9 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)

Reply via email to