summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-10-21 09:12:38 +0200
committerHans de Graaff <graaff@gentoo.org>2015-10-21 09:20:33 +0200
commit5b652aaf3931266a29175668ed271782573a8670 (patch)
treecbeca9bb54d1f812b126f0c84900e92b4293bdd9 /app-emacs/dash
parentMerge remote-tracking branch 'remotes/github/pr/269'. (diff)
downloadgentoo-5b652aaf3931266a29175668ed271782573a8670.tar.gz
gentoo-5b652aaf3931266a29175668ed271782573a8670.tar.bz2
gentoo-5b652aaf3931266a29175668ed271782573a8670.zip
app-emacs/dash: initial import.
New dependency for app-emacs/magit. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-emacs/dash')
-rw-r--r--app-emacs/dash/Manifest1
-rw-r--r--app-emacs/dash/dash-2.12.0.ebuild31
-rw-r--r--app-emacs/dash/files/50dash-gentoo.el1
-rw-r--r--app-emacs/dash/metadata.xml5
4 files changed, 38 insertions, 0 deletions
diff --git a/app-emacs/dash/Manifest b/app-emacs/dash/Manifest
new file mode 100644
index 000000000000..a6dafa6f84de
--- /dev/null
+++ b/app-emacs/dash/Manifest
@@ -0,0 +1 @@
+DIST dash-2.12.0.tar.gz 140949 SHA256 272b337f31edb95c5aadc8e953d522bd307dc522588f246cc9157edee10b1a76 SHA512 7697083daad4e927aa30a238c3181c4a4ba0e30a2034f0975d4e29e5c2b89ff9f3c8b150ec74811e67fc539b4fb618ed7772f06ace959724a786f25e34276499 WHIRLPOOL c8787267c79d1fb023ee2a27cab7cfb06f4d863093ad95b5710fea1b613e3a2b7a0e3398d94698babc0a5310ac7d64eed5fc54269bd653724a04423014d040c3
diff --git a/app-emacs/dash/dash-2.12.0.ebuild b/app-emacs/dash/dash-2.12.0.ebuild
new file mode 100644
index 000000000000..ee1d25b38253
--- /dev/null
+++ b/app-emacs/dash/dash-2.12.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A modern list library for Emacs"
+HOMEPAGE="https://github.com/magnars/dash.el"
+SRC_URI="https://github.com/magnars/dash.el/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+SITEFILE="50${PN}-gentoo.el"
+
+S="${WORKDIR}/${PN}.el-${PV}"
+
+src_test() {
+ ./run-tests.sh || die
+}
+
+src_install() {
+ elisp-install ${PN} *.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ doinfo dash.info
+ dodoc README.md
+}
diff --git a/app-emacs/dash/files/50dash-gentoo.el b/app-emacs/dash/files/50dash-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/dash/files/50dash-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/dash/metadata.xml b/app-emacs/dash/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/dash/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>