summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-08-20 22:31:18 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-08-20 22:32:35 +0200
commit6e59b59ecf649c966e5b4c83633d4620d45ff467 (patch)
tree88fe406ec1570ec667b95dd2d8c09adf20cc55c1 /app-emacs/websocket
parentapp-emacs/rg: drop old 2.2.1 (diff)
downloadgentoo-6e59b59ecf649c966e5b4c83633d4620d45ff467.tar.gz
gentoo-6e59b59ecf649c966e5b4c83633d4620d45ff467.tar.bz2
gentoo-6e59b59ecf649c966e5b4c83633d4620d45ff467.zip
app-emacs/websocket: bump to 1.15
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/websocket')
-rw-r--r--app-emacs/websocket/Manifest1
-rw-r--r--app-emacs/websocket/websocket-1.15.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-emacs/websocket/Manifest b/app-emacs/websocket/Manifest
index 2487d5a8929a..70bbf455549b 100644
--- a/app-emacs/websocket/Manifest
+++ b/app-emacs/websocket/Manifest
@@ -1 +1,2 @@
DIST websocket-1.14_p20230305.tar.gz 27340 BLAKE2B 32b55fdff4bed7893d02bcafc67e473442803a492c31e565ec1487dc0e7211e505a517e460ca05f5f1f2d28d0852bced91cfbe9da98bcd6ed1e4598fe6bc4eb6 SHA512 6c4574387f8cae7d17a3a8e618678e9dc8d96d0301f3d20e236dae1820cdb2c7bb49e2f5bfe816670e9bac6a7be24b85f8ec9f8ea2aa248c6b5af302f227ae43
+DIST websocket-1.15.tar.gz 27231 BLAKE2B 4dafdb9bc2b2b499ee335acc00c8bb0316275ec5f5d4d3440a4dd89a17ce7999c211d2ec2b9df0457ea17ca6d70f57d7804eb8f3b6ffa4bbf8ed362bcc66618a SHA512 c2881dcb956d7803b16bd451f21a1c2f62181f2b88c0d4e9e067b040df573ad90d047e7cb637190d193e185b651fef1e7559833a1dffe24097ddb07623133d6e
diff --git a/app-emacs/websocket/websocket-1.15.ebuild b/app-emacs/websocket/websocket-1.15.ebuild
new file mode 100644
index 000000000000..9fb39e72393c
--- /dev/null
+++ b/app-emacs/websocket/websocket-1.15.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="A websocket implementation in elisp"
+HOMEPAGE="https://github.com/ahyatt/emacs-websocket"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/ahyatt/emacs-websocket.git"
+ S="${WORKDIR}"/emacs-${P}
+else
+ [[ ${PV} == 1.15 ]] && COMMIT=40c208eaab99999d7c1e4bea883648da24c03be3
+
+ SRC_URI="https://github.com/ahyatt/emacs-${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/emacs-${PN}-${COMMIT}
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DOCS=( README.org )
+SITEFILE="50${PN}-gentoo.el"
+
+elisp-enable-tests ert "${S}"
+
+src_compile() {
+ elisp-compile ${PN}.el
+}
+
+src_install() {
+ elisp-install ${PN} websocket.{el,elc}
+ elisp-make-site-file "${SITEFILE}"
+
+ einstalldocs
+}