[Pkg-javascript-commits] [node-ebnf-parser] 02/02: use packaged jison
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Oct 15 16:54:17 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-ebnf-parser.
commit 436a742f8ccdcf73ee9f3c48386e3c62a294460b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Oct 15 22:22:56 2016 +0530
use packaged jison
---
debian/changelog | 4 ++--
debian/control | 2 +-
debian/patches/remove-npm.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ea3e876..1033dd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-node-ebnf-parser (0.1.10+dfsg-2) UNRELEASED; urgency=medium
+node-ebnf-parser (0.1.10+dfsg-2) unstable; urgency=medium
* Install generated js files
- -- Pirate Praveen <praveen at debian.org> Sat, 15 Oct 2016 21:54:16 +0530
+ -- Pirate Praveen <praveen at debian.org> Sat, 15 Oct 2016 22:22:01 +0530
node-ebnf-parser (0.1.10+dfsg-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 88d4d1d..316e5d1 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
- , npm
+ , jison
Standards-Version: 3.9.8
Homepage: https://github.com/zaach/ebnf-parser
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-ebnf-parser.git
diff --git a/debian/patches/remove-npm.patch b/debian/patches/remove-npm.patch
new file mode 100644
index 0000000..445063f
--- /dev/null
+++ b/debian/patches/remove-npm.patch
@@ -0,0 +1,21 @@
+Index: node-ebnf-parser/Makefile
+===================================================================
+--- node-ebnf-parser.orig/Makefile
++++ node-ebnf-parser/Makefile
+@@ -2,13 +2,13 @@
+ all: install build test
+
+ install:
+- npm install
++# npm install
+
+ build:
+- nodejs ./node_modules/.bin/jison bnf.y bnf.l
++ jison bnf.y bnf.l
+ mv bnf.js parser.js
+
+- nodejs ./node_modules/.bin/jison ebnf.y
++ jison ebnf.y
+ mv ebnf.js transform-parser.js
+
+ test:
diff --git a/debian/patches/series b/debian/patches/series
index 9b41a8d..1b323aa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
use_nodejs.patch
+remove-npm.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ebnf-parser.git
More information about the Pkg-javascript-commits
mailing list