* [gentoo-commits] repo/proj/guru:dev commit in: dev-js/jmp/files/, dev-js/jmp/
@ 2021-09-29 13:08 Alessandro Barbieri
0 siblings, 0 replies; only message in thread
From: Alessandro Barbieri @ 2021-09-29 13:08 UTC (permalink / raw
To: gentoo-commits
commit: 1bd7f7988e47b87515bfac7c9bb2d60394e6391a
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Sep 29 13:07:50 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Sep 29 13:08:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1bd7f798
dev-js/jmp: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-js/jmp/Manifest | 1 +
dev-js/jmp/files/uuid.patch | 24 ++++++++++++++++++++++++
dev-js/jmp/jmp-2.0.0.ebuild | 21 +++++++++++++++++++++
dev-js/jmp/metadata.xml | 12 ++++++++++++
4 files changed, 58 insertions(+)
diff --git a/dev-js/jmp/Manifest b/dev-js/jmp/Manifest
new file mode 100644
index 000000000..9178bda6c
--- /dev/null
+++ b/dev-js/jmp/Manifest
@@ -0,0 +1 @@
+DIST jmp-2.0.0.tgz 10391 BLAKE2B 4b4ac9f1dcd2170b8ea6f4ce476ebe785546fb0be2dc4bf4a8745ce1c9dcbd4fdd91004ea571ff37e42a411952a2e18e8acd9bed339778c6bf987a94d0bd85d8 SHA512 5404df5951c4ad0240d9732d9908c94071f243f8718c7326b32f9e826c1193f47315c850078c63ad1d625f8f7a559afe1f285caf8cef2fe22491294860ac7a63
diff --git a/dev-js/jmp/files/uuid.patch b/dev-js/jmp/files/uuid.patch
new file mode 100644
index 000000000..3fff4420f
--- /dev/null
+++ b/dev-js/jmp/files/uuid.patch
@@ -0,0 +1,24 @@
+diff -ur a/index.js b/index.js
+--- a/index.js 1985-10-26 09:15:00.000000000 +0100
++++ b/index.js 2021-02-15 16:02:25.296238209 +0100
+@@ -33,7 +33,7 @@
+ */
+
+ var crypto = require("crypto");
+-var uuid = require("uuid/v4");
++const { v4: uuidv4 } = require('uuid');
+ var zmq = require("zeromq");
+
+ var DEBUG = global.DEBUG || false;
+diff -ur a/test/index.js b/test/index.js
+--- a/test/index.js 1985-10-26 09:15:00.000000000 +0100
++++ b/test/index.js 2021-02-15 16:02:01.816099481 +0100
+@@ -37,7 +37,7 @@
+ var assert = require("assert");
+ var crypto = require("crypto");
+
+-var uuid = require("uuid/v4");
++const { v4: uuidv4 } = require('uuid');
+
+ var jmp = require("..");
+ var zmq = jmp.zmq;
diff --git a/dev-js/jmp/jmp-2.0.0.ebuild b/dev-js/jmp/jmp-2.0.0.ebuild
new file mode 100644
index 000000000..0f07f1a7b
--- /dev/null
+++ b/dev-js/jmp/jmp-2.0.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit node
+
+DESCRIPTION="create, parse and reply to messages of the Jupyter Messaging Protocol"
+HOMEPAGE="
+ https://github.com/n-riesco/jmp
+ https://www.npmjs.com/package/jmp
+"
+
+LICENSE="BSD"
+KEYWORDS="~amd64"
+PATCHES=( "${FILESDIR}/uuid.patch" )
+RDEPEND="
+ ${NODEJS_RDEPEND}
+ dev-js/uuid
+ dev-js/zeromq
+"
diff --git a/dev-js/jmp/metadata.xml b/dev-js/jmp/metadata.xml
new file mode 100644
index 000000000..02340b950
--- /dev/null
+++ b/dev-js/jmp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/n-riesco/jmp/issues</bugs-to>
+ <remote-id type="github">n-riesco/jmp</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-29 13:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-29 13:08 [gentoo-commits] repo/proj/guru:dev commit in: dev-js/jmp/files/, dev-js/jmp/ Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox