1 |
patrick 14/10/28 06:14:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nodejs-0.11.14.ebuild nodejs-0.10.33.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.131 net-libs/nodejs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.131&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.131&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?r1=1.130&r2=1.131 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v |
20 |
retrieving revision 1.130 |
21 |
retrieving revision 1.131 |
22 |
diff -u -r1.130 -r1.131 |
23 |
--- ChangeLog 17 Sep 2014 10:58:05 -0000 1.130 |
24 |
+++ ChangeLog 28 Oct 2014 06:14:22 -0000 1.131 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-libs/nodejs |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.130 2014/09/17 10:58:05 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.131 2014/10/28 06:14:22 patrick Exp $ |
30 |
+ |
31 |
+*nodejs-0.10.33 (28 Oct 2014) |
32 |
+*nodejs-0.11.14 (28 Oct 2014) |
33 |
+ |
34 |
+ 28 Oct 2014; Patrick Lauer <patrick@g.o> +nodejs-0.10.33.ebuild, |
35 |
+ +nodejs-0.11.14.ebuild: |
36 |
+ Bump |
37 |
|
38 |
*nodejs-0.10.32 (17 Sep 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-libs/nodejs/nodejs-0.11.14.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.11.14.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.11.14.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: nodejs-0.11.14.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.11.14.ebuild,v 1.1 2014/10/28 06:14:22 patrick Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
# has known failures. sigh. |
57 |
RESTRICT="test" |
58 |
|
59 |
PYTHON_COMPAT=( python2_{6,7} ) |
60 |
|
61 |
inherit python-any-r1 pax-utils toolchain-funcs |
62 |
|
63 |
DESCRIPTION="Evented IO for V8 Javascript" |
64 |
HOMEPAGE="http://nodejs.org/" |
65 |
SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz" |
66 |
|
67 |
LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" |
70 |
IUSE="+npm +snapshot" |
71 |
|
72 |
RDEPEND="dev-libs/openssl" |
73 |
DEPEND="${PYTHON_DEPS} |
74 |
${RDEPEND} |
75 |
>=net-libs/http-parser-2.3 |
76 |
=dev-libs/libuv-0.11.25-r1" |
77 |
|
78 |
S=${WORKDIR}/node-v${PV} |
79 |
|
80 |
src_prepare() { |
81 |
# fix compilation on Darwin |
82 |
# http://code.google.com/p/gyp/issues/detail?id=260 |
83 |
sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die |
84 |
|
85 |
# make sure we use python2.* while using gyp |
86 |
sed -i -e "s/python/python2/" deps/npm/node_modules/node-gyp/gyp/gyp || die |
87 |
|
88 |
# less verbose install output (stating the same as portage, basically) |
89 |
sed -i -e "/print/d" tools/install.py || die |
90 |
|
91 |
tc-export CC CXX |
92 |
} |
93 |
|
94 |
src_configure() { |
95 |
local myconf="" |
96 |
! use npm && myconf="--without-npm" |
97 |
! use snapshot && myconf="${myconf} --without-snapshot" |
98 |
|
99 |
# Use target arch detection logic, see v8-3.18 ebuilds |
100 |
case ${CHOST} in |
101 |
i?86-*) |
102 |
myarch="ia32" |
103 |
myconf+=" -Dv8_target_arch=ia32" ;; |
104 |
x86_64-*) |
105 |
if [[ $ABI = x86 ]] ; then |
106 |
myarch="ia32" |
107 |
else |
108 |
myarch="x64" |
109 |
fi ;; |
110 |
arm*-*) |
111 |
myarch="arm" |
112 |
;; |
113 |
*) die "Unrecognized CHOST: ${CHOST}" |
114 |
esac |
115 |
|
116 |
"${PYTHON}" configure --prefix="${EPREFIX}"/usr \ |
117 |
--shared-openssl \ |
118 |
--shared-libuv \ |
119 |
--shared-http-parser \ |
120 |
--shared-zlib \ |
121 |
--without-dtrace ${myconf} || die |
122 |
} |
123 |
|
124 |
src_compile() { |
125 |
local V=1 |
126 |
export V |
127 |
emake out/Makefile |
128 |
emake -C out "mksnapshot.${myarch}" |
129 |
pax-mark m "out/Release/mksnapshot.${myarch}" |
130 |
emake |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
"${PYTHON}" tools/install.py install "${D}" /usr |
135 |
|
136 |
use npm && dohtml -r "${ED}"/usr/lib/node_modules/npm/html/* |
137 |
rm -rf "${ED}"/usr/lib/node_modules/npm/doc "${ED}"/usr/lib/node_modules/npm/html |
138 |
rm -rf "${ED}"/usr/lib/dtrace |
139 |
|
140 |
pax-mark -m "${ED}"/usr/bin/node |
141 |
} |
142 |
|
143 |
src_test() { |
144 |
"${PYTHON}" tools/test.py --mode=release simple message || die |
145 |
} |
146 |
|
147 |
|
148 |
|
149 |
1.1 net-libs/nodejs/nodejs-0.10.33.ebuild |
150 |
|
151 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.10.33.ebuild?rev=1.1&view=markup |
152 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.10.33.ebuild?rev=1.1&content-type=text/plain |
153 |
|
154 |
Index: nodejs-0.10.33.ebuild |
155 |
=================================================================== |
156 |
# Copyright 1999-2014 Gentoo Foundation |
157 |
# Distributed under the terms of the GNU General Public License v2 |
158 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.10.33.ebuild,v 1.1 2014/10/28 06:14:22 patrick Exp $ |
159 |
|
160 |
EAPI=5 |
161 |
|
162 |
# has known failures. sigh. |
163 |
RESTRICT="test" |
164 |
|
165 |
PYTHON_COMPAT=( python2_{6,7} ) |
166 |
|
167 |
inherit python-any-r1 pax-utils toolchain-funcs |
168 |
|
169 |
DESCRIPTION="Evented IO for V8 Javascript" |
170 |
HOMEPAGE="http://nodejs.org/" |
171 |
SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz" |
172 |
|
173 |
LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT" |
174 |
SLOT="0" |
175 |
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" |
176 |
IUSE="+npm +snapshot" |
177 |
|
178 |
RDEPEND="dev-libs/openssl" |
179 |
DEPEND="${PYTHON_DEPS} |
180 |
${RDEPEND}" |
181 |
|
182 |
S=${WORKDIR}/node-v${PV} |
183 |
|
184 |
src_prepare() { |
185 |
# fix compilation on Darwin |
186 |
# http://code.google.com/p/gyp/issues/detail?id=260 |
187 |
sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die |
188 |
|
189 |
# make sure we use python2.* while using gyp |
190 |
sed -i -e "s/python/python2/" deps/npm/node_modules/node-gyp/gyp/gyp || die |
191 |
|
192 |
# less verbose install output (stating the same as portage, basically) |
193 |
sed -i -e "/print/d" tools/install.py || die |
194 |
|
195 |
tc-export CC CXX |
196 |
} |
197 |
|
198 |
src_configure() { |
199 |
local myconf="" |
200 |
! use npm && myconf="--without-npm" |
201 |
! use snapshot && myconf="${myconf} --without-snapshot" |
202 |
|
203 |
"${PYTHON}" configure --prefix="${EPREFIX}"/usr \ |
204 |
--shared-openssl --shared-zlib --without-dtrace ${myconf} || die |
205 |
} |
206 |
|
207 |
src_compile() { |
208 |
local V=1 |
209 |
export V |
210 |
emake out/Makefile |
211 |
emake -C out mksnapshot |
212 |
pax-mark m out/Release/mksnapshot |
213 |
emake |
214 |
} |
215 |
|
216 |
src_install() { |
217 |
"${PYTHON}" tools/install.py install "${D}" |
218 |
|
219 |
use npm && dohtml -r "${ED}"/usr/lib/node_modules/npm/html/* |
220 |
rm -rf "${ED}"/usr/lib/node_modules/npm/doc "${ED}"/usr/lib/node_modules/npm/html |
221 |
rm -rf "${ED}"/usr/lib/dtrace |
222 |
|
223 |
pax-mark -m "${ED}"/usr/bin/node |
224 |
} |
225 |
|
226 |
src_test() { |
227 |
"${PYTHON}" tools/test.py --mode=release simple message || die |
228 |
} |