dev-js/uuid: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-09-29 15:06:59 +02:00
parent 713145adc1
commit bd08da741c
3 changed files with 34 additions and 0 deletions

1
dev-js/uuid/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST uuid-8.3.2.tgz 27977 BLAKE2B f2c9b5bebfa75744a3100ab468f7e56d059564804701eebf72f8b9e7eadc9d0b36d3cc4ceab6f90d54f5657b0b99039389c05c59145a6c9f793e4aaf09cc4362 SHA512 f8d62cd9078c5b2f865853849bdc679fa1c20e9d25ed0043ee697cccb52627ef77439345d0da1c12b9f09139175453625f7fdfa42e9a7d2f0385bfe0cfb47b7a

12
dev-js/uuid/metadata.xml Normal file
View File

@@ -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/uuidjs/uuid/issues</bugs-to>
<remote-id type="github">uuidjs/uuid</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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="RFC4122 (v1, v4, and v5) UUIDs"
HOMEPAGE="
https://github.com/uuidjs/uuid
https://www.npmjs.com/package/uuid
"
LICENSE="MIT"
KEYWORDS="~amd64"
src_install() {
node_src_install
# errno binary conflicts with dev-libs/ossp-uuid
mv "${ED}/usr/bin/uuid" "${ED}/usr/bin/node-uuid" || die
}