summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-06-27 05:44:58 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-06-27 05:44:58 +0000
commitea53919ec7638bc8531e70f28844ab9a4c7be605 (patch)
tree4393b2be8838e1c840bf866e689fcc7c0bb54aca /net-libs
parentUpdate PYTHON_COMPAT to pypy version available in tree. Thanks to Mr_Bones_ f... (diff)
downloadhistorical-ea53919ec7638bc8531e70f28844ab9a4c7be605.tar.gz
historical-ea53919ec7638bc8531e70f28844ab9a4c7be605.tar.bz2
historical-ea53919ec7638bc8531e70f28844ab9a4c7be605.zip
Bump, now with added waffles
Package-Manager: portage-2.2.0_alpha113/cvs/Linux x86_64
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/nodejs/ChangeLog8
-rw-r--r--net-libs/nodejs/Manifest4
-rw-r--r--net-libs/nodejs/nodejs-0.8.0.ebuild76
3 files changed, 85 insertions, 3 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog
index 5aee825118c6..3ce098b4b5b2 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.42 2012/06/12 08:55:21 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.43 2012/06/27 05:44:58 patrick Exp $
+
+*nodejs-0.8.0 (27 Jun 2012)
+
+ 27 Jun 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.8.0.ebuild:
+ Bump, now with added waffles
*nodejs-0.6.19 (12 Jun 2012)
@@ -226,4 +231,3 @@
12 Dec 2010; Patrick Lauer <patrick@gentoo.org> +nodejs-0.2.5.ebuild,
+nodejs-0.3.1.ebuild, +metadata.xml:
Initial commit, ebuild by me.
-
diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest
index 962ea6230c4c..6867a7fff9c7 100644
--- a/net-libs/nodejs/Manifest
+++ b/net-libs/nodejs/Manifest
@@ -3,9 +3,11 @@ DIST node-v0.6.17.tar.gz 10252898 RMD160 44d11df9efd2ad519cfff3b172b265ea7ab9b6c
DIST node-v0.6.18.tar.gz 10261465 RMD160 697fae50be96138cab94c2345e90870aafbd2630 SHA1 ccb7b5c55e3403b3ffc77d46f7a23079ce65e71e SHA256 6cf4311ecbc1700e88f4382a31b3a7017c1572cd641fd06e653fc1692c2cffff
DIST node-v0.6.19.tar.gz 10222697 RMD160 a57f07d2bf2282f1f8200cd6e97fb0ae2b0b0502 SHA1 f6c5cfbadff4788ac3a95f8263a0c2f4e07444b6 SHA256 4e33292477b01dfcf50bc628d580fd5af3e5ff807490ec46472b84100fb52fbb
DIST node-v0.7.8.tar.gz 11970604 RMD160 01ad5dd606f1747d969b413f2253810705f8ec50 SHA1 693bbda143d8d1453d64afccd4a0a87ff67ead3d SHA256 59722d4a71c26963a8bbd31aadc64aeff2c0a2902fb4d9542d161f458487355e
+DIST node-v0.8.0.tar.gz 11829547 RMD160 acf06bbaa5fe6e707e60c719f27a7a4f9f041172 SHA1 5171fb46fbfee5ac7129c4b17207a3f35a1f57e8 SHA256 ecafca018b5109a28537633d0433d513f68b1bae7191a1821e8eaa84ccf128ee
EBUILD nodejs-0.6.17.ebuild 1043 RMD160 d7e1ca98810ce0865d9d723fd30b812244a5e3ac SHA1 b394085213d2da60716660f6ab65e852c51877d7 SHA256 5c55dedf1b6b4c9d0dc582439e2d93bc0cbe5002ae4a8de4567929952e9fb8e4
EBUILD nodejs-0.6.18.ebuild 1041 RMD160 e4998e0a7ab8970621ca8a5f6234b0bdf2c94bb6 SHA1 eaa0982e110a7ef131f2939976a8a684de2185ae SHA256 964f7fb7027e53f1e8bd4126dfd1d82cf3b56ff48d4c2e5d5c8be0ae1dfda816
EBUILD nodejs-0.6.19.ebuild 1041 RMD160 b779eb16e0af42d95e6689e0adb48a7b8647110e SHA1 df6051a6e83fff9d8f5526f1caccdbb6298bfb28 SHA256 37d4e93fa7bb790f2db0b464f6653bc01b6642829b7ee1b2d23cc92705590cc8
EBUILD nodejs-0.7.8.ebuild 2076 RMD160 fae879c0929700fe228a8cfd21d354bc98afcbc5 SHA1 a240ea2cc42dd641ca10a68ab421d7d132f38997 SHA256 421e9104627da3fa5a2c1084bd9d3266359afbca5952cc7ec7f857063c01281c
-MISC ChangeLog 6774 RMD160 276194393e07dc53538cc167b2d584364a589852 SHA1 e042bac79e0dcb4627209422b71f699febfaba10 SHA256 989e18c5d3ae1e45a92cefa63fed7de4aa6a31b80b965040bc64b06c7c05ba67
+EBUILD nodejs-0.8.0.ebuild 2358 RMD160 4bb5e52953f92a72a79c63c1083d550187e45a2f SHA1 eb07ab8c3bfad6b1184ce85e95152fea62ca7409 SHA256 953c9dbae23d739afa9843790b10a7f211ac1a2468c79db1c4e0bbd6255d3995
+MISC ChangeLog 6906 RMD160 75c99363be738862ebfaeb0c81da5b4a8022f08e SHA1 71d11688556303a7d3da77d2809ee8b4cbef405b SHA256 3e218f2b0ce9c9d454859d095512164ae0c0cb6b4aa774ae9f45183a413f1913
MISC metadata.xml 328 RMD160 e5da1c480cbfe9b6db2e3bdc4bf8b3c291018d83 SHA1 7aed54b3272a8262b0b3ed60355a8f8c4e16141e SHA256 ad2c212a575c70f52ed8075ccc5ceca143c69b933e94a0e14db5b81c2af09a0d
diff --git a/net-libs/nodejs/nodejs-0.8.0.ebuild b/net-libs/nodejs/nodejs-0.8.0.ebuild
new file mode 100644
index 000000000000..0f010ca85937
--- /dev/null
+++ b/net-libs/nodejs/nodejs-0.8.0.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.0.ebuild,v 1.1 2012/06/27 05:44:58 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.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
+}