debian/0000755000000000000000000000000012050724073007166 5ustar debian/libjs-coffeescript.install0000644000000000000000000000012711675306040014335 0ustar extras/coffee-script.js debian/coffee-script.min.js usr/share/javascript/coffeescript/ debian/patches/0000755000000000000000000000000012007612313010610 5ustar debian/patches/use_usr-bin-nodejs.patch0000644000000000000000000000146512007612313015352 0ustar Description: Use /usr/bin/nodejs (not /usr/bin/env node) Author: Jonas Smedegaard Forwarded: no Last-Update: 2012-08-06 --- a/bin/cake +++ b/bin/cake @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/nodejs var path = require('path'); var fs = require('fs'); --- a/bin/coffee +++ b/bin/coffee @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/nodejs var path = require('path'); var fs = require('fs'); --- a/Cakefile +++ b/Cakefile @@ -34,7 +34,7 @@ # Run a CoffeeScript through our node/coffee interpreter. run = (args, cb) -> - proc = spawn 'node', ['bin/coffee'].concat(args) + proc = spawn 'nodejs', ['bin/coffee'].concat(args) proc.stderr.on 'data', (buffer) -> console.log buffer.toString() proc.on 'exit', (status) -> process.exit(1) if status != 0 debian/patches/series0000644000000000000000000000013212007610126012021 0ustar support-system-wide-install.patch avoid-tests-during-build.patch use_usr-bin-nodejs.patch debian/patches/support-system-wide-install.patch0000644000000000000000000000343311674643324017303 0ustar Description: Support system-wide and deferred installation Add options --destdir and --nodedir. Author: Jonas Smedegaard Forwarded: no Last-Update: 2011-07-09 --- a/Cakefile +++ b/Cakefile @@ -46,21 +46,27 @@ option '-p', '--prefix [DIR]', 'set the installation prefix for `cake install`' +option '-d', '--destdir [DIR]', 'set the installation destdir for `cake install`' + +option '-n', '--nodedir [DIR]', 'set the installation nodedir for `cake install`' + task 'install', 'install CoffeeScript into /usr/local (or --prefix)', (options) -> base = options.prefix or '/usr/local' + destdir = options.destdir or '' lib = "#{base}/lib/coffee-script" bin = "#{base}/bin" - node = "~/.node_libraries/coffee-script" - console.log "Installing CoffeeScript to #{lib}" + nodedir = options.nodedir or "~/.node_libraries" + node = "#{nodedir}/coffee-script" + console.log "Installing CoffeeScript to #{destdir}#{lib}" console.log "Linking to #{node}" - console.log "Linking 'coffee' to #{bin}/coffee" + console.log "Linking 'coffee' to #{destdir}#{bin}/coffee" exec([ - "mkdir -p #{lib} #{bin}" - "cp -rf bin lib LICENSE README package.json src #{lib}" - "ln -sfn #{lib}/bin/coffee #{bin}/coffee" - "ln -sfn #{lib}/bin/cake #{bin}/cake" - "mkdir -p ~/.node_libraries" - "ln -sfn #{lib}/lib/coffee-script #{node}" + "mkdir -p #{destdir}#{lib} #{destdir}#{bin}" + "cp -rf bin lib LICENSE README package.json src #{destdir}#{lib}" + "ln -sfn #{lib}/bin/coffee #{destdir}#{bin}/coffee" + "ln -sfn #{lib}/bin/cake #{destdir}#{bin}/cake" + "mkdir -p #{destdir}#{nodedir}" + "ln -sfn #{lib}/lib/coffee-script #{destdir}#{node}" ].join(' && '), (err, stdout, stderr) -> if err then console.log stderr.trim() else log 'done', green ) debian/patches/avoid-tests-during-build.patch0000644000000000000000000000105711675012504016467 0ustar Description: Avoid invoking regression tests as part of normal build Author: Jonas Smedegaard Forwarded: no Last-Update: 2011-08-20 --- a/Cakefile +++ b/Cakefile @@ -128,8 +128,6 @@ {parser, uglify} = require 'uglify-js' code = uglify.gen_code uglify.ast_squeeze uglify.ast_mangle parser.parse code fs.writeFileSync 'extras/coffee-script.js', header + '\n' + code - console.log "built ... running browser tests:" - invoke 'test:browser' task 'doc:site', 'watch and continually rebuild the documentation for the website', -> debian/control0000644000000000000000000000730412050723131010567 0ustar Source: coffeescript Section: devel Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard , Geza Kovacs Build-Depends: devscripts, cdbs (>= 0.4.106~), debhelper, dh-buildinfo, nodejs (>= 0.6.19~dfsg1-3~), node-uglify, help2man Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/coffeescript.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/coffeescript.git Homepage: http://coffeescript.org/ Package: coffeescript Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${cdbs:Depends} Suggests: ${cdbs:Suggests} Provides: ${cdbs:Provides} Description: interpreter and compiler for the CoffeeScript language CoffeeScript is a little language that compiles into JavaScript. Underneath all of those embarrassing braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way. . The golden rule of CoffeeScript is: "It's just JavaScript". The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript. . The "cake" executable is provided as "cake.coffeescript" to peacefully coexist with cakephp. Package: libjs-coffeescript Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: client-side interpreter for the CoffeeScript language CoffeeScript is a little language that compiles into JavaScript. Underneath all of those embarrassing braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way. . The golden rule of CoffeeScript is: "It's just JavaScript". The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript. . This package contains a concatenated and compressed version of the CoffeeScript compiler. To use it in the browser, include the script after any inline script tags of type "text/coffeescript" on the page. It will compile and evaluate all of the scripts in order. Package: coffeescript-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: documentation for the CoffeeScript language CoffeeScript is a little language that compiles into JavaScript. Underneath all of those embarrassing braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way. . The golden rule of CoffeeScript is: "It's just JavaScript". The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript. . This package contains documentation. debian/source/0000755000000000000000000000000011667116251010474 5ustar debian/source/format0000644000000000000000000000001411606277273011707 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002173212050724073011045 0ustar coffeescript (1.4.0-1) unstable; urgency=low * New upstream source. [ Jonas Smedegaard ] * Update watch and rules files to directly use github.com URL (not githubredir.debian.net). * Update copyright file: + Refer to upstream issue tracker as main contact URL. + Include email for main author. * Bump dephelper compatibility level to 8. * Update package relations: + Tighten build-dependency on cdbs: Needed for handling upstream cruft, done by CDBS from now on. -- Jonas Smedegaard Wed, 14 Nov 2012 15:11:10 +0100 coffeescript (1.3.3-3) unstable; urgency=low * Really fix build-depend on nodejs. -- Jonas Smedegaard Mon, 06 Aug 2012 14:40:00 +0200 coffeescript (1.3.3-2) unstable; urgency=low * Fix explicitly build-depend on nodejs (used in cakefile to build coffeescript). * Add patch to call binary /usr/bin/nodejs (not node) during build, adjust rules file to do the same for installed wrappers, and tighten (build-)dependency on nodejs. See bug#614907. -- Jonas Smedegaard Mon, 06 Aug 2012 02:24:17 +0200 coffeescript (1.3.3-1) unstable; urgency=low * New upstream release. + Due to the new semantics of JavaScript's strict mode, CoffeeScript no longer guarantees that constructor functions have names in all runtimes. + Inside of a nested function inside of an instance method, it's now possible to call 'super' more reliably (walks recursively up). + Named loop variables no longer have different scoping heuristics than other local variables. + Fix for splats nested within the LHS of destructuring assignment. + Corrections to our compile time strict mode forbidding of octal literals. * Fix extend copyright years for Debian packaging. -- Jonas Smedegaard Wed, 23 May 2012 21:26:47 +0200 coffeescript (1.3.1-1) unstable; urgency=low * New upstream release. * Fix tighten watch file regex. * Bump standards-version to 3.9.3. * Use anonscm.debian.org for Vcs-Browser field. * Update copyright file: + Extend copyright years. + Bump format to 1.0. + Fix double-indent in Copyright fields as per Policy §5.6.13. + Drop virtually empty License section GPL-2. * Relax to depend unversioned on nodejs: Required version satisfied in unstable, and no earlier release exist in other suites. -- Jonas Smedegaard Fri, 13 Apr 2012 12:38:38 -0400 coffeescript (1.2.0-2) unstable; urgency=low * Fix paths when invoking from command-line. * Fix install code for browsers below /usr/share (not /usr/lib). * Provide uncompressed (not only compressed) code for browsers. -- Jonas Smedegaard Sat, 24 Dec 2011 15:25:09 +0700 coffeescript (1.2.0-1) unstable; urgency=low * New upstream release. * Fix add trailing newline to watch file. * Drop dpkg local-options hints from packaging source: now defaults. * Update package relations: + Provide node-coffeescript (not libnode-coffeescript). + Build-depend on node-uglify (not versioned on libnode-uglify). + Relax to build-depend unversioned on devscripts and debhelper: Needed versions are available even in unstable. + Relax slightly versioning of build-dependency on cdbs. * Unfuzz patches. * Update copyright file: + Update Files section for (unused!) convenience copy of jquery). -- Jonas Smedegaard Fri, 23 Dec 2011 12:45:34 +0700 coffeescript (1.1.2-2) unstable; urgency=low * Install jsl.conf as example file (not below /etc). -- Jonas Smedegaard Sat, 20 Aug 2011 18:51:44 +0200 coffeescript (1.1.2-1) unstable; urgency=low * New upstream release. * Add patch to avoid regression tests as part of normal build. * Unfuzz patches. * Do regression tests for both main and browser code, and respect DEB_BUILD_OPTIONS nocheck keyword. * Drop installing extras/EXTRAS: no longer shipped upstream. -- Jonas Smedegaard Sat, 20 Aug 2011 17:38:06 +0200 coffeescript (1.1.1-3) unstable; urgency=low * Rebuild to let ftpmasters know that this is not same code as was earlier rejected. -- Jonas Smedegaard Mon, 25 Jul 2011 13:24:52 +0200 coffeescript (1.1.1-2) unstable; urgency=low * Provide command-line utility "cake" as "cake.coffeescript" to peacefully coexist with cakephp. Closes: bug#633429. Thanks to Ralf Treinen. -- Jonas Smedegaard Mon, 11 Jul 2011 11:47:21 +0200 coffeescript (1.1.1-1) unstable; urgency=low * New upstream release. [ Geza Kovacs ] * Remove patch because nodejs now uses upstream names. Closes: bug#611701, #623704. Thanks to Lionel Landwerlin. * Minimum nodejs dependency version bumped to 0.2.6 [ Jonas Smedegaard ] * Packaging moved to Debian Javascript Maintainers, with myself and Geza as uploaders. * Switch packaging to CDBS (from short-form dh). + Track build-dependencies. + implement get-orig-source target. + track copyright/licensing changes. + Declare package relations in rules file. + Drop install hints now superfluous (detected automagically). * Ease building with git-buildpackage: + Git-ignore quilt .pc dir. + Add dpkg-source local-options. * Add git-buildpackage config, enabling pristine-tar and signed tags. * Tighten access rights fixup. * Add copyright and licensing header for debian subdir to rules file. * Add Last-Update hint to patch DEP3 header. * Update copyright file: + Change licensing of debian subdir to GPL-2+ (from MIT). + Reformat to draft 174 of DEP-5. + Drop obsolete Files sections. + Rename main License section to Expat (from ambigous MIT). + Consistently wrap multiline sections at 72 chars. + Use download list page (not homepage) as Source URL. + Add Files section for convenience copy of jquery (no new license). + Bump (yes, not extend) main copyright timeframe. * Update control file. Add copyright hints. * Fix add path segment to Homepage URL. * Rewrite long descriptions based on upstream intro. * Fix revert (accidental?) patch to upstream files. * Compile code from itself using upstream build routines (not just redistribute upstream prebuild code). + As a bonus, fix include /usr/bin/cake in coffeescript package. * Generate coffee.1 manpage at package build time. * Add binary package libjs-coffeescript. Closes: bug#611703. * Have coffeescript provide libnode-coffeescript. * Bump policy compliance to standards-version 3.9.2. * Install examples. -- Jonas Smedegaard Sat, 09 Jul 2011 05:39:03 +0200 coffeescript (1.0.0-1) unstable; urgency=low * New upstream release * Minimum nodejs dependency version bumped to 0.2.5 -- Geza Kovacs Wed, 29 Dec 2010 04:01:12 -0500 coffeescript (0.9.4-1) unstable; urgency=low * New upstream release -- Geza Kovacs Sat, 25 Sep 2010 11:55:43 -0400 coffeescript (0.7.2-1) unstable; urgency=low * New upstream release * Bumped Standards-Version to 3.9.1, no changes needed. -- Geza Kovacs Sun, 01 Aug 2010 14:42:04 -0700 coffeescript (0.7.0-1) unstable; urgency=low * New upstream release * Updated nodejs dependency to 0.1.99 -- Geza Kovacs Wed, 30 Jun 2010 19:19:57 -0700 coffeescript (0.6.2-1) unstable; urgency=low * New upstream release - Syntax for block comments - DRY-style pattern matching supported - Pattern matching allowed within comprehension variables - unless statement allowed in block form - until loops added - switch statements allowed without switch object clauses * Added Vcs-Git and Vcs-Browser fields * Updated nodejs dependency to 0.1.95 * Don't install cake to /usr/bin (Closes: #581913) -- Geza Kovacs Sun, 16 May 2010 12:31:23 -0400 coffeescript (0.6.1-1) unstable; urgency=low * New upstream release. - Compatible with the Node.js 0.1.90 series. * Updated nodejs dependency to 0.1.90 -- Geza Kovacs Fri, 14 May 2010 13:24:05 -0400 coffeescript (0.5.6-3) unstable; urgency=low * Add copyright section for vendor/jison (Closes: #575437) * Add copyright section for extras/coffee.vim -- Geza Kovacs Fri, 16 Apr 2010 22:45:23 -0400 coffeescript (0.5.6-2) unstable; urgency=low * Make js library files non-executable * Add note that patches are not meant to be forwarded upstream * Remove unused install section from rules -- Geza Kovacs Sat, 03 Apr 2010 10:03:57 -0400 coffeescript (0.5.6-1) unstable; urgency=low * Initial release (Closes: #575437) * Change coffeescript section to devel * Change coffeescript-doc section to doc * Install docs to /usr/share/doc * Add patch to fix nodejs path * Add patch to install libraries into /usr/lib/coffeescript * Add descriptions to patches * Register coffeescript-doc with doc-base * Change name entry for coffee manpage to be more descriptive -- Geza Kovacs Fri, 02 Apr 2010 19:39:31 -0400 debian/manpages0000644000000000000000000000002011606277273010707 0ustar debian/coffee.1 debian/README.Debian0000644000000000000000000000032411606536612011234 0ustar CoffeeScript for Debian ======================= The "cake" executable is provided as "cake.coffeescript" to peacefully coexist with cakephp. -- Jonas Smedegaard Mon, 11 Jul 2011 11:06:46 +0200 debian/compat0000644000000000000000000000000212050720317010361 0ustar 8 debian/watch0000644000000000000000000000013212050717710010213 0ustar version=3 https://github.com/jashkenas/coffee-script/tags .*/archive/v?(\d[\d\.]+).tar.gz debian/copyright_hints0000644000000000000000000001605612050722242012332 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: CNAME CONTRIBUTING.md README Rakefile bin/cake bin/coffee debian/README.Debian debian/coffeescript-doc.doc-base debian/coffeescript-doc.install debian/coffeescript.install debian/compat debian/control debian/control.in debian/gbp.conf debian/libjs-coffeescript.install debian/manpages debian/patches/avoid-tests-during-build.patch debian/patches/series debian/patches/support-system-wide-install.patch debian/patches/use_usr-bin-nodejs.patch debian/source/format debian/watch documentation/coffee/aliases.coffee documentation/coffee/array_comprehensions.coffee documentation/coffee/block_comment.coffee documentation/coffee/cake_tasks.coffee documentation/coffee/classes.coffee documentation/coffee/comparisons.coffee documentation/coffee/conditionals.coffee documentation/coffee/default_args.coffee documentation/coffee/do.coffee documentation/coffee/embedded.coffee documentation/coffee/existence.coffee documentation/coffee/expressions.coffee documentation/coffee/expressions_assignment.coffee documentation/coffee/expressions_comprehension.coffee documentation/coffee/expressions_try.coffee documentation/coffee/fat_arrow.coffee documentation/coffee/functions.coffee documentation/coffee/heredocs.coffee documentation/coffee/heregexes.coffee documentation/coffee/interpolation.coffee documentation/coffee/multiple_return_values.coffee documentation/coffee/object_comprehensions.coffee documentation/coffee/object_extraction.coffee documentation/coffee/objects_and_arrays.coffee documentation/coffee/objects_reserved.coffee documentation/coffee/overview.coffee documentation/coffee/parallel_assignment.coffee documentation/coffee/patterns_and_splats.coffee documentation/coffee/prototypes.coffee documentation/coffee/range_comprehensions.coffee documentation/coffee/scope.coffee documentation/coffee/slices.coffee documentation/coffee/soaks.coffee documentation/coffee/splats.coffee documentation/coffee/splices.coffee documentation/coffee/strings.coffee documentation/coffee/switch.coffee documentation/coffee/try.coffee documentation/coffee/while.coffee documentation/css/docs.css documentation/css/idle.css documentation/docs/browser.html documentation/docs/cake.html documentation/docs/coffee-script.html documentation/docs/command.html documentation/docs/docco.css documentation/docs/grammar.html documentation/docs/helpers.html documentation/docs/index.html documentation/docs/lexer.html documentation/docs/nodes.html documentation/docs/optparse.html documentation/docs/repl.html documentation/docs/rewriter.html documentation/docs/scope.html documentation/images/background.png documentation/images/banding.png documentation/images/button_bg.png documentation/images/button_bg_dark.gif documentation/images/button_bg_green.gif documentation/images/favicon.ico documentation/images/screenshadow.png documentation/js/aliases.js documentation/js/array_comprehensions.js documentation/js/block_comment.js documentation/js/cake_tasks.js documentation/js/classes.js documentation/js/comparisons.js documentation/js/conditionals.js documentation/js/default_args.js documentation/js/do.js documentation/js/embedded.js documentation/js/existence.js documentation/js/expressions.js documentation/js/expressions_assignment.js documentation/js/expressions_comprehension.js documentation/js/expressions_try.js documentation/js/fat_arrow.js documentation/js/functions.js documentation/js/heredocs.js documentation/js/heregexes.js documentation/js/interpolation.js documentation/js/multiple_return_values.js documentation/js/object_comprehensions.js documentation/js/object_extraction.js documentation/js/objects_and_arrays.js documentation/js/objects_reserved.js documentation/js/overview.js documentation/js/parallel_assignment.js documentation/js/patterns_and_splats.js documentation/js/prototypes.js documentation/js/range_comprehensions.js documentation/js/scope.js documentation/js/slices.js documentation/js/soaks.js documentation/js/splats.js documentation/js/splices.js documentation/js/strings.js documentation/js/switch.js documentation/js/try.js documentation/js/while.js examples/beautiful_code/binary_search.coffee examples/beautiful_code/quicksort_runtime.coffee examples/beautiful_code/regular_expression_matcher.coffee examples/blocks.coffee examples/code.coffee examples/computer_science/README examples/computer_science/binary_search.coffee examples/computer_science/bubble_sort.coffee examples/computer_science/linked_list.coffee examples/computer_science/luhn_algorithm.coffee examples/computer_science/merge_sort.coffee examples/computer_science/selection_sort.coffee examples/poignant.coffee examples/potion.coffee examples/web_server.coffee extras/jsl.conf lib/coffee-script/browser.js lib/coffee-script/cake.js lib/coffee-script/coffee-script.js lib/coffee-script/command.js lib/coffee-script/grammar.js lib/coffee-script/helpers.js lib/coffee-script/index.js lib/coffee-script/lexer.js lib/coffee-script/nodes.js lib/coffee-script/optparse.js lib/coffee-script/parser.js lib/coffee-script/repl.js lib/coffee-script/rewriter.js lib/coffee-script/scope.js package.json src/browser.coffee src/cake.coffee src/coffee-script.coffee src/command.coffee src/grammar.coffee src/helpers.coffee src/index.coffee src/lexer.coffee src/nodes.coffee src/optparse.coffee src/repl.coffee src/rewriter.coffee src/scope.coffee test/arrays.coffee test/assignment.coffee test/booleans.coffee test/classes.coffee test/comments.coffee test/compilation.coffee test/comprehensions.coffee test/control_flow.coffee test/eval.coffee test/exception_handling.coffee test/formatting.coffee test/function_invocation.coffee test/functions.coffee test/helpers.coffee test/importing.coffee test/interpolation.coffee test/javascript_literals.coffee test/numbers.coffee test/objects.coffee test/operators.coffee test/option_parser.coffee test/ranges.coffee test/regexps.coffee test/repl.coffee test/scope.coffee test/slicing_and_splicing.coffee test/soaks.coffee test/strict.coffee test/strings.coffee test/test.html Copyright: *No copyright* License: UNKNOWN FIXME Files: Cakefile extras/coffee-script.js Copyright: 2011, Jeremy Ashkenas License: UNKNOWN FIXME Files: documentation/index.html.erb index.html Copyright: headers. Better License: UNKNOWN FIXME Files: debian/rules Copyright: 2010, Geza Kovacs 2011-2012, Jonas Smedegaard License: GPL-2+ FIXME Files: LICENSE Copyright: 2009-2012, Jeremy Ashkenas License: MIT/X11 (BSD like) FIXME Files: examples/underscore.coffee Copyright: 2011, Jeremy Ashkenas, DocumentCloud Inc.** License: UNKNOWN FIXME Files: documentation/docs/underscore.html Copyright: 2011, Jeremy Ashkenas, DocumentCloud Inc. License: UNKNOWN FIXME Files: documentation/vendor/jquery-1.6.4.js Copyright: 2011, John Resig 2011, The Dojo Foundation License: UNKNOWN FIXME debian/copyright0000644000000000000000000000510212050720156011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: CoffeeScript Upstream-Contact: https://github.com/jashkenas/coffee-script/issues Source: https://github.com/jashkenas/coffee-script/downloads Files: * Copyright: 2011-2012, Jeremy Ashkenas License: Expat Released under the MIT License Comment: Included file LICENSE indicates that it is the Expat variant of MIT. Files: documentation/vendor/jquery-1.6.4.js Copyright: 2011, John Resig 2011, The Dojo Foundation License: Expat or GPL-2 Dual licensed under the MIT and GPL licenses. Comment: Upstream VCS indicates that it is the Expat variant of MIT and GPL version 2. Files: debian/* Copyright: 2010, Geza Kovacs 2011-2012, Jonas Smedegaard License: GPL-2+ 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. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/coffeescript.install0000644000000000000000000000011711606535273013241 0ustar usr/bin/ usr/lib/coffee-script/lib/ usr/lib/coffee-script/src/ usr/lib/nodejs/ debian/gbp.conf0000644000000000000000000000014611606277273010621 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000731612050723055010254 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2010, Geza Kovacs # Copyright © 2011, 2012, Jonas Smedegaard # Description: Debian packaging script for CoffeeScript # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = $(DEB_SOURCE_PACKAGE) DEB_UPSTREAM_URL = http://github.com/jashkenas/coffee-script/archive DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION) DEB_UPSTREAM_TARBALL_MD5 = a0458d7be234b9952103d680f0e68e52 # suppress checking binary file, to not upset dpkg-source DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^documentation/images/logo\.png|debian/(changelog|copyright(|_hints|_newhints))$ deps = nodejs (>= 0.6.19~dfsg1-3~) CDBS_BUILD_DEPENDS += , $(deps) CDBS_DEPENDS_$(pkg) = $(deps) CDBS_RECOMMENDS_libjs-$(pkg) = javascript-common CDBS_SUGGESTS_$(pkg) = libjs-$(pkg) CDBS_SUGGESTS_libjs-$(pkg) = coffeescript CDBS_PROVIDES_coffeescript = node-coffeescript DEB_INSTALL_EXAMPLES_$(pkg) += examples/* extras/jsl.conf # put aside upstream-shipped autogenerated files during build DEB_UPSTREAM_CRUFT_COPY = lib extras # Compile from itself (build twice to mimic build:full without testing) # TODO: add build:parser when jison is available in Debian # TODO: add build:ultraviolet when ruby-uv is in Debian # TODO: compile docs when docco is in Debian CDBS_BUILD_DEPENDS += , node-uglify # Provide "cake" as "cake.coffeescript" to peacefully coexist with cakephp cake = cake.coffeescript build/$(pkg):: debian/stamp-build debian/stamp-build: chmod +x bin/cake bin/cake build bin/cake build bin/cake build:browser $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,bin/cake test) $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,bin/cake test:browser) mv extras/coffee-script.js debian/coffee-script.min.js MINIFY=false bin/cake build:browser $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,bin/cake test:browser) echo '#!/usr/bin/nodejs' > debian/$(cake) echo >> debian/$(cake) echo "require('../lib/coffee-script/lib/coffee-script/cake').run();" >> debian/$(cake) echo '#!/usr/bin/nodejs' > debian/coffee echo >> debian/coffee echo "require('../lib/coffee-script/lib/coffee-script/command').run();" >> debian/coffee touch $@ clean:: rm -f debian/$(cake) debian/coffee debian/coffee-script.min.js rm -f debian/stamp-build install/$(pkg):: bin/cake --destdir debian/tmp --prefix /usr --nodedir /usr/lib/nodejs install rm -f debian/tmp/usr/bin/cake install -t debian/tmp/usr/bin/ debian/$(cake) debian/coffee # generate manpage based on --help option of script itself CDBS_BUILD_DEPENDS += , help2man manpages = debian/coffee.1 DEB_INSTALL_MANPAGES_$(pkg) = $(manpages) common-binary-indep:: $(manpages) $(manpages): install/$(pkg) $(manpages): debian/%.1 : bin/% help2man \ --name="interpreter and compiler for the CoffeeScript language" \ --version-string="$(DEB_NOEPOCH_VERSION)" \ --no-info \ --output=$@ \ $< clean:: rm -f $(manpages) binary-fixup/$(pkg):: chmod -R a-x,a+X $(cdbs_curdestdir)/usr/lib/coffee-script/lib/ $(cdbs_curdestdir)/usr/lib/coffee-script/src/ debian/coffeescript-doc.doc-base0000644000000000000000000000044411606277273014021 0ustar Document: coffeescript Title: CoffeeScript Manual Author: Jeremy Ashkenas Abstract: This manual describes what coffeescript is and how it can be used. Section: Programming Format: HTML Index: /usr/share/doc/coffeescript/html/coffee-script.html Files: /usr/share/doc/coffeescript/html/*.html debian/control.in0000644000000000000000000000713111742050763011205 0ustar Source: coffeescript Section: devel Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard , Geza Kovacs Build-Depends: @cdbs@ Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/coffeescript.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/coffeescript.git Homepage: http://coffeescript.org/ Package: coffeescript Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${cdbs:Depends} Suggests: ${cdbs:Suggests} Provides: ${cdbs:Provides} Description: interpreter and compiler for the CoffeeScript language CoffeeScript is a little language that compiles into JavaScript. Underneath all of those embarrassing braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way. . The golden rule of CoffeeScript is: "It's just JavaScript". The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript. . The "cake" executable is provided as "cake.coffeescript" to peacefully coexist with cakephp. Package: libjs-coffeescript Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${cdbs:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: client-side interpreter for the CoffeeScript language CoffeeScript is a little language that compiles into JavaScript. Underneath all of those embarrassing braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way. . The golden rule of CoffeeScript is: "It's just JavaScript". The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript. . This package contains a concatenated and compressed version of the CoffeeScript compiler. To use it in the browser, include the script after any inline script tags of type "text/coffeescript" on the page. It will compile and evaluate all of the scripts in order. Package: coffeescript-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: documentation for the CoffeeScript language CoffeeScript is a little language that compiles into JavaScript. Underneath all of those embarrassing braces and semicolons, JavaScript has always had a gorgeous object model at its heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way. . The golden rule of CoffeeScript is: "It's just JavaScript". The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript. . This package contains documentation. debian/coffeescript-doc.install0000644000000000000000000000006511606277273014011 0ustar documentation/docs/* usr/share/doc/coffeescript/html