debian/0000775000000000000000000000000012470611704007172 5ustar debian/watch0000664000000000000000000000020012420042416010204 0ustar version=3 opts=dversionmangle=s/\~dfsg.*// \ https://github.com/documentcloud/underscore/tags .*/archive/v?(\d[\d\.]+)\.tar\.gz debian/rules0000775000000000000000000000402512420042416010244 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2010-2014 Jonas Smedegaard # Description: Main Debian packaging script for Underscore # # 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 3, 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 lib = $(DEB_SOURCE_PACKAGE) pkg = node-$(lib) jspkg = libjs-$(lib) CDBS_BUILD_DEPENDS += , yui-compressor DEB_UPSTREAM_URL = https://github.com/documentcloud/$(lib)/archive DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION) DEB_UPSTREAM_TARBALL_SRCDIR = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION) # Avoid unimportant and potentially DFSG-nonfree fonts DEB_UPSTREAM_REPACKAGE_EXCLUDES += docs/public/fonts/ DEB_INSTALL_DOCS_ALL += README.md index.html # TODO: generalize parts below as a CDBS javascript snippet js-basedir = #js-stems = $(basename $(wildcard $(js-basedir)*.js)) js-stems = $(lib) js-min = $(js-stems:$(js-basedir)%=debian/%.min.js) js-destdir = /usr/share/javascript/$(lib) DEB_DH_INSTALL_ARGS_$(jspkg) = $(addsuffix .js,$(js-stems)) debian/*.min.js $(js-destdir) build/$(jspkg):: $(js-min) $(js-min): debian/%.min.js: $(js-basedir)%.js yui-compressor $< -o $@ clean:: rm -f debian/*.js # TODO: maybe generalize parts below as a CDBS node snippet js-nodestem = $(lib) node-destdir = /usr/lib/nodejs/ DEB_DH_LINK_$(pkg) = $(js-destdir)/$(js-nodestem).js $(node-destdir)$(lib).js debian/copyright_hints0000664000000000000000000000335412420042416012330 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.md bower.json component.json debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch docs/favicon.ico docs/images/background.png docs/images/underscore.png docs/public/stylesheets/normalize.css favicon.ico package.json test/.eslintrc test/arrays.js test/chaining.js test/collections.js test/functions.js test/index.html test/objects.js test/utility.js test/vendor/runner.js underscore-min.map Copyright: *No copyright* License: UNKNOWN FIXME Files: underscore-min.js underscore.js Copyright: 2009-2014, Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors License: UNKNOWN FIXME Files: LICENSE Copyright: 2009-2014, Jeremy Ashkenas, DocumentCloud and Investigative License: Expat FIXME Files: debian/rules Copyright: 2010-2014, Jonas Smedegaard License: GPL-3+ FIXME Files: test/vendor/qunit.js Copyright: 2008, Ariel Flesler - aflesler(at)gmail(dot)com | 2013, jQuery Foundation and other contributors License: UNKNOWN FIXME Files: docs/underscore.html Copyright: 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors License: UNKNOWN FIXME Files: index.html Copyright: Cournoyer License: UNKNOWN FIXME Files: docs/docco.css Copyright: Vasily Polovnyov License: UNKNOWN FIXME Files: test/vendor/qunit.css Copyright: 2012, jQuery Foundation and other contributors License: UNKNOWN FIXME debian/control.in0000664000000000000000000000430112420042416011171 0ustar Source: underscore Section: web Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard , David Paleino Build-Depends: @cdbs@ Standards-Version: 3.9.6 Homepage: http://underscorejs.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/underscore Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/underscore.git Package: libjs-underscore Architecture: all Depends: ${misc:Depends} Recommends: libjs-jquery Suggests: javascript-common Description: JavaScript's functional programming helper library Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. . Underscore provides 60-odd functions that support both the usual functional suspects: map, select, invoke - as well as more specialized helpers: function binding, javascript templating, deep equality testing, and so on. It delegates to built-in functions, if present, so modern browsers will use the native implementations of forEach, map, reduce, filter, every, some and indexOf. Package: node-underscore Architecture: all Depends: ${misc:Depends} , nodejs , libjs-underscore Description: JavaScript's functional programming helper library - NodeJS Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. . Underscore provides 60-odd functions that support both the usual functional suspects: map, select, invoke - as well as more specialized helpers: function binding, javascript templating, deep equality testing, and so on. It delegates to built-in functions, if present, so modern browsers will use the native implementations of forEach, map, reduce, filter, every, some and indexOf. . This package contains the NodeJS module. debian/changelog0000664000000000000000000002255112470611704011051 0ustar underscore (1.7.0~dfsg-1ubuntu1) vivid; urgency=low * Merge from Debian unstable, remaining changes: - Suggest javascript-common instead of recommending it. - Build using yui-compressor, we don't want uglifyjs's dependencies in main. -- Dmitry Shachnev Tue, 17 Feb 2015 13:11:07 +0300 underscore (1.7.0~dfsg-1) unstable; urgency=medium [ upstream ] * New upstream release(s). * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Declare compliance with Debian Policy 3.9.6. * Fix use canonical Vcs-Git URL. * Update copyright info: + Bump packaging license to GPL-3+. + Extend packaging coverage to include recent years. + Add alternate git source URL. + Extend coverage for main upstream authors. + Cover docs/docco.css: BSD-3-clause licensed. * Repackage source to avoid unimportant and potentially DFSG-nonfree fonts. * Update Vcs-Browser URL to use cgit web frontend. * Stop track md5sum of upstream tarball. -- Jonas Smedegaard Thu, 16 Oct 2014 18:48:47 +0200 underscore (1.4.4-2ubuntu1) saucy; urgency=low * Merge from Debian unstable, remaining changes: - Suggest javascript-common instead of recommending it. - Build using yui-compressor, we don't want uglifyjs's dependencies in main. -- Dmitry Shachnev Wed, 19 Jun 2013 16:17:56 +0400 underscore (1.4.4-2) unstable; urgency=low * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Bump packaging license to GPL-3+, and extend coverage to include current year. * Add git URL as alternate source. * Stop tracking md5sum of upstream tarball. -- Jonas Smedegaard Mon, 13 May 2013 11:40:00 +0200 underscore (1.4.4-1) unstable; urgency=low [ upstream ] * New upstream release: + Added _.findWhere, for finding the first element in a list that matches a particular set of keys and values. + Added _.partial, for partially applying a function without changing its dynamic reference to this. + Simplified bind by removing some edge cases involving constructor functions. In short: don't _.bind your constructors. + A minor optimization to invoke. * Update copyright file: + Fix drop an obsolete reference to GPL. + Extend coverage of main copyright holder. + Fix add dummy GPL-2 License paragraph. * Have git-import-orig suppress .gitignore files. * Bump standards-version to 3.9.4. * Use anonscm.debian.org URL for control file Vcs-Git field. -- Jonas Smedegaard Tue, 05 Mar 2013 22:48:57 +0100 underscore (1.4.3-1ubuntu1) raring; urgency=low * Merge from Debian unstable (LP: #1127115). Remaining changes: - Suggest javascript-common instead of recommending it. - Build using yui-compressor, we don't want uglifyjs's dependencies in main. -- Dmitry Shachnev Sat, 16 Feb 2013 14:29:02 +0400 underscore (1.4.3-1) unstable; urgency=low [ upstream ] * New upstream release. + Improved compatibility with Adobe's JS engine that can be used to script Illustrator, Photoshop, and friends. + Added a default _.identity iterator to countBy and groupBy. + The uniq function can now take array, iterator, context as the argument list. + The times function now returns the mapped array of iterator results. + Simplified and fixed bugs in throttle. + For backwards compatibility, returned to pre-1.4.0 behavior when + passing null to iteration functions. They now become no-ops. [ Jonas Smedegaard ] * Bump dephelper compatibility level to 8. * Update watch and rules files to use new github.com URL. * Build-depend on devscripts, to always check copyrights during build. * Update copyright file: + Update Files sections for included code copies of other projects. + Fix use pseudo-license and pseudo-comment sections to obey silly restrictions of copyright format 1.0. -- Jonas Smedegaard Thu, 06 Dec 2012 19:32:54 +0100 underscore (1.4.1-1ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - Suggest javascript-common instead of recommending it. - Build using yui-compressor, we don't want uglifyjs's dependencies in main. -- Logan Rosen Fri, 30 Nov 2012 11:41:29 -0500 underscore (1.4.1-1) unstable; urgency=low * New upstream release. * Update upstream Homepage. * Directly use github.com (avoid unreliable githubredir.debian.net). -- Jonas Smedegaard Tue, 02 Oct 2012 11:51:59 +0200 underscore (1.3.3-1ubuntu1) quantal; urgency=low * Merge from Debian unstable (LP: #1006849) + Suggest javascript-common instead of recommending it. + Build using yui-compressor, we don't want uglifyjs's dependencies in main. -- Yolanda Robla Tue, 05 Jun 2012 10:01:48 +0200 underscore (1.3.3-1) unstable; urgency=low * New upstream release. -- Jonas Smedegaard Fri, 13 Apr 2012 12:48:32 -0400 underscore (1.3.2-1) unstable; urgency=low * New upstream release. * Bump standards-version to 3.9.3. * Use anonscm.debian.org for Vcs-Browser field. * Update copyright file: + Fix double-indent in Copyright fields as per Policy §5.6.13. + Bump format to 1.0. + Update copyright years. + Quote license strings in GPL license comments. -- Jonas Smedegaard Tue, 10 Apr 2012 00:03:02 +0200 underscore (1.3.1-1) unstable; urgency=low * New upstream release. -- Jonas Smedegaard Tue, 31 Jan 2012 18:30:22 +0100 underscore (1.3.0-1) unstable; urgency=low * New upstream release. * Install (newly renamed) README.md. -- Jonas Smedegaard Sun, 15 Jan 2012 17:21:41 +0100 underscore (1.2.4-1) unstable; urgency=low * New upstream release. * Bump debhelper compat level to 7. * Extend copyright years for Debian packaging. * Update copyright file: + Drop duplicate comments. + Extend copyright years. -- Jonas Smedegaard Mon, 09 Jan 2012 17:00:41 +0100 underscore (1.2.3-2) unstable; urgency=low * Update watch file: Use more flexible regex. * Have node-underscore depend on and symlink code from libjs-underscore (not duplicate code). Thanks to lintian. * Ship index.html with node-underscore (not only libjs-underscore). -- Jonas Smedegaard Sat, 24 Dec 2011 12:39:35 +0700 underscore (1.2.3-1) unstable; urgency=low * New upstream release. * Update copyright file: Extend copyright range. -- Jonas Smedegaard Fri, 23 Dec 2011 18:29:00 +0700 underscore (1.2.2-1) unstable; urgency=low * New upstream release. * Add David as uploader. * Drop dpkg local-options hints from packaging source: now defaults. * Update package relations: + Relax build-depend unversioned on debhelper (needed version satisfied even in oldstable). -- Jonas Smedegaard Wed, 30 Nov 2011 00:35:49 +0700 underscore (1.1.6-2) unstable; urgency=low [ David Paleino ] * Team upload * New binary package (node-underscore), providing the NodeJS module. -- Debian Javascript Maintainers Sun, 23 Oct 2011 00:13:56 +0200 underscore (1.1.6-1ubuntu2) oneiric; urgency=low * Suggest javascript-common instead of recommending it. -- Matthias Klose Fri, 12 Aug 2011 16:27:19 +0200 underscore (1.1.6-1ubuntu1) oneiric; urgency=low * Build using yui-compressor, we don't want uglifyjs's dependencies in main. -- Matthias Klose Fri, 12 Aug 2011 15:34:07 +0200 underscore (1.1.6-1) unstable; urgency=low * New upstream release. [ Jonas Smedegaard ] * Bump policy compliance to standards-version 3.9.2. * Bump copyright file format to draft 174 of DEP-5. * Use uglifyjs (not yui-compressor). Update build-dependencies accordingly. -- Jonas Smedegaard Fri, 22 Apr 2011 11:30:21 +0200 underscore (1.1.5-1) unstable; urgency=low * New upstream release. * Package now team-maintained: + Set Debian Javascript Maintainers as maintainer. + Set myself as uploader. * Update short description, reflecting upstream change. * Update copyright file: + Bump format to draft 173 of DEP5. + Rename License section to Expat~0-clause (from the more vague other-MIT). + Use License section for GPL-2. -- Jonas Smedegaard Tue, 29 Mar 2011 10:04:16 +0200 underscore (1.1.4-1) unstable; urgency=low * New upstream release. * Bump DEP5 version in coyright file. Extend a year. -- Jonas Smedegaard Mon, 31 Jan 2011 04:33:16 +0100 underscore (1.1.3-2) unstable; urgency=low * Recommend libjs-jquery. * Fix watch file. * Fix capitalize upstream project name in rules file comment. * List Github issue tracker as main Upstream-Contact URL in copyright file. * Bump copyright format to Subversion candidate draft 162 of DEP5. * Install uncompressed library (not symlink to compressed one). * Extend copyright years in copyright file. -- Jonas Smedegaard Sun, 16 Jan 2011 21:32:30 +0100 underscore (1.1.3-1) unstable; urgency=low * Initial release. Closes: Bug#608392. -- Jonas Smedegaard Thu, 30 Dec 2010 16:39:15 +0100 debian/source/0000775000000000000000000000000012420042416010463 5ustar debian/source/format0000664000000000000000000000001412420042416011671 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000001361712420042416011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Underscore Upstream-Contact: http://github.com/documentcloud/underscore/issues/ IRC: Freenode, #documentcloud Twitter: @documentcloud Source: https://github.com/documentcloud/underscore/downloads git://github.com/documentcloud/underscore Repackaged, excluding non-DFSG files and unused external projects Files-Excluded: docs/public/fonts/* Files: * Copyright: 2009-2014, Jeremy Ashkenas 2009-2014, DocumentCloud 2009-2014, Investigative Reporters & Editors License: Expat Files: docs/docco.css Copyright: Vasily Polovnyov License: BSD-3-clause Comment: Seemingly originates from styles/github.css as part of , a project with the specified licensing generally applied. Files: test/vendor/jslitmus.js Copyright: 2008-2009, Robert Kieffer License: Expat~0-clause Files: test/vendor/qunit.* Copyright: 2012, jQuery Foundation and other contributors License: Expat Comment: License: . Released under the MIT license. . Comment: . The files mentioned was not included with this source, but upstream VCS indicates that it is the Expat variant of MIT. Files: test/vendor/jquery.js Copyright: 2011, John Resig 2011, The Dojo Foundation License: Expat or GPL-2 Comment: License: . 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-2014, Jonas Smedegaard License: GPL-3+ 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: Expat~0-clause 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 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: BSD-3-clause 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. * Neither the name of highlight.js nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``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 REGENTS AND CONTRIBUTORS 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. License: GPL-3+ 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 3, 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 3 is located in '/usr/share/common-licenses/GPL-3'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . License: GPL-2 Comment: . This section is just a dummy placeholder: we have nothing meaningful to add beyond what is already covered in GPL-2+ section (but Copyright format 1.0 requires this entry to exist). debian/compat0000664000000000000000000000000212420042416010361 0ustar 8 debian/gbp.conf0000664000000000000000000000021512420042416010600 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True [git-import-orig] filter = .gitignore debian/control0000664000000000000000000000437012470611566010607 0ustar Source: underscore Section: web Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard , David Paleino Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, yui-compressor Standards-Version: 3.9.6 Homepage: http://underscorejs.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/underscore Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/underscore.git Package: libjs-underscore Architecture: all Depends: ${misc:Depends} Recommends: libjs-jquery Suggests: javascript-common Description: JavaScript's functional programming helper library Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. . Underscore provides 60-odd functions that support both the usual functional suspects: map, select, invoke - as well as more specialized helpers: function binding, javascript templating, deep equality testing, and so on. It delegates to built-in functions, if present, so modern browsers will use the native implementations of forEach, map, reduce, filter, every, some and indexOf. Package: node-underscore Architecture: all Depends: ${misc:Depends} , nodejs , libjs-underscore Description: JavaScript's functional programming helper library - NodeJS Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. . Underscore provides 60-odd functions that support both the usual functional suspects: map, select, invoke - as well as more specialized helpers: function binding, javascript templating, deep equality testing, and so on. It delegates to built-in functions, if present, so modern browsers will use the native implementations of forEach, map, reduce, filter, every, some and indexOf. . This package contains the NodeJS module. debian/README.source0000664000000000000000000000056312420042416011346 0ustar CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but are encouraged to) make special use of these tools. In particular, the debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100