diff options
Diffstat (limited to 'app-emacs/websocket')
-rw-r--r-- | app-emacs/websocket/Manifest | 3 | ||||
-rw-r--r-- | app-emacs/websocket/metadata.xml | 8 | ||||
-rw-r--r-- | app-emacs/websocket/websocket-1.9.ebuild | 31 |
3 files changed, 42 insertions, 0 deletions
diff --git a/app-emacs/websocket/Manifest b/app-emacs/websocket/Manifest new file mode 100644 index 000000000000..b09f5bc673d3 --- /dev/null +++ b/app-emacs/websocket/Manifest @@ -0,0 +1,3 @@ +DIST websocket-1.9.tar.gz 27029 SHA256 e7afbb5785e423e108119c9e625c9bab08297415224b07718f75ec6295130533 SHA512 bcd98e7edcbe95cae2f196cea05fd6cfa9083ed1ab2392530ca00cb05b87d6fa95b5f5319981fd94244b74989850c171e4c31c8758a8b7fe95d49299103a4410 WHIRLPOOL b0534b8c098569cebdf9ff597a459df7815f0e0a919c64fbbf4d8c64aa9789f0bbd585ca8adb139bb35254f29798e01e13eb417764a8bc0b1fbd20fa7ff564f7 +EBUILD websocket-1.9.ebuild 675 SHA256 da9afd3f8640610da2d9abfaad43e7bb16099a56f88cbfd5debc80db324fd850 SHA512 09e2563f1b81dd015213a5583d242b4740c6aaae8ef361e6a2b29aac54c3d443cceab424703620bed2cf12c63bb083836c53ac270db7db715fa50a9a0d9ab41b WHIRLPOOL 7f915492bc1dac2ab1f7196b8b7b6fe73e90e5d5f7cb144757615604c37491acb42fd0697e2f8b71efe09d134a6507d78d4c5d041abb02422fb9eac7514d4501 +MISC metadata.xml 259 SHA256 4d59c14917cb31648858cb06bc3c7f224cf1c3906dc3166f8f0d8b8e02970928 SHA512 9a5c456aae7919a4cdbb10b67a27c232daf2ec6db4202e04ba6d5873242fc982a659410443dd6fb4498d42af00b495acc51a6a2cbe12aeab91b585dfac7233a3 WHIRLPOOL 08c68f505a8cc685c52f3a54a07582b64ff7c0b4682c8f9333286fbb5caf4a8d406933c7937fe8c9611f456b5a549ee100657a1c9dc766c8965772f277bf31fb diff --git a/app-emacs/websocket/metadata.xml b/app-emacs/websocket/metadata.xml new file mode 100644 index 000000000000..c438baf3b326 --- /dev/null +++ b/app-emacs/websocket/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +</pkgmetadata> diff --git a/app-emacs/websocket/websocket-1.9.ebuild b/app-emacs/websocket/websocket-1.9.ebuild new file mode 100644 index 000000000000..00ac9a2319d5 --- /dev/null +++ b/app-emacs/websocket/websocket-1.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +NEED_EMACS=24 + +inherit elisp + +DESCRIPTION="A websocket implementation in elisp" +HOMEPAGE="https://github.com/ahyatt/emacs-websocket" +SRC_URI="https://github.com/ahyatt/emacs-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/emacs-${P}" + +src_compile() { + elisp-compile websocket.el +} + +src_test() { + ${EMACS} ${EMACSFLAGS} -L . -l websocket-test \ + -f ert-run-tests-batch-and-exit +} + +src_install() { + elisp-install ${PN} websocket.{el,elc} + dodoc README.org websocket-functional-test.el testserver.py +} |