From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B34A4158017 for ; Wed, 29 Sep 2021 13:08:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 940E8E0957; Wed, 29 Sep 2021 13:08:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E42EE0957 for ; Wed, 29 Sep 2021 13:08:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D90F1342CAD for ; Wed, 29 Sep 2021 13:08:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 556CA12B for ; Wed, 29 Sep 2021 13:08:30 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1632920907.1bd7f7988e47b87515bfac7c9bb2d60394e6391a.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-js/jmp/files/, dev-js/jmp/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-js/jmp/Manifest dev-js/jmp/files/uuid.patch dev-js/jmp/jmp-2.0.0.ebuild dev-js/jmp/metadata.xml X-VCS-Directories: dev-js/jmp/files/ dev-js/jmp/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 1bd7f7988e47b87515bfac7c9bb2d60394e6391a X-VCS-Branch: dev Date: Wed, 29 Sep 2021 13:08:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fa5e768e-88e1-4f1f-a95a-6ed270103514 X-Archives-Hash: 5adca322ec61f31db643003e98d9b58a commit: 1bd7f7988e47b87515bfac7c9bb2d60394e6391a Author: Alessandro Barbieri gmail com> AuthorDate: Wed Sep 29 13:07:50 2021 +0000 Commit: Alessandro Barbieri gmail 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 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 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/n-riesco/jmp/issues + n-riesco/jmp + +