1 |
patrick 13/11/21 06:41:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nodejs-0.11.9.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.112 net-libs/nodejs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.112&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.112&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?r1=1.111&r2=1.112 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v |
20 |
retrieving revision 1.111 |
21 |
retrieving revision 1.112 |
22 |
diff -u -r1.111 -r1.112 |
23 |
--- ChangeLog 14 Nov 2013 04:11:30 -0000 1.111 |
24 |
+++ ChangeLog 21 Nov 2013 06:41:09 -0000 1.112 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-libs/nodejs |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.111 2013/11/14 04:11:30 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.112 2013/11/21 06:41:09 patrick Exp $ |
30 |
+ |
31 |
+*nodejs-0.11.9 (21 Nov 2013) |
32 |
+ |
33 |
+ 21 Nov 2013; Patrick Lauer <patrick@g.o> +nodejs-0.11.9.ebuild: |
34 |
+ Bump |
35 |
|
36 |
*nodejs-0.10.22 (14 Nov 2013) |
37 |
*nodejs-0.11.8 (14 Nov 2013) |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-libs/nodejs/nodejs-0.11.9.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.11.9.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.11.9.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nodejs-0.11.9.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.11.9.ebuild,v 1.1 2013/11/21 06:41:09 patrick Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
# has known failures. sigh. |
55 |
RESTRICT="test" |
56 |
|
57 |
PYTHON_COMPAT=( python2_{6,7} ) |
58 |
|
59 |
inherit python-any-r1 pax-utils |
60 |
|
61 |
DESCRIPTION="Evented IO for V8 Javascript" |
62 |
HOMEPAGE="http://nodejs.org/" |
63 |
SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz" |
64 |
|
65 |
LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" |
68 |
IUSE="+npm" |
69 |
|
70 |
RDEPEND="dev-libs/openssl" |
71 |
DEPEND="${RDEPEND}" |
72 |
|
73 |
S=${WORKDIR}/node-v${PV} |
74 |
|
75 |
src_prepare() { |
76 |
# fix compilation on Darwin |
77 |
# http://code.google.com/p/gyp/issues/detail?id=260 |
78 |
sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die |
79 |
|
80 |
# make sure we use python2.* while using gyp |
81 |
sed -i -e "s/python/python2/" deps/npm/node_modules/node-gyp/gyp/gyp || die |
82 |
|
83 |
# less verbose install output (stating the same as portage, basically) |
84 |
sed -i -e "/print/d" tools/install.py || die |
85 |
} |
86 |
|
87 |
src_configure() { |
88 |
local myconf="" |
89 |
! use npm && myconf="--without-npm" |
90 |
|
91 |
# Use target arch detection logic, see v8-3.18 ebuilds |
92 |
case ${CHOST} in |
93 |
i?86-*) |
94 |
myarch="ia32" |
95 |
myconf+=" -Dv8_target_arch=ia32" ;; |
96 |
x86_64-*) |
97 |
if [[ $ABI = x86 ]] ; then |
98 |
myarch="ia32" |
99 |
else |
100 |
myarch="x64" |
101 |
fi ;; |
102 |
arm*-*) |
103 |
myarch="arm" |
104 |
;; |
105 |
*) die "Unrecognized CHOST: ${CHOST}" |
106 |
esac |
107 |
|
108 |
"${PYTHON}" configure --prefix="${EPREFIX}"/usr \ |
109 |
--openssl-use-sys --shared-zlib --without-dtrace ${myconf} || die |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
emake out/Makefile |
114 |
emake -C out "mksnapshot.${myarch}" |
115 |
pax-mark m "out/Release/mksnapshot.${myarch}" |
116 |
emake |
117 |
} |
118 |
|
119 |
src_install() { |
120 |
"${PYTHON}" tools/install.py install "${D}" /usr |
121 |
|
122 |
use npm && dohtml -r "${ED}"/usr/lib/node_modules/npm/html/* |
123 |
rm -rf "${ED}"/usr/lib/node_modules/npm/doc "${ED}"/usr/lib/node_modules/npm/html |
124 |
rm -rf "${ED}"/usr/lib/dtrace |
125 |
|
126 |
pax-mark -m "${ED}"/usr/bin/node |
127 |
} |
128 |
|
129 |
src_test() { |
130 |
"${PYTHON}" tools/test.py --mode=release simple message || die |
131 |
} |