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/esprima/
Date: Mon,  6 May 2013 19:52:06 +0000 (UTC)	[thread overview]
Message-ID: <1367867333.3482f029b9b8a18966f892f92e11ccdacb9b76c6.neurogeek@gentoo> (raw)

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

dev-nodejs/esprima: Initial commit

---
 dev-nodejs/esprima/Manifest             |    2 +
 dev-nodejs/esprima/esprima-1.0.2.ebuild |   47 +++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/esprima/Manifest b/dev-nodejs/esprima/Manifest
new file mode 100644
index 0000000..9601b7f
--- /dev/null
+++ b/dev-nodejs/esprima/Manifest
@@ -0,0 +1,2 @@
+DIST esprima-1.0.2.tgz 108723 SHA256 247399624e58b61b2d84e09dfdb27ebf1c7f9b4527853c1be0444e7972018091 SHA512 8f66403750a6feb82c2041e035ae9eaaf66312da8587c58451d56cc04a718f4dc0cb347547a0877ee9cea5df4d3a62e0d14d7c6803b616e9c08ece3d7f9c3462 WHIRLPOOL c4804daff79c9c2fbfaf1e6e790518ef641ebd935490767c53e499b73bd050f8c4c17e3f500b7f41259bdaf78504b4738d45b857edb52e56950fa55175cdad4e
+EBUILD esprima-1.0.2.ebuild 903 SHA256 1c6070810a9bfcb04bffbca7f69e8836fbc73a39d2b1e0b593fb005dcd3d0377 SHA512 cedeeac03f88f3a7536500f9c94449a83f8090b6fdb4a949e1cc1a8da4c57d71100030f539ce0a668e693added2b79576d15e55c4ff8cc813d16388061839c79 WHIRLPOOL 2d07c2b995f023297e1518e9925862a3d4f13291ccac75de860867d6fcccb931839ecd776287f819d19c9439d840c1a81e823ddd1fd3682f22901f8f17fcc962

diff --git a/dev-nodejs/esprima/esprima-1.0.2.ebuild b/dev-nodejs/esprima/esprima-1.0.2.ebuild
new file mode 100644
index 0000000..fe865ee
--- /dev/null
+++ b/dev-nodejs/esprima/esprima-1.0.2.ebuild
@@ -0,0 +1,47 @@
+# 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="ECMAScript parsing infrastructure for multipurpose analysis."
+HOMEPAGE="https://npmjs.org/package/esprima"
+SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc 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}/{${PN}.js,component.json,package.json} ${node_modules}
+
+	dobin bin/*
+	dodoc README* LICENSE.BSD
+
+	if use doc; then
+		dodoc -r doc/*
+	fi
+
+	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=1367867333.3482f029b9b8a18966f892f92e11ccdacb9b76c6.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