Skip to content

Commit

Permalink
app-emacs/expand-region: new package
Browse files Browse the repository at this point in the history
expand-region.el is emacs extension to increase selected region by
semantic units.

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=598158
  • Loading branch information
gavv authored and ulm committed Nov 27, 2016
1 parent dab8a3b commit 3655505
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-emacs/expand-region/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST expand-region-0.11.0.tar.gz 31562 SHA256 e085621267b250486856422d13e7ddc3b11601e2328fc239e709ea10880bbe21 SHA512 3469ab0420d85fbaaa1ae9f3d0101c28b6e1786d761ecd186d744537795226917314b8b748d3499b02ea269a46a62350c37fecb34dd4183a73eafc67ce1344a8 WHIRLPOOL 762ceeefaae4728776d493daac6453d00c6ff232dab4130fcb5965a71b4da6bcc046ed3894912b38716a7047f83286335e4b01616dfc8c8e30edd1360869c79d
24 changes: 24 additions & 0 deletions app-emacs/expand-region/expand-region-0.11.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

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"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

S="${WORKDIR}/expand-region.el-${PV}"
SITEFILE="50${PN}-gentoo.el"
DOCS="README.md"

src_compile() {
elisp-compile *.el
elisp-make-autoload-file
}
2 changes: 2 additions & 0 deletions app-emacs/expand-region/files/50expand-region-gentoo.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(add-to-list 'load-path "@SITELISP@")
(load "expand-region-autoloads" nil t)
16 changes: 16 additions & 0 deletions app-emacs/expand-region/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Victor Gaydov</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo GNU Emacs project</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

0 comments on commit 3655505

Please sign in to comment.