commit:     d8da69633924e697e9f69524d92b1e4b5620c994
Author:     Victor Gaydov <victor <AT> enise <DOT> org>
AuthorDate: Tue Sep 20 10:56:26 2016 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 20:37:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8da6963

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 <AT> gentoo.org>

 app-emacs/adaptive-wrap/Manifest                   |  1 +
 app-emacs/adaptive-wrap/adaptive-wrap-0.5.ebuild   | 22 ++++++++++++++++++++++
 .../adaptive-wrap/files/50adaptive-wrap-gentoo.el  |  4 ++++
 app-emacs/adaptive-wrap/metadata.xml               | 16 ++++++++++++++++
 4 files changed, 43 insertions(+)

diff --git a/app-emacs/adaptive-wrap/Manifest b/app-emacs/adaptive-wrap/Manifest
new file mode 100644
index 00000000..6e7f1cc
--- /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 00000000..327fa10
--- /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 00000000..3609fff
--- /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 00000000..57bb313
--- /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>vic...@enise.org</email>
+    <name>Victor Gaydov</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>gnu-em...@gentoo.org</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-ma...@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to