From d8da69633924e697e9f69524d92b1e4b5620c994 Mon Sep 17 00:00:00 2001 From: Victor Gaydov Date: Tue, 20 Sep 2016 13:56:26 +0300 Subject: 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 --- 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(+) create mode 100644 app-emacs/adaptive-wrap/Manifest create mode 100644 app-emacs/adaptive-wrap/adaptive-wrap-0.5.ebuild create mode 100644 app-emacs/adaptive-wrap/files/50adaptive-wrap-gentoo.el create mode 100644 app-emacs/adaptive-wrap/metadata.xml (limited to 'app-emacs/adaptive-wrap') diff --git a/app-emacs/adaptive-wrap/Manifest b/app-emacs/adaptive-wrap/Manifest new file mode 100644 index 000000000000..6e7f1cc21a3d --- /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 000000000000..327fa102be23 --- /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 000000000000..3609fffb6421 --- /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 000000000000..57bb313b577e --- /dev/null +++ b/app-emacs/adaptive-wrap/metadata.xml @@ -0,0 +1,16 @@ + + + + + victor@enise.org + Victor Gaydov + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + proxy-maint@gentoo.org + Proxy Maintainers + + -- cgit v1.2.3-65-gdbad