public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jesus Rivero" <neurogeek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/argparse/
Date: Mon,  6 May 2013 19:52:07 +0000 (UTC)	[thread overview]
Message-ID: <1367867783.9436184dca4d6ffb28f2e0b191970724f810a901.neurogeek@gentoo> (raw)

commit:     9436184dca4d6ffb28f2e0b191970724f810a901
Author:     Jesus Rivero <jesus.riveroa <AT> gmail <DOT> com>
AuthorDate: Mon May  6 19:16:23 2013 +0000
Commit:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
CommitDate: Mon May  6 19:16:23 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=9436184d

dev-nodejs/argparse: Added dev-nodejs/underscore as RDEPEND

---
 dev-nodejs/argparse/Manifest               |    2 +
 dev-nodejs/argparse/argparse-0.1.13.ebuild |   45 ++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/argparse/Manifest b/dev-nodejs/argparse/Manifest
new file mode 100644
index 0000000..69bfa63
--- /dev/null
+++ b/dev-nodejs/argparse/Manifest
@@ -0,0 +1,2 @@
+DIST argparse-0.1.13.tgz 30793 SHA256 dcd6d097be0b3a7994ce30c5fa887972618d41f91238be14453b3dc4a825ac02 SHA512 45e565bb92b9f6f88fd9838f7a17685de686c084535b84878fdc81ece9d1ce56a26b3e4d7df6021fad1086c4378b660b47bf2c1045a68df2e2bd4e398aa73aa8 WHIRLPOOL c6962eed2304f0aa1053b9ba941fc8b6dbc1d6845e72a00100923473d010d609bc126cd1a696ffa88232caeed60c9c9d22f728c3c49c5023422eb99ffa3db18c
+EBUILD argparse-0.1.13.ebuild 953 SHA256 856f15f2a4b00c3c06e5df67889e8ef5f2ad9479f6bbc208e81696f446d6164e SHA512 0d8f0489d0de909d4556fa65734258bff2736610b82dc5ad42b710cea9b6ab0a755c542b78efb396a6bce0de6637659a2d608f062668de321723f4d4bcdf90f9 WHIRLPOOL e3af159dd02411bf851bef8034b049d828c6dd76ade7f69291e12054b8d56db55505d95d7dff5786fd6e28f9f4700c1de6ab46b9cf0ee67b6535a76881b14f0a

diff --git a/dev-nodejs/argparse/argparse-0.1.13.ebuild b/dev-nodejs/argparse/argparse-0.1.13.ebuild
new file mode 100644
index 0000000..dba3aad
--- /dev/null
+++ b/dev-nodejs/argparse/argparse-0.1.13.ebuild
@@ -0,0 +1,45 @@
+# 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="Very powerful CLI arguments parser. Native port of argparse -
+python's options parsing library"
+HOMEPAGE="https://npmjs.org/package/argparse"
+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=">=dev-nodejs/underscore-1.4.4
+	     >=dev-nodejs/underscore_string-2.3.1
+		 ${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}/{lib,package.json} ${node_modules}
+
+	dodoc README* LICENSE HISTORY.md index.js
+
+	if use example; then
+		dodoc -r examples
+	fi
+}


                 reply	other threads:[~2013-05-06 19:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367867783.9436184dca4d6ffb28f2e0b191970724f810a901.neurogeek@gentoo \
    --to=neurogeek@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox