summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Gaydov <victor@enise.org>2016-09-20 13:56:26 +0300
committerYixun Lan <dlan@gentoo.org>2016-09-21 04:37:26 +0800
commitd8da69633924e697e9f69524d92b1e4b5620c994 (patch)
treeaa8f713f78d391baa05cb5d89bae7b730e673ace /app-emacs
parentdev-perl/Data-Page-Pageset: Revision Bump (diff)
downloadgentoo-d8da69633924e697e9f69524d92b1e4b5620c994.tar.gz
gentoo-d8da69633924e697e9f69524d92b1e4b5620c994.tar.bz2
gentoo-d8da69633924e697e9f69524d92b1e4b5620c994.zip
app-emacs/adaptive-wrap: new package
adaptive-wrap implements smart line-wrapping with wrap-prefix. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=594502 Closes: https://github.com/gentoo/gentoo/pull/2370 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/adaptive-wrap/Manifest1
-rw-r--r--app-emacs/adaptive-wrap/adaptive-wrap-0.5.ebuild22
-rw-r--r--app-emacs/adaptive-wrap/files/50adaptive-wrap-gentoo.el4
-rw-r--r--app-emacs/adaptive-wrap/metadata.xml16
4 files changed, 43 insertions, 0 deletions
diff --git a/app-emacs/adaptive-wrap/Manifest b/app-emacs/adaptive-wrap/Manifest
new file mode 100644
index 00000000000..6e7f1cc21a3
--- /dev/null
+++ b/app-emacs/adaptive-wrap/Manifest
@@ -0,0 +1 @@
+DIST adaptive-wrap-0.5.el 6111 SHA256 fefa54ba670b84360d2602fae477642b27ca4c2312983a7d24b4e6bcd1ad2f3b SHA512 0ffc52ad4343b57376dfb1ef09c7cc31d5933568ed614afc7d6d104fcb2ddf1eb69a69d4b04f5f97b726cc66ddacfc8d56ff10e447cf24f45227ee568adbcb95 WHIRLPOOL 9b4c64e26da9320a13cd7e0e77d10505c8aec60200e3e26c73367827fa1320ea5eb791834b3264f77998c5e29f07fe6c0f66ee7f8cfa89e75d5f63d19ba8a4d4
diff --git a/app-emacs/adaptive-wrap/adaptive-wrap-0.5.ebuild b/app-emacs/adaptive-wrap/adaptive-wrap-0.5.ebuild
new file mode 100644
index 00000000000..327fa102be2
--- /dev/null
+++ b/app-emacs/adaptive-wrap/adaptive-wrap-0.5.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit elisp
+
+DESCRIPTION="Smart line-wrapping with wrap-prefix"
+HOMEPAGE="https://elpa.gnu.org/packages/adaptive-wrap.html"
+SRC_URI="https://elpa.gnu.org/packages/${P}.el"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ cp "${DISTDIR}"/${P}.el ${PN}.el || die
+}
diff --git a/app-emacs/adaptive-wrap/files/50adaptive-wrap-gentoo.el b/app-emacs/adaptive-wrap/files/50adaptive-wrap-gentoo.el
new file mode 100644
index 00000000000..3609fffb642
--- /dev/null
+++ b/app-emacs/adaptive-wrap/files/50adaptive-wrap-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'adaptive-wrap-prefix-mode "adaptive-wrap"
+ "Wrap the buffer text with adaptive filling." t nil)
diff --git a/app-emacs/adaptive-wrap/metadata.xml b/app-emacs/adaptive-wrap/metadata.xml
new file mode 100644
index 00000000000..57bb313b577
--- /dev/null
+++ b/app-emacs/adaptive-wrap/metadata.xml
@@ -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>victor@enise.org</email>
+ <name>Victor Gaydov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>