app-emacs/adaptive-wrap: new package
authorVictor Gaydov <victor@enise.org>
Tue, 20 Sep 2016 10:56:26 +0000 (13:56 +0300)
committerYixun Lan <dlan@gentoo.org>
Tue, 20 Sep 2016 20:37:26 +0000 (04:37 +0800)
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>
app-emacs/adaptive-wrap/Manifest [new file with mode: 0644]
app-emacs/adaptive-wrap/adaptive-wrap-0.5.ebuild [new file with mode: 0644]
app-emacs/adaptive-wrap/files/50adaptive-wrap-gentoo.el [new file with mode: 0644]
app-emacs/adaptive-wrap/metadata.xml [new file with mode: 0644]

diff --git a/app-emacs/adaptive-wrap/Manifest b/app-emacs/adaptive-wrap/Manifest
new file mode 100644 (file)
index 0000000..6e7f1cc
--- /dev/null
@@ -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 (file)
index 0000000..327fa10
--- /dev/null
@@ -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 (file)
index 0000000..3609fff
--- /dev/null
@@ -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 (file)
index 0000000..57bb313
--- /dev/null
@@ -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>