public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/optimist/
@ 2013-05-10 18:50 Jesus Rivero
  0 siblings, 0 replies; 2+ messages in thread
From: Jesus Rivero @ 2013-05-10 18:50 UTC (permalink / raw
  To: gentoo-commits

commit:     77c9e7b9c72beee693c96e638214625ca63d57bf
Author:     Jesus Rivero <jesus.riveroa <AT> gmail <DOT> com>
AuthorDate: Fri May 10 14:30:51 2013 +0000
Commit:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
CommitDate: Fri May 10 14:30:51 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=77c9e7b9

dev-nodejs/optimist: Initial commit

---
 dev-nodejs/optimist/Manifest              |    2 +
 dev-nodejs/optimist/optimist-0.4.0.ebuild |   43 +++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/optimist/Manifest b/dev-nodejs/optimist/Manifest
new file mode 100644
index 0000000..025103a
--- /dev/null
+++ b/dev-nodejs/optimist/Manifest
@@ -0,0 +1,2 @@
+DIST optimist-0.4.0.tgz 12765 SHA256 bbbd3c9e8c1e8f59e7097271a78fa628c6dc76de894a02fc625872b72bc99555 SHA512 bffb9e16a8a08701107809f0f192687ee12c1c3bc08941b27e88ed25d2aeaf17782946a7ce7c6f2bd849a1c6b15a99fe9c001bc53038a9f87ba2b60780d64858 WHIRLPOOL fb5a34a697f4bca6d47ad9cdbbf0577f32d3cb08cb514176ad8b3d6e0a171859b8421a7b6a3515137ed3a5b9824bbf4c7c86a161c892eb531240945469ab4357
+EBUILD optimist-0.4.0.ebuild 826 SHA256 f31ebf6de3fc3116ae23761105e59357fce3e5a46e03dc3f9824bb02600dd9b4 SHA512 311bbc6491eb91c0918b5f5d4a7b0c239f0cb3083d49394aefc76cce0b5ca93522b99e7310b4e7ca36f76165bfa6476f15e560015a8a73bac9688695d289afcf WHIRLPOOL 0a192cf4a58ead181740225350da7f2f2ec2b3a0b6099acd3ab82a434543e048c88b7eacc44788801d64cd6d6c183fdcd162db506f0442b620e3d2d4b89a9b2e

diff --git a/dev-nodejs/optimist/optimist-0.4.0.ebuild b/dev-nodejs/optimist/optimist-0.4.0.ebuild
new file mode 100644
index 0000000..ab3b281
--- /dev/null
+++ b/dev-nodejs/optimist/optimist-0.4.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+NODEJS_MODULE=${PN}
+
+inherit multilib
+
+DESCRIPTION="Light-weight option parsing with an argv hash. No optstrings
+attached."
+HOMEPAGE="https://npmjs.org/package/optimist"
+SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="example"
+
+DEPEND=">=net-libs/nodejs-0.8.10"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+	unpack "${A}"
+	mv "${WORKDIR}/package" ${S}
+}
+
+src_compile() {
+	true
+}
+
+src_install() {
+	local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}"
+
+	mkdir -p ${node_modules} || die "Could not create DEST folder"
+	cp -r ${S}/{index.js,package.json} ${node_modules}
+
+	dodoc LICENSE
+
+	if use example; then
+		dodoc example
+	fi
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/optimist/
@ 2013-05-10 18:50 Jesus Rivero
  0 siblings, 0 replies; 2+ messages in thread
From: Jesus Rivero @ 2013-05-10 18:50 UTC (permalink / raw
  To: gentoo-commits

commit:     58a73a78d6922f8739d4c597240d96dc1e3c74a7
Author:     Jesus Rivero <jesus.riveroa <AT> gmail <DOT> com>
AuthorDate: Fri May 10 15:00:09 2013 +0000
Commit:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
CommitDate: Fri May 10 15:00:09 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=58a73a78

dev-nodejs/optimist. Added missing DEPEND

---
 dev-nodejs/optimist/Manifest              |    2 +-
 dev-nodejs/optimist/optimist-0.4.0.ebuild |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-nodejs/optimist/Manifest b/dev-nodejs/optimist/Manifest
index 025103a..040956c 100644
--- a/dev-nodejs/optimist/Manifest
+++ b/dev-nodejs/optimist/Manifest
@@ -1,2 +1,2 @@
 DIST optimist-0.4.0.tgz 12765 SHA256 bbbd3c9e8c1e8f59e7097271a78fa628c6dc76de894a02fc625872b72bc99555 SHA512 bffb9e16a8a08701107809f0f192687ee12c1c3bc08941b27e88ed25d2aeaf17782946a7ce7c6f2bd849a1c6b15a99fe9c001bc53038a9f87ba2b60780d64858 WHIRLPOOL fb5a34a697f4bca6d47ad9cdbbf0577f32d3cb08cb514176ad8b3d6e0a171859b8421a7b6a3515137ed3a5b9824bbf4c7c86a161c892eb531240945469ab4357
-EBUILD optimist-0.4.0.ebuild 826 SHA256 f31ebf6de3fc3116ae23761105e59357fce3e5a46e03dc3f9824bb02600dd9b4 SHA512 311bbc6491eb91c0918b5f5d4a7b0c239f0cb3083d49394aefc76cce0b5ca93522b99e7310b4e7ca36f76165bfa6476f15e560015a8a73bac9688695d289afcf WHIRLPOOL 0a192cf4a58ead181740225350da7f2f2ec2b3a0b6099acd3ab82a434543e048c88b7eacc44788801d64cd6d6c183fdcd162db506f0442b620e3d2d4b89a9b2e
+EBUILD optimist-0.4.0.ebuild 857 SHA256 8db71977b6647b6053257107658f558ee0cbc1c87d5ae91d91b3a1e88ed8083a SHA512 af200ce7317907bb430c3536976e842a2fc619a75dfc327cc5fb0ec9c135ec7438463252ce42b54b95611a5fc24e921ef6147ffdaa013d1acfb0aff5b491136e WHIRLPOOL e8519b42317ab3cff6317ed322c5cd480e8cf11d5a734a923a33e2b7c581a5a570102cd716ce1ce31c3f2b6841b650ffab331701ed3fb391888e6a3124cb65a5

diff --git a/dev-nodejs/optimist/optimist-0.4.0.ebuild b/dev-nodejs/optimist/optimist-0.4.0.ebuild
index ab3b281..e7f38d3 100644
--- a/dev-nodejs/optimist/optimist-0.4.0.ebuild
+++ b/dev-nodejs/optimist/optimist-0.4.0.ebuild
@@ -18,7 +18,8 @@ KEYWORDS="~x86 ~amd64"
 IUSE="example"
 
 DEPEND=">=net-libs/nodejs-0.8.10"
-RDEPEND="${DEPEND}"
+RDEPEND=">=dev-nodejs/wordwrap-0.0.2
+		 ${DEPEND}"
 
 src_unpack() {
 	unpack "${A}"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-10 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 18:50 [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/optimist/ Jesus Rivero
  -- strict thread matches above, loose matches on Subject: below --
2013-05-10 18:50 Jesus Rivero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox