debian/0000755000000000000000000000000012206667205007174 5ustar debian/watch0000644000000000000000000000011712206667205010224 0ustar version=3 https://github.com/dmajda/pegjs/tags .*/archive/v?(\d[\d\.]+).tar.gz debian/node-peg.links0000644000000000000000000000007412206667205011735 0ustar usr/lib/nodejs/peg-js/peg.js usr/lib/nodejs/peg-js/index.js debian/patches/0000755000000000000000000000000012206667205010623 5ustar debian/patches/0002-Use-Debian-node-lib-peg-js.patch0000644000000000000000000000040012206667205017003 0ustar diff --git a/bin/pegjs b/bin/pegjs index 23d74db..b609c98 100755 --- a/bin/pegjs +++ b/bin/pegjs @@ -2,7 +2,7 @@ var util = require("util"); var fs = require("fs"); -var PEG = require("../lib/peg"); +var PEG = require("peg-js"); /* Helpers */ debian/patches/series0000644000000000000000000000012212206667205012033 0ustar 0001-Use-Debian-nodejs-as-interpreter.patch 0002-Use-Debian-node-lib-peg-js.patch debian/patches/0001-Use-Debian-nodejs-as-interpreter.patch0000644000000000000000000000123312206667205020357 0ustar From: Daniel Pocock Date: Mon, 26 Aug 2013 16:56:54 +0200 Subject: Use Debian nodejs as interpreter --- bin/pegjs | 2 +- test/run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pegjs b/bin/pegjs index 23d74db..5251a98 100755 --- a/bin/pegjs +++ b/bin/pegjs @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env /usr/bin/nodejs var util = require("util"); var fs = require("fs"); diff --git a/test/run b/test/run index 849d616..674fff6 100755 --- a/test/run +++ b/test/run @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env /usr/bin/nodejs var util = require("util"), fs = require("fs"), debian/node-peg.manpages0000644000000000000000000000001712206667205012405 0ustar debian/pegjs.1 debian/rules0000755000000000000000000000022112206667205010247 0ustar #!/usr/bin/make -f %: dh $@ --builddirectory=. override_dh_auto_build: make dist # no make install support override_dh_auto_install: true debian/compat0000644000000000000000000000000212206667205010372 0ustar 9 debian/node-peg.install0000644000000000000000000000011312206667205012255 0ustar dist/node/bin/pegjs /usr/bin/ dist/node/lib/peg.js /usr/lib/nodejs/peg-js/ debian/control0000644000000000000000000000146012206667205010600 0ustar Source: pegjs Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Daniel Pocock Build-Depends: debhelper (>= 9.0.0), node-uglify Standards-Version: 3.9.4 Homepage: http://pegjs.majda.cz Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/pegjs.git Vcs-Git: git://git.debian.org/git/pkg-javascript/pegjs.git Package: node-peg Architecture: all Depends: ${misc:Depends}, nodejs (>= 0.6.19~dfsg1-3) Provides: pegjs Description: JavaScript parser generator PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily. debian/copyright0000644000000000000000000000274112206667205011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PEG.js Upstream-Contact: David Majda Source: https://github.com/dmajda/pegjs Files: * Copyright: 2010-2012, David Majda License: MIT Files: debian/* Copyright: 2013, Daniel Pocock License: GPL-3 On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/source/0000755000000000000000000000000012206667205010474 5ustar debian/source/format0000644000000000000000000000001412206667205011702 0ustar 3.0 (quilt) debian/node-peg.lintian-overrides0000644000000000000000000000010312206667205014244 0ustar # uses the NodeJS interpreter node-peg binary: unusual-interpreter debian/changelog0000644000000000000000000000022712206667205011047 0ustar pegjs (0.7.0-1) unstable; urgency=low * Initial upload (Closes: #720949) -- Daniel Pocock Mon, 26 Aug 2013 16:13:32 +0200 debian/pegjs.10000644000000000000000000000376212206667205010376 0ustar .\" Copyright (c) 2013 Daniel Pocock '\" '\" Redistribution and use in source and binary forms, with or without '\" modification, are permitted provided that the following conditions '\" are met: '\" '\" * Redistributions of source code must retain the above '\" copyright notice, this list of conditions and the following '\" disclaimer. '\" '\" * Redistributions in binary form must reproduce the above '\" copyright notice, this list of conditions and the following '\" disclaimer in the documentation and/or other materials '\" provided with the distribution. '\" '\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY '\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE '\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR '\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE '\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, '\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, '\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR '\" PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY '\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR '\" TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF '\" THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF '\" SUCH DAMAGE. .TH PEGJS 1 .SH NAME pegjs \- a JavaScript parser generator .SH SYNOPSIS .B pegjs [options] .SH DESCRIPTION This utility generates JavaScript parsers. .SH OPTIONS .TP .B \-\-help .br For full help text .br .SH BUGS The bug tracker can be reached by visiting the website \fIhttps://github.com/dmajda/pegjs/issues\fR Before sending a bug report, please verify that you have the latest version of PEG.js. Many bugs (major and minor) are fixed at each release, and if yours is out of date, the problem may already have been solved. .SH ADDITIONAL INFORMATION For further information, visit the website \fIhttps://github.com/dmajda/pegjs\fR debian/node-peg.docs0000644000000000000000000000001212206667205011535 0ustar README.md