summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-03-06 16:07:39 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-03-06 16:33:22 +0100
commitef80a66682cb334621d4628a989733cc5fbf7564 (patch)
treedb046ae4e9569b69cc68b9b394b5b5d747c30caf /app-emacs
parentapp-emacs/undo-tree: bump to 0.8.2 (diff)
downloadgentoo-ef80a66682cb334621d4628a989733cc5fbf7564.tar.gz
gentoo-ef80a66682cb334621d4628a989733cc5fbf7564.tar.bz2
gentoo-ef80a66682cb334621d4628a989733cc5fbf7564.zip
app-emacs/websocket: bump to 1.14_p20230305
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/websocket/Manifest1
-rw-r--r--app-emacs/websocket/websocket-1.14_p20230305.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/websocket/Manifest b/app-emacs/websocket/Manifest
index 4d8ace5f65bf..9e57b84228b7 100644
--- a/app-emacs/websocket/Manifest
+++ b/app-emacs/websocket/Manifest
@@ -1,2 +1,3 @@
DIST websocket-1.12.tar.gz 27378 BLAKE2B d0aa576333c96e403d4507f25be5661b94de71afea1a39e6abbf0fc57c68dff109336c4c735ae15be336f620b6a09240fdfd4e016a19fc2b92f5836e83181a44 SHA512 c0cdcf407227914a94e24ef90146c3c394e0bc16f131c5b626a6ce49ee235e2519dc7c2dc174e6b87426eba8ce21e84e816b8074866e25be681ca626c51044de
DIST websocket-1.13.tar.gz 27421 BLAKE2B 1098cd1ba294a2829e7c2b14685514ef2a9426742846159a157f9068714a8d21d0cd2b893a1312cae29ae92231a0685e51832e5bc8715c1c20e62854ec5c81eb SHA512 3f4c9131650992be2992ca646268f01eef2407256c517a26940aabb673c13a6741c1e15cf0832e42c9ee7ffbe3e7b5e6532fcd2d4d77e0d9fae0c6d4f2613354
+DIST websocket-1.14_p20230305.tar.gz 27340 BLAKE2B 32b55fdff4bed7893d02bcafc67e473442803a492c31e565ec1487dc0e7211e505a517e460ca05f5f1f2d28d0852bced91cfbe9da98bcd6ed1e4598fe6bc4eb6 SHA512 6c4574387f8cae7d17a3a8e618678e9dc8d96d0301f3d20e236dae1820cdb2c7bb49e2f5bfe816670e9bac6a7be24b85f8ec9f8ea2aa248c6b5af302f227ae43
diff --git a/app-emacs/websocket/websocket-1.14_p20230305.ebuild b/app-emacs/websocket/websocket-1.14_p20230305.ebuild
new file mode 100644
index 000000000000..16337329f284
--- /dev/null
+++ b/app-emacs/websocket/websocket-1.14_p20230305.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+[[ ${PV} == *_p20230305 ]] && COMMIT=1a08093b122d8cf20366a1cba5faddf7a53d08ed
+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/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/emacs-${PN}-${COMMIT}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.org websocket-functional-test.el testserver.py )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile ${PN}.el
+}
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} -L . -l websocket-test \
+ -f ert-run-tests-batch-and-exit || die "tests failed"
+}
+
+src_install() {
+ elisp-install ${PN} websocket.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ einstalldocs
+}