1 |
patrick 14/08/01 06:02:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nodejs-0.10.30.ebuild nodejs-0.8.28.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.124 net-libs/nodejs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.124&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.124&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?r1=1.123&r2=1.124 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v |
20 |
retrieving revision 1.123 |
21 |
retrieving revision 1.124 |
22 |
diff -u -r1.123 -r1.124 |
23 |
--- ChangeLog 23 Jul 2014 03:51:35 -0000 1.123 |
24 |
+++ ChangeLog 1 Aug 2014 06:02:08 -0000 1.124 |
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.123 2014/07/23 03:51:35 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.124 2014/08/01 06:02:08 patrick Exp $ |
30 |
+ |
31 |
+*nodejs-0.10.30 (01 Aug 2014) |
32 |
+*nodejs-0.8.28 (01 Aug 2014) |
33 |
+ |
34 |
+ 01 Aug 2014; Patrick Lauer <patrick@g.o> +nodejs-0.10.30.ebuild, |
35 |
+ +nodejs-0.8.28.ebuild: |
36 |
+ Bump |
37 |
|
38 |
*nodejs-0.11.13-r1 (23 Jul 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-libs/nodejs/nodejs-0.10.30.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.10.30.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.10.30.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: nodejs-0.10.30.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.10.30.ebuild,v 1.1 2014/08/01 06:02:08 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 |
|
76 |
S=${WORKDIR}/node-v${PV} |
77 |
|
78 |
src_prepare() { |
79 |
# fix compilation on Darwin |
80 |
# http://code.google.com/p/gyp/issues/detail?id=260 |
81 |
sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die |
82 |
|
83 |
# make sure we use python2.* while using gyp |
84 |
sed -i -e "s/python/python2/" deps/npm/node_modules/node-gyp/gyp/gyp || die |
85 |
|
86 |
# less verbose install output (stating the same as portage, basically) |
87 |
sed -i -e "/print/d" tools/install.py || die |
88 |
|
89 |
tc-export CC CXX |
90 |
} |
91 |
|
92 |
src_configure() { |
93 |
local myconf="" |
94 |
! use npm && myconf="--without-npm" |
95 |
! use snapshot && myconf="${myconf} --without-snapshot" |
96 |
|
97 |
"${PYTHON}" configure --prefix="${EPREFIX}"/usr \ |
98 |
--shared-openssl --shared-zlib --without-dtrace ${myconf} || die |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
local V=1 |
103 |
export V |
104 |
emake out/Makefile |
105 |
emake -C out mksnapshot |
106 |
pax-mark m out/Release/mksnapshot |
107 |
emake |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
"${PYTHON}" tools/install.py install "${D}" |
112 |
|
113 |
use npm && dohtml -r "${ED}"/usr/lib/node_modules/npm/html/* |
114 |
rm -rf "${ED}"/usr/lib/node_modules/npm/doc "${ED}"/usr/lib/node_modules/npm/html |
115 |
rm -rf "${ED}"/usr/lib/dtrace |
116 |
|
117 |
pax-mark -m "${ED}"/usr/bin/node |
118 |
} |
119 |
|
120 |
src_test() { |
121 |
"${PYTHON}" tools/test.py --mode=release simple message || die |
122 |
} |
123 |
|
124 |
|
125 |
|
126 |
1.1 net-libs/nodejs/nodejs-0.8.28.ebuild |
127 |
|
128 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.8.28.ebuild?rev=1.1&view=markup |
129 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.8.28.ebuild?rev=1.1&content-type=text/plain |
130 |
|
131 |
Index: nodejs-0.8.28.ebuild |
132 |
=================================================================== |
133 |
# Copyright 1999-2014 Gentoo Foundation |
134 |
# Distributed under the terms of the GNU General Public License v2 |
135 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.8.28.ebuild,v 1.1 2014/08/01 06:02:08 patrick Exp $ |
136 |
|
137 |
EAPI=5 |
138 |
|
139 |
PYTHON_DEPEND="2" |
140 |
|
141 |
inherit python eutils multilib pax-utils |
142 |
|
143 |
# omgwtf |
144 |
RESTRICT="test" |
145 |
|
146 |
DESCRIPTION="Evented IO for V8 Javascript" |
147 |
HOMEPAGE="http://nodejs.org/" |
148 |
SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz" |
149 |
|
150 |
LICENSE="GPL-2" |
151 |
SLOT="0" |
152 |
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" |
153 |
IUSE="" |
154 |
|
155 |
DEPEND="dev-libs/openssl" |
156 |
RDEPEND="${PYTHON_DEPS} |
157 |
${DEPEND}" |
158 |
|
159 |
S=${WORKDIR}/node-v${PV} |
160 |
|
161 |
pkg_setup() { |
162 |
python_set_active_version 2 |
163 |
python_pkg_setup |
164 |
} |
165 |
|
166 |
src_prepare() { |
167 |
# fix compilation on Darwin |
168 |
# http://code.google.com/p/gyp/issues/detail?id=260 |
169 |
sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die |
170 |
python_convert_shebangs 2 tools/node-waf || die |
171 |
} |
172 |
|
173 |
src_configure() { |
174 |
# this is an autotools lookalike confuserator |
175 |
./configure --prefix="${EPREFIX}"/usr --openssl-use-sys --shared-zlib || die |
176 |
} |
177 |
|
178 |
src_compile() { |
179 |
emake || die |
180 |
} |
181 |
|
182 |
src_install() { |
183 |
local MYLIB=$(get_libdir) |
184 |
mkdir -p "${ED}"/usr/include/node |
185 |
mkdir -p "${ED}"/usr/bin |
186 |
mkdir -p "${ED}"/usr/"${MYLIB}"/node_modules/npm |
187 |
mkdir -p "${ED}"/usr/"${MYLIB}"/node |
188 |
cp 'src/eio-emul.h' 'src/ev-emul.h' '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" |
189 |
cp -R deps/uv/include/* "${ED}"/usr/include/node || die "Failed to copy stuff" |
190 |
cp -R deps/v8/include/* "${ED}"/usr/include/node || die "Failed to copy stuff" |
191 |
cp 'out/Release/node' "${ED}"/usr/bin/node || die "Failed to copy stuff" |
192 |
cp -R deps/npm/* "${ED}"/usr/"${MYLIB}"/node_modules/npm || die "Failed to copy stuff" |
193 |
cp -R tools/wafadmin "${ED}"/usr/"${MYLIB}"/node/ || die "Failed to copy stuff" |
194 |
cp 'tools/node-waf' "${ED}"/usr/bin/ || die "Failed to copy stuff" |
195 |
|
196 |
# now add some extra stupid just because we can |
197 |
# needs to be a symlink because of hardcoded paths ... no es bueno! |
198 |
dosym /usr/"${MYLIB}"/node_modules/npm/bin/npm-cli.js /usr/bin/npm |
199 |
pax-mark -m "${ED}"/usr/bin/node |
200 |
} |
201 |
|
202 |
src_test() { |
203 |
emake test || die |
204 |
} |