summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-07-04 02:22:58 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-07-04 02:22:58 +0000
commit50f8fdc307fb49717168ef2a4b07597b3902daff (patch)
tree4eba1a089ffa66e1e977f80b544ce04f2de933d3 /net-libs/nodejs
parentSnapshot of package already in KDE overlay, wrt bug 424595 (diff)
downloadhistorical-50f8fdc307fb49717168ef2a4b07597b3902daff.tar.gz
historical-50f8fdc307fb49717168ef2a4b07597b3902daff.tar.bz2
historical-50f8fdc307fb49717168ef2a4b07597b3902daff.zip
Bump
Package-Manager: portage-2.2.0_alpha115/cvs/Linux x86_64
Diffstat (limited to 'net-libs/nodejs')
-rw-r--r--net-libs/nodejs/ChangeLog7
-rw-r--r--net-libs/nodejs/Manifest18
-rw-r--r--net-libs/nodejs/nodejs-0.8.1.ebuild76
3 files changed, 85 insertions, 16 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog
index b686956a10f4..2983a1d67717 100644
--- a/net-libs/nodejs/ChangeLog
+++ b/net-libs/nodejs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/nodejs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.46 2012/06/28 11:37:02 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.47 2012/07/04 02:22:58 patrick Exp $
+
+*nodejs-0.8.1 (04 Jul 2012)
+
+ 04 Jul 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.8.1.ebuild:
+ Bump
28 Jun 2012; Agostino Sarubbo <ago@gentoo.org> -nodejs-0.6.17.ebuild,
-nodejs-0.6.18.ebuild, -nodejs-0.6.19.ebuild, -nodejs-0.7.12.ebuild,
diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest
index 2a960474d260..a8805ff42ecb 100644
--- a/net-libs/nodejs/Manifest
+++ b/net-libs/nodejs/Manifest
@@ -1,19 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
AUX nodejs-v8-3.5.patch 440 RMD160 3acac03a96fa3c6365a076eb47b4c1bac12d5a2c SHA1 135a23be4458187b358d5edb3c5f46be92312c45 SHA256 e27140ed4fb2d9db928c8a8138b53461eea352261265f9953c821ca15dfdd91f
DIST node-v0.8.0.tar.gz 11829547 RMD160 acf06bbaa5fe6e707e60c719f27a7a4f9f041172 SHA1 5171fb46fbfee5ac7129c4b17207a3f35a1f57e8 SHA256 ecafca018b5109a28537633d0433d513f68b1bae7191a1821e8eaa84ccf128ee
+DIST node-v0.8.1.tar.gz 11806425 RMD160 56fa65d05ef01b7d290345b4f0bd85ffc960b497 SHA1 892790553b8121ba8624d8293d0cb7d8b01094d7 SHA256 0cda1325a010ce18f68501ae68e0ce97f0094e7a282c34a451f552621643a884
EBUILD nodejs-0.8.0.ebuild 2361 RMD160 fdd5a96b33ddf9369aa5c2d5e008d9a84fb24b97 SHA1 f0847523ff452a1252f52ccba6e54bc878860a7a SHA256 9412db0b96fda8f48e2c67bba359a3a8dc442d59b0ba6a2282e3d075eca7d443
-MISC ChangeLog 7313 RMD160 5c1d1519789396da49b2e75c1ef356aa950bc1e5 SHA1 2a47aaebb2379dc2c932ff5dae2a15c655d24c5f SHA256 0e7bf4eafaa3fd0b0648bbd8cc32ced807a6a2d05f0677c734fe4cababe5361b
+EBUILD nodejs-0.8.1.ebuild 2361 RMD160 d4b8ef0f6677c7e699f521fa2aa49ba9d9b16401 SHA1 0533f62768286a3c5c5716cafb2b2772cf94db45 SHA256 a0f5a0bd7c18e74f95c5344b9df8cd41c487992b12e7aa185f5bfc3fc172e16a
+MISC ChangeLog 7426 RMD160 1a376e4a1d28c43ffcdb8ff4557d572cc00d5df2 SHA1 2864ed5cbb8c3e25aeecb9af4d107b11c8f89e2d SHA256 c73e947e3daa0491bade145d8231c1f8f19bd9a20e6e7426cf1f0fee2e983765
MISC metadata.xml 328 RMD160 e5da1c480cbfe9b6db2e3bdc4bf8b3c291018d83 SHA1 7aed54b3272a8262b0b3ed60355a8f8c4e16141e SHA256 ad2c212a575c70f52ed8075ccc5ceca143c69b933e94a0e14db5b81c2af09a0d
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQEcBAEBCgAGBQJP7EHkAAoJEOTDgjZ80txdLZsIAIuSrUCX5OdQuB4XA0NtzDKD
-NRY9onsMExwXsAon98oUKpABtebk16TpQ35xsMk0VozeiHBZgukiD0i2QN+EKrF2
-vdRGQoid7cMzjICDM6alfAPh6Odpfl1Vy5n9a/2Ytf8UK5atiuWRwGgneReWiQa1
-3/Or8c6C+RxIMBtZogOVSDWZd+cJgoU7ZsmcfxYGsmHzgJfpdUl8TuJUO+LHQ4eu
-gbHOjzqoKKPegcxhB9Q5tfyVzInyVwyAcuNSXLxOrknrV+hJcf/31zaQxel7diT8
-ZBfuPfLHkA8NaVx1MMxpet1eFe/t/4LF7doSNIGzTTXswPELEhpe/ERUuU03WwE=
-=1rbj
------END PGP SIGNATURE-----
diff --git a/net-libs/nodejs/nodejs-0.8.1.ebuild b/net-libs/nodejs/nodejs-0.8.1.ebuild
new file mode 100644
index 000000000000..61350cbcc787
--- /dev/null
+++ b/net-libs/nodejs/nodejs-0.8.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.8.1.ebuild,v 1.1 2012/07/04 02:22:57 patrick Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+
+inherit python eutils pax-utils
+
+# omgwtf
+RESTRICT="test"
+
+DESCRIPTION="Evented IO for V8 Javascript"
+HOMEPAGE="http://nodejs.org/"
+SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
+IUSE=""
+
+DEPEND=">=dev-lang/v8-3.11.10
+ dev-libs/openssl"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/node-v${PV}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ # fix compilation on Darwin
+ # http://code.google.com/p/gyp/issues/detail?id=260
+ sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die
+ # Hardcoded braindamage extraction helper
+ sed -i -e 's:wafdir = join(prefix, "lib", "node"):wafdir = "/lib/node/":' tools/node-waf || die
+}
+
+src_configure() {
+ # this is an autotools lookalike confuserator
+ ./configure --shared-v8 --prefix="${EPREFIX}"/usr --shared-v8-includes="${EPREFIX}"/usr/include --openssl-use-sys --shared-zlib || die
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ # there are no words to describe the epic idiocy of ...
+ # NOT using make but a JavaScript thingy to try to install things ... to the wrong place
+ # WHY U NO MAEK SENSE?!
+ #emake DESTDIR="${D}" install || die
+
+ mkdir -p "${ED}"/usr/include/node
+ mkdir -p "${ED}"/usr/bin
+ mkdir -p "${ED}"/lib/node_modules/npm
+ mkdir -p "${ED}"/lib/node
+ cp 'src/node.h' 'src/node_buffer.h' 'src/node_object_wrap.h' 'src/node_version.h' "${ED}"/usr/include/node || die "Failed to copy stuff"
+ cp 'deps/uv/include/ares.h' 'deps/uv/include/ares_version.h' "${ED}"/usr/include/node || die "Failed to copy stuff"
+ cp 'out/Release/node' "${ED}"/usr/bin/node || die "Failed to copy stuff"
+ cp -R deps/npm/* "${ED}"/lib/node_modules/npm || die "Failed to copy stuff"
+ cp -R tools/wafadmin "${ED}"/lib/node/ || die "Failed to copy stuff"
+ cp 'tools/node-waf' "${ED}"/usr/bin/ || die "Failed to copy stuff"
+
+ # now add some extra stupid just because we can
+ # needs to be a symlink because of hardcoded paths ... no es bueno!
+ dosym /lib/node_modules/npm/bin/npm-cli.js /bin/npm
+ pax-mark -m "${ED}"/usr/bin/node
+}
+
+src_test() {
+ emake test || die
+}