[Pkg-javascript-devel] Bug#689302: eyes.js: FTBFS following node -> nodejs renaming
Colin Watson
cjwatson at ubuntu.com
Mon Oct 1 11:30:52 UTC 2012
Package: eyes.js
Version: 0.1.7-1
Severity: serious
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch quantal
eyes.js fails to build in unstable following the node -> nodejs
renaming. Here's a patch to take account of that.
* Cope with node -> nodejs renaming.
diff -Nru eyes.js-0.1.7/debian/patches/rename-nodejs.patch eyes.js-0.1.7/debian/patches/rename-nodejs.patch
--- eyes.js-0.1.7/debian/patches/rename-nodejs.patch 1970-01-01 01:00:00.000000000 +0100
+++ eyes.js-0.1.7/debian/patches/rename-nodejs.patch 2012-10-01 12:28:09.000000000 +0100
@@ -0,0 +1,28 @@
+Description: Cope with node -> nodejs renaming
+Author: Colin Watson <cjwatson at ubuntu.com>
+Forwarded: no
+Last-Update: 2012-10-01
+
+Index: b/Makefile
+===================================================================
+--- a/Makefile
++++ b/Makefile
+@@ -1,4 +1,4 @@
+ test:
+- @@node test/eyes-test.js
++ @@nodejs test/eyes-test.js
+
+ .PHONY: test
+Index: b/package.json
+===================================================================
+--- a/package.json
++++ b/package.json
+@@ -9,7 +9,7 @@
+ "dependencies" : [],
+ "main" : "./lib/eyes",
+ "version" : "0.1.7",
+- "scripts" : { "test": "node test/*-test.js" },
++ "scripts" : { "test": "nodejs test/*-test.js" },
+ "directories" : { "lib": "./lib", "test": "./test" },
+ "engines" : { "node": "> 0.1.90" }
+ }
diff -Nru eyes.js-0.1.7/debian/patches/series eyes.js-0.1.7/debian/patches/series
--- eyes.js-0.1.7/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ eyes.js-0.1.7/debian/patches/series 2012-10-01 12:23:20.000000000 +0100
@@ -0,0 +1 @@
+rename-nodejs.patch
diff -Nru eyes.js-0.1.7/debian/rules eyes.js-0.1.7/debian/rules
--- eyes.js-0.1.7/debian/rules 2011-12-23 06:06:44.000000000 +0000
+++ eyes.js-0.1.7/debian/rules 2012-10-01 12:27:01.000000000 +0100
@@ -36,4 +36,4 @@
DEB_INSTALL_DOCS_ALL += README.md
build/$(libpkgname)::
- $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,node test/eyes-test.js)
+ $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,nodejs test/eyes-test.js)
Thanks,
--
Colin Watson [cjwatson at ubuntu.com]
More information about the Pkg-javascript-devel
mailing list