1 |
commit: c1c3f63e52bd120684ef9e5c951124abd15b12a5 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 3 10:20:40 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 3 10:21:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1c3f63e |
7 |
|
8 |
app-emacs/websocket: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
app-emacs/websocket/Manifest | 1 + |
13 |
app-emacs/websocket/files/50websocket-gentoo.el | 1 + |
14 |
app-emacs/websocket/websocket-1.10.ebuild | 33 +++++++++++++++++++++++++ |
15 |
3 files changed, 35 insertions(+) |
16 |
|
17 |
diff --git a/app-emacs/websocket/Manifest b/app-emacs/websocket/Manifest |
18 |
index 1727892d819..b70b965e03b 100644 |
19 |
--- a/app-emacs/websocket/Manifest |
20 |
+++ b/app-emacs/websocket/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST websocket-1.10.tar.gz 27108 BLAKE2B b164b3ca47e0705322d9bcd0d9535c8e84777487e8783bf599f5391c88ee6193a1ef1750ec4b3cbd4fac2968c449c4f3a140255a434f3de38e66ad7364c192ba SHA512 ef1a34eccd173eb206cd9eeb4ea988a5b076f178bd4ca903e03b2f2301a34c2cbd08e43a13c8d24a64d10da28b3a77c15b2321978460db7a6b23c601abe31197 |
23 |
DIST websocket-1.9.tar.gz 27029 BLAKE2B 9a492beda1b7f7211d1a72b5af0cab445f0fa78439797f05b565a0421a798a4fe0c6fb0e24aac0454f5b48f8f536762d0fcc5d92c216bd6b83b6ac34a1e024a4 SHA512 bcd98e7edcbe95cae2f196cea05fd6cfa9083ed1ab2392530ca00cb05b87d6fa95b5f5319981fd94244b74989850c171e4c31c8758a8b7fe95d49299103a4410 |
24 |
|
25 |
diff --git a/app-emacs/websocket/files/50websocket-gentoo.el b/app-emacs/websocket/files/50websocket-gentoo.el |
26 |
new file mode 100644 |
27 |
index 00000000000..431f7e90ae7 |
28 |
--- /dev/null |
29 |
+++ b/app-emacs/websocket/files/50websocket-gentoo.el |
30 |
@@ -0,0 +1 @@ |
31 |
+(add-to-list 'load-path "@SITELISP@") |
32 |
|
33 |
diff --git a/app-emacs/websocket/websocket-1.10.ebuild b/app-emacs/websocket/websocket-1.10.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..2211d645c5a |
36 |
--- /dev/null |
37 |
+++ b/app-emacs/websocket/websocket-1.10.ebuild |
38 |
@@ -0,0 +1,33 @@ |
39 |
+# Copyright 1999-2018 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+NEED_EMACS=24 |
44 |
+ |
45 |
+inherit elisp |
46 |
+ |
47 |
+DESCRIPTION="A websocket implementation in elisp" |
48 |
+HOMEPAGE="https://github.com/ahyatt/emacs-websocket" |
49 |
+SRC_URI="https://github.com/ahyatt/emacs-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="GPL-3+" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~x86" |
54 |
+ |
55 |
+S="${WORKDIR}/emacs-${P}" |
56 |
+SITEFILE="50${PN}-gentoo.el" |
57 |
+ |
58 |
+src_compile() { |
59 |
+ elisp-compile websocket.el |
60 |
+} |
61 |
+ |
62 |
+src_test() { |
63 |
+ ${EMACS} ${EMACSFLAGS} -L . -l websocket-test \ |
64 |
+ -f ert-run-tests-batch-and-exit |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ elisp-install ${PN} websocket.{el,elc} |
69 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
70 |
+ dodoc README.org websocket-functional-test.el testserver.py |
71 |
+} |