debian/0000755000000000000000000000000012210735161007164 5ustar debian/libjs-zeparser.examples0000644000000000000000000000015712210734474013671 0ustar # SKIPPING benchmark.html as it contains embedded JS code interactive.html test-parser.html test-tokenizer.htmldebian/control0000644000000000000000000000312612210735134010571 0ustar Source: zeparser.js Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Mike Gabriel , Build-Depends: debhelper (>= 8.0.0), dh-buildinfo, nodejs (>= 0.6.19~dfsg1-3~), Standards-Version: 3.9.4 Homepage: https://github.com/qfox/ZeParser Vcs-Git: git://anonscm.debian.org/collab-maint/zeparser.js.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/zeparser.js.git Package: node-zeparser Architecture: all Depends: ${misc:Depends}, nodejs (>= 0.6.19~dfsg1-3~), Description: Javascript code parser module for Node.js Parse Javascript code elements with Node.js. The parser has two modes for parsing: simple and extended. . The simple mode is mainly for just parsing and returning the streams and a simple parse tree. There's not so much meta information here and this mode is mainly built for speed. . The extended mode has everything required for Zeon to do its job. . This package provides ZeParser as a Node.js module. Package: libjs-zeparser Architecture: all Depends: ${misc:Depends}, Description: Javascript library for parsing Javascript code Parse Javascript code elements with client-side Javascript (browser). The parser has two modes for parsing: simple and extended. . The simple mode is mainly for just parsing and returning the streams and a simple parse tree. There's not so much meta information here and this mode is mainly built for speed. . The extended mode has everything required for Zeon to do its job. . This package provides ZeParser as a Javascript library. debian/rules0000755000000000000000000000265012210734612010247 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_test: nodejs test.js PKD = $(abspath $(dir $(MAKEFILE_LIST))) PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source)) UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};') DTYPE = +dfsg VER ?= $(subst $(DTYPE),,$(UVER)) ## http://wiki.debian.org/onlyjob/get-orig-source .PHONY: get-orig-source get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.gz $(info I: $(PKG)_$(VER)$(DTYPE)) @ $(PKG)_$(VER)$(DTYPE).orig.tar.gz: @echo "# Downloading..." uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD) $(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..)) @echo "# Extracting..." mkdir $(PKG)-$(VER) \ && tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \ || $(RM) -r $(PKG)-$(VER) @echo "# Cleaning-up..." cd $(PKG)-$(VER) \ && $(RM) -r -v \ benchmark.html cd $(PKG)-$(VER) \ && find . -type f -exec chmod a-x -Rf {} \; $(RM) -v $(PKG)_$(VER).orig.tar.* @echo "# Packing..." find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \ | tar -caf "../$(PKG)_$(VER)$(DTYPE).orig.tar.gz" -T- --owner=root --group=root --mode=a+rX \ && $(RM) -r "$(PKG)-$(VER)" debian/libjs-zeparser.install0000644000000000000000000000021312210734474013512 0ustar Tokenizer.js usr/share/javascript/zeparser/ unicodecategories.js usr/share/javascript/zeparser/ ZeParser.js usr/share/javascript/zeparser/ debian/node-zeparser.links0000644000000000000000000000010412210734474013005 0ustar usr/lib/nodejs/zeparser/ZeParser.js usr/lib/nodejs/zeparser/index.jsdebian/compat0000644000000000000000000000000212210734474010370 0ustar 8 debian/patches/0000755000000000000000000000000012150476517010625 5ustar debian/copyright0000644000000000000000000000265312210734474011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ZeParser Upstream-Contact: Peter van der Zee https://github.com/qfox/ZeParser/issues Source: https://github.com/qfox/ZeParser Files: * Copyright: 2011, Peter van der Zee (http://qfox.nl/) License: Expat Files: debian/* Copyright: 2013, Mike Gabriel License: Expat License: Expat 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/libjs-zeparser.docs0000644000000000000000000000002412210734474012774 0ustar README package.json debian/node-zeparser.docs0000644000000000000000000000003512210734474012620 0ustar README package.json tests.js debian/watch0000644000000000000000000000026212210734474010223 0ustar version=3 opts=dversionmangle=s/\+dfsg//,filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/zeparser.js-$1.tar.gz/ \ https://github.com/qfox/ZeParser/tags .*/archive/v?([\d\.]+).tar.gz debian/node-zeparser.install0000644000000000000000000000017112210734474013337 0ustar Tokenizer.js usr/lib/nodejs/zeparser/ unicodecategories.js usr/lib/nodejs/zeparser/ ZeParser.js usr/lib/nodejs/zeparser/ debian/source/0000755000000000000000000000000012210734474010472 5ustar debian/source/format0000644000000000000000000000001412210734474011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000024412210735161011036 0ustar zeparser.js (0.0.7+dfsg-1) unstable; urgency=low * Initial release. (Closes: #709930). -- Mike Gabriel Mon, 02 Sep 2013 00:06:39 +0200