summaryrefslogtreecommitdiff
path: root/community/nodejs
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-07 11:24:34 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-07 11:24:34 -0300
commita607668699d0ed030ac69ed31969dfa266439e38 (patch)
tree5b3e076437e78d8624668454afc1d82750d54c8a /community/nodejs
parent6b015d22b5b59eddb6e8c40989017d8492ac912c (diff)
parenta4d309341dbcd3c28ee68e818c1d5ef54114adf8 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/libraw/PKGBUILD community-testing/virtualbox-modules/PKGBUILD community-testing/virtualbox-modules/virtualbox-modules.install community-testing/virtualbox/PKGBUILD community-testing/virtualbox/vboxdrv-reference.patch community-testing/virtualbox/virtualbox.install community-testing/vtk/PKGBUILD community/audex/PKGBUILD community/critter/PKGBUILD community/egoboo/PKGBUILD community/fcgiwrap/PKGBUILD community/hping/PKGBUILD community/libesmtp/PKGBUILD community/lockdev/PKGBUILD community/pidgin-musictracker/PKGBUILD community/pidgin-otr/PKGBUILD community/pylibacl/PKGBUILD community/pypanel/PKGBUILD community/rdiff-backup/PKGBUILD community/steghide/PKGBUILD community/tabbed/PKGBUILD community/transset-df/PKGBUILD community/wyrd/PKGBUILD core/openldap/PKGBUILD core/sqlite3/PKGBUILD extra/fltk/PKGBUILD extra/thunar/PKGBUILD extra/xfce4-clipman-plugin/PKGBUILD multilib/lib32-acl/PKGBUILD multilib/lib32-alsa-oss/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-libffi/PKGBUILD multilib/lib32-libmng/PKGBUILD multilib/lib32-libpciaccess/PKGBUILD multilib/lib32-libusb-compat/PKGBUILD multilib/lib32-libusb/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'community/nodejs')
-rw-r--r--community/nodejs/PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index 9b52bb45e..434e82574 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -6,8 +6,8 @@
# Contributor: TIanyi Cui <tianyicui@gmail.com>
pkgname=nodejs
-pkgver=0.4.12
-pkgrel=2
+pkgver=0.6.0
+pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64' 'mips64el')
url='http://nodejs.org/'
@@ -15,20 +15,18 @@ license=('MIT')
depends=('python2')
checkdepends=('curl') # curl used for check()
optdepends=('openssl: TLS support')
-source=("http://nodejs.org/dist/node-v${pkgver}.tar.gz")
-sha256sums=('c01af05b933ad4d2ca39f63cac057f54f032a4d83cff8711e42650ccee24fce4')
+options=('!emptydirs')
+source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz")
+md5sums=('c05f2dadd4d82c0d72dbc116e82cfc0e')
build() {
cd node-v${pkgver}
- # python2 fix
- for file in $(find . -name '*.py' -print) wscript tools/waf-light tools/node-waf
- do
- sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' ${file}
- sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' ${file}
- done
+ msg 'fixing for python2 name'
+ find -type f -exec sed -e 's_^#!/usr/bin/env python$_&2_' -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' -e 's_^#!/usr/bin/python$_&2_' -i {} \;
sed -i "s|cmd_R = 'python |cmd_R = 'python2 |" wscript
sed -i "s|python |python2 |" Makefile
+ find test -type f -exec sed -e 's/python/&2/' -i {} \;
./configure \
--prefix=/usr
@@ -39,7 +37,8 @@ build() {
check() {
cd node-v${pkgver}
- make test
+ # test failures in 0.6.0 are known
+ make test || true
}
package() {