summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-07-30 02:18:02 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-07-30 02:18:02 +0000
commit065a118173c54f66f135a0960b673b5f7405c6aa (patch)
treecdece773ffa0ecd746959b46881be937cef24059 /net-libs/nodejs
parentmarked x86 per bug 428454 (diff)
downloadhistorical-065a118173c54f66f135a0960b673b5f7405c6aa.tar.gz
historical-065a118173c54f66f135a0960b673b5f7405c6aa.tar.bz2
historical-065a118173c54f66f135a0960b673b5f7405c6aa.zip
Bump
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'net-libs/nodejs')
-rw-r--r--net-libs/nodejs/ChangeLog7
-rw-r--r--net-libs/nodejs/Manifest4
-rw-r--r--net-libs/nodejs/nodejs-0.9.0.ebuild76
3 files changed, 85 insertions, 2 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog
index 1398ec67c551..115aad753352 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.50 2012/07/27 03:12:19 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.51 2012/07/30 02:18:02 patrick Exp $
+
+*nodejs-0.9.0 (30 Jul 2012)
+
+ 30 Jul 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.9.0.ebuild:
+ Bump
*nodejs-0.8.4 (27 Jul 2012)
diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest
index 99e77093b540..0f2ac85a53a3 100644
--- a/net-libs/nodejs/Manifest
+++ b/net-libs/nodejs/Manifest
@@ -2,8 +2,10 @@ AUX nodejs-v8-3.5.patch 440 SHA256 e27140ed4fb2d9db928c8a8138b53461eea352261265f
DIST node-v0.8.2.tar.gz 11727164 SHA256 6830ed4eaf6c191243fb3afbe3ca3283d7e3a537c8f3ce508fa2af1328fe4baf SHA512 d4b3b45ae16b0125f89d5ce949c3644acffa6a748cbc441327ea7aad43e3f27f651350cc17d6d531ef135da2f0da9a3d819f464bc015264471dd389fc6e6ace4 WHIRLPOOL 5fa07737f290952340ab37d02d3609276436d2b01aa11f88778340ad78aef4ba95bd3b8fd663f0e541f41763fcf95d8dcded0903f7da470bfafac376474fc729
DIST node-v0.8.3.tar.gz 11831580 SHA256 600a1d88744937dbad048f65f60d1259b814c59777d7b9d8665def77b1e1ec35 SHA512 8b716348d276bbfb538290765fabf2f62c52a55f69c0967bffe272c6977fb3194e9e2e16ca991968db920ce758ada338c11da4f8eeed2ebcee8e3ae37ba4d4c3 WHIRLPOOL 96757ef3f2e378d7a536e7ba277e3597142986b6e492769084bd819b892fd127d7d32ff526295ddef7b25dd1c9e822d646406caa0e5bec7e4b663f986ced2a8d
DIST node-v0.8.4.tar.gz 11840649 SHA256 d0a3b0d2028ddd6bbaab5d3fe38dd6f80d7e810fe9e55efab3230a7c90d31174 SHA512 99934dd3015e7816dac80f24c53e6d3e92edacaeaa83bc1cf34d1ddaddf847c318d13ab20fe019e0585d83d33a69d943c8102efb39f468033f621ab83b35d51a WHIRLPOOL fc1ed6ab13e5a35c32fe526c138e6e95c9968e05c880b6298cfd3c92728b0d6cc1c568eeb02eee3d2cc7c057aabed7efa1c29069bcf06df18b25c36c9c20bb5f
+DIST node-v0.9.0.tar.gz 11827167 SHA256 4d2e5d7c8b345f6e401eed7d06b4bbc6cb012aefc34b46e7c3aedb4a0fccd258 SHA512 25806ef23cd0bd2854e40502759182ec0e6462ed9cec3462cd5e0888df1c315725791900f925c23cc6c9f470a8632b811c24522b50df7d5c16e5a439c4b56a14 WHIRLPOOL 574aecbc5ceb43cb3ea5f6bc54824f884401a4f7b3e11399fbaea5d620e156922d22c6a9474ab0f65933e672c9734fbeb3ce1ed96c4240c1ffc3aac6ea2087e4
EBUILD nodejs-0.8.2.ebuild 2361 SHA256 8c25650cf3271620fb508978ce9b2117b2bb11f17c67a8e67f6a3fa4aefc5df4 SHA512 4e480e899b96e12fba4e9c7ce7933fe9506d3f99ac7186ae999297419483b0a04fe6f96aebfbd57b0e7acd2d9ac23d9029082ce3008fc46a8635298785248606 WHIRLPOOL b0be6cf34a8036af53d4aded277ef0a7f3f98d4fcbe6602f56176cdedc73eed0e0d1eb90f5a34f9366ce5b6bdf49314133413db4fb2d34c788562cc88a52576a
EBUILD nodejs-0.8.3.ebuild 2361 SHA256 d6b5b9e4ef530c807b0cdf20668fb6228ec4ef547f58437694b995ea9d5a9341 SHA512 1951fd4e713cb3b5fb2ef775ec4b9210b5103b68a288c2135d9d531e07c1974afd70388c2f099ee8e5a88543713f573a9cc8e3e2688bbc0a2b4c41c525257519 WHIRLPOOL 0b08ff2a5005d4c4989b0568b016ef943b074b30f10e7eb77b54498bfe65ca5c6c42021387bb0dd08989d74a019717506e883c651286c7a89a695255ee0c2061
EBUILD nodejs-0.8.4.ebuild 2361 SHA256 a9cc72e7d71831321e08aa4cd670e527308c2477833291d45caea92b8417b42d SHA512 d104c74c6d88514d5ccada1462a56b083c24891be06acf18c36f0ecfa0fc0a8fb6fc368133e403e471b74c16941f5f2779a713f492b9fb3bcb3be1ea351f3a72 WHIRLPOOL 1148c7d5ff9619a455220484078a7251281fe78710a1fd1255c47845b8616f3c334f266eb143bb2cc882e128f247662ba13a4e93dc312c985aa42bd69bf0132e
-MISC ChangeLog 7811 SHA256 e58de2ed832b18326445808cbb44e7ff81d5eee47106eb939fb7fa497246b34c SHA512 30c9e732f3c34153f4895297a06a712f8bc123a13f5ef873c5c42296caa37fb440aa11947be39926b161fc41f3c9f0fbc05554e8d81f770ff1bb0935f420db06 WHIRLPOOL 5a4479d6936aea0dcee2314c9309ebde6e70b1ced2747b285709a6330e17e1180e4d1b61257bef75eb7a630976eb3a8d7879e5d2596ecc1cecdd5139802bb622
+EBUILD nodejs-0.9.0.ebuild 2361 SHA256 66a2941016a83957b2f0d8b5d5e6d67e1f995762d7a7c2a1a46681d9e1354e71 SHA512 7ea2ca6f107daec9783978a59a804c7a1097cb0e2440f5e3ec96a00f61751dd8ee8a79e04e07daf3b59980daea46065235f77fff27698a97b89651d6f37e2200 WHIRLPOOL 414479258520d72dcaa5fc63c995bd4802de58808530205a4df095bd0bfd04d44fa387123cb5fee7ac10d4b020e422b69d3d83b75904d438239155aab9867122
+MISC ChangeLog 7920 SHA256 c3a2ef96da00b912b23be153f85e7537457c69dcc68960cc3089c78b2bb43363 SHA512 55647f34233771c687ce1179f0bbf0b68305bed36bc8ad41314044e34af5cc4941b418975670e8102d53b2ed487b8bd74c1f619f810e5abbb0180e49e1f9b2b4 WHIRLPOOL 9fac3aa638bb920092cb9cebce0d47a25494140805ef3906cdcec5d011988c6770b89d7144fde316f3d480d5979566d44e6c7ecfc24044c89d80d53c9a0936e4
MISC metadata.xml 328 SHA256 ad2c212a575c70f52ed8075ccc5ceca143c69b933e94a0e14db5b81c2af09a0d SHA512 d5fa8369aecf7b97778fd8b9dd0e44ff8bb987294a198698323a4bda8816e86609cb6d807e5a4eaeec68c659bc17c88c69b9245f566bf224310c13812bfa55d3 WHIRLPOOL 01f6230ada1f1faf314fb64fad1fc73ab153847da2092df4101d259aa5352021cffcc7ffceb81e1d1df31fccfdb4b791a2ae6aceb3a1d6f1561b74ff3fed4df4
diff --git a/net-libs/nodejs/nodejs-0.9.0.ebuild b/net-libs/nodejs/nodejs-0.9.0.ebuild
new file mode 100644
index 000000000000..cbd2e488f612
--- /dev/null
+++ b/net-libs/nodejs/nodejs-0.9.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.9.0.ebuild,v 1.1 2012/07/30 02:18:02 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
+}