1 |
patrick 13/08/01 04:21:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nodejs-0.10.15.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.95 net-libs/nodejs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.95&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.95&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?r1=1.94&r2=1.95 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v |
20 |
retrieving revision 1.94 |
21 |
retrieving revision 1.95 |
22 |
diff -u -r1.94 -r1.95 |
23 |
--- ChangeLog 19 Jul 2013 06:52:01 -0000 1.94 |
24 |
+++ ChangeLog 1 Aug 2013 04:21:25 -0000 1.95 |
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.94 2013/07/19 06:52:01 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.95 2013/08/01 04:21:25 patrick Exp $ |
30 |
+ |
31 |
+*nodejs-0.10.15 (01 Aug 2013) |
32 |
+ |
33 |
+ 01 Aug 2013; Patrick Lauer <patrick@g.o> +nodejs-0.10.15.ebuild: |
34 |
+ Bump |
35 |
|
36 |
*nodejs-0.11.4 (19 Jul 2013) |
37 |
*nodejs-0.10.13 (19 Jul 2013) |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-libs/nodejs/nodejs-0.10.15.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.10.15.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.10.15.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nodejs-0.10.15.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.10.15.ebuild,v 1.1 2013/08/01 04:21:25 patrick Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
# has known failures. sigh. |
55 |
RESTRICT="test" |
56 |
|
57 |
PYTHON_COMPAT=( python2_{5,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 |
virtual/python-json" |
73 |
|
74 |
S=${WORKDIR}/node-v${PV} |
75 |
|
76 |
src_prepare() { |
77 |
# fix compilation on Darwin |
78 |
# http://code.google.com/p/gyp/issues/detail?id=260 |
79 |
sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die |
80 |
|
81 |
# make sure we use python2.* while using gyp |
82 |
sed -i -e "s/python/python2/" deps/npm/node_modules/node-gyp/gyp/gyp || die |
83 |
|
84 |
# less verbose install output (stating the same as portage, basically) |
85 |
sed -i -e "/print/d" tools/install.py || die |
86 |
} |
87 |
|
88 |
src_configure() { |
89 |
local myconf="" |
90 |
! use npm && myconf="--without-npm" |
91 |
|
92 |
"${PYTHON}" configure --prefix="${EPREFIX}"/usr \ |
93 |
--openssl-use-sys --shared-zlib --without-dtrace ${myconf} || die |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
emake out/Makefile |
98 |
emake -C out mksnapshot |
99 |
pax-mark m out/Release/mksnapshot |
100 |
emake |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
"${PYTHON}" tools/install.py install "${D}" |
105 |
|
106 |
use npm && dohtml -r "${ED}"/usr/lib/node_modules/npm/html/* |
107 |
rm -rf "${ED}"/usr/lib/node_modules/npm/doc "${ED}"/usr/lib/node_modules/npm/html |
108 |
rm -rf "${ED}"/usr/lib/dtrace |
109 |
|
110 |
pax-mark -m "${ED}"/usr/bin/node |
111 |
} |
112 |
|
113 |
src_test() { |
114 |
"${PYTHON}" tools/test.py --mode=release simple message || die |
115 |
} |