[Python-apps-commits] r7464 - in packages/puddletag/trunk/debian (3 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Thu Aug 18 00:07:38 UTC 2011


    Date: Thursday, August 18, 2011 @ 00:07:37
  Author: morph
Revision: 7464

temporary hack: copied templatebuiltins.js from django-doc since puddletag doc needs it but upstream doesn't ship the js file

Added:
  packages/puddletag/trunk/debian/templatebuiltins.js
Modified:
  packages/puddletag/trunk/debian/copyright
  packages/puddletag/trunk/debian/rules

Modified: packages/puddletag/trunk/debian/copyright
===================================================================
--- packages/puddletag/trunk/debian/copyright	2011-08-17 23:53:51 UTC (rev 7463)
+++ packages/puddletag/trunk/debian/copyright	2011-08-18 00:07:37 UTC (rev 7464)
@@ -33,3 +33,31 @@
 Files: debian/*
 Copyright: 2011 Sandro Tosi <morph at debian.org>
 License: same as upstream
+
+Files: debian/templatebuiltins.js
+Copyright: Copyright (c) Django Software Foundation and individual contributors.
+License: Main Django Code Licence
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+
+     1. Redistributions of source code must retain the above copyright notice, 
+        this list of conditions and the following disclaimer.
+    
+     2. 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.
+
+     3. Neither the name of Django 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 COPYRIGHT HOLDERS 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 COPYRIGHT OWNER OR 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.

Modified: packages/puddletag/trunk/debian/rules
===================================================================
--- packages/puddletag/trunk/debian/rules	2011-08-17 23:53:51 UTC (rev 7463)
+++ packages/puddletag/trunk/debian/rules	2011-08-18 00:07:37 UTC (rev 7464)
@@ -24,6 +24,8 @@
 	dh_installdocs
 	mv docs/_build/documentation/ docs/_build/html/
 	dh_installdocs docs/_build/html/
+	# HAAACK! to be removed once upstream fixes it
+	cp debian/templatebuiltins.js debian/puddletag/usr/share/doc/puddletag/html/
 	dh_link /usr/share/doc/puddletag/html/docs.html /usr/share/doc/puddletag/html/index.html
 
 override_dh_compress:

Added: packages/puddletag/trunk/debian/templatebuiltins.js
===================================================================
--- packages/puddletag/trunk/debian/templatebuiltins.js	                        (rev 0)
+++ packages/puddletag/trunk/debian/templatebuiltins.js	2011-08-18 00:07:37 UTC (rev 7464)
@@ -0,0 +1 @@
+var django_template_builtins = {"ttags": ["ifequal", "ifnotequal", "cycle", "if", "csrf_token", "filter", "autoescape", "now", "spaceless", "extends", "widthratio", "templatetag", "debug", "comment", "url", "ssi", "include", "for", "ifchanged", "regroup", "block", "load", "with", "firstof"], "tfilters": ["linebreaksbr", "ljust", "slugify", "upper", "time", "escape", "linebreaks", "yesno", "urlizetrunc", "dictsortreversed", "make_list", "center", "add", "default_if_none", "striptags", "iriencode", "capfirst", "title", "floatformat", "wordwrap", "cut", "truncatewords_html", "dictsort", "rjust", "urlize", "wordcount", "urlencode", "truncatewords", "get_digit", "pprint", "linenumbers", "random", "pluralize", "slice", "date", "safeseq", "length", "lower", "timesince", "first", "unordered_list", "safe", "force_escape", "divisibleby", "addslashes", "stringformat", "length_is", "default", "removetags", "filesizeformat", "fix_ampersands", "phone2numeric", "escapejs", "join", "timeuntil", "last"]};




More information about the Python-apps-commits mailing list