[Python-modules-commits] [python-django-extensions] 06/08: Import python-django-extensions_1.5.0-1.dsc

Brian May bam at moszumanska.debian.org
Sat Oct 24 03:44:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

bam pushed a commit to branch master
in repository python-django-extensions.

commit 6359408a0c421d9ea6f362b0227eca43a7f42c4a
Author: Brian May <brian at linuxpenguins.xyz>
Date:   Sat Oct 24 14:34:26 2015 +1100

    Import python-django-extensions_1.5.0-1.dsc
---
 debian/README.Debian                               |   24 +
 debian/changelog                                   |  129 +
 debian/compat                                      |    1 +
 debian/control                                     |   57 +
 debian/copyright                                   |   56 +
 debian/missing-sources/jquery-1.7.2.js             | 9404 ++++++++++++++++++++
 debian/missing-sources/jquery.bgiframe.js          |  100 +
 debian/patches/01-werkzeug-package.diff            |   16 +
 debian/patches/series                              |    1 +
 debian/python-django-extensions.lintian-overrides  |    1 +
 debian/python3-django-extensions.lintian-overrides |    1 +
 debian/rules                                       |   17 +
 debian/source/format                               |    1 +
 debian/watch                                       |    3 +
 14 files changed, 9811 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..5fce5eb
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,24 @@
+README.Debian for python-django-extensions
+==========================================
+
+You need to add 'django_extensions' to your INSTALLED_APPS iterable - this
+usually resides in the `settings.py' file. Eg:
+
+  INSTALLED_APPS = (
+      'django.contrib.auth',
+      'django.contrib.contenttypes',
+      'django.contrib.sessions',
+      'django.contrib.sites',
+      'django_extensions',
+       <..>
+  )
+
+Alternatively, you make the application optional with:
+
+  try:
+      import django_extensions
+      INSTALLED_APPS = INSTALLED_APPS + ('django_extensions',)
+  except ImportError:
+      pass
+
+ -- Chris Lamb <lamby at debian.org>  Thu, 26 Mar 2009 22:18:21 +0000
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6885f06
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,129 @@
+python-django-extensions (1.5.0-1) unstable; urgency=medium
+
+  * Update maintainer field; package is now maintained by Debian Python
+    modules team. Thanks to Stephan Sürken for packaging
+    python-django-extensions up to this point and and giving permission
+    to make this change.
+  * New upstream version & Python 3 package. Closes: 776901.
+  * Update standards version to 3.9.6.
+  * Update obsolete URL in debian/copyright.
+
+ -- Brian May <bam at debian.org>  Thu, 05 Feb 2015 09:38:57 +1100
+
+python-django-extensions (1.3.10-1) unstable; urgency=medium
+
+  * [de99797] Imported Upstream version 1.3.10
+  * [11b7842] copyright: Fix 'duplicate Copyright field' syntax error.
+  * [444103c] copyright: Replace '|' by 'or' in 'License' field (that's
+    how it's documented; fixes lintian missing-license-paragraph-in-
+    dep5-copyright)
+  * django 1.7 support is currently an ongoing effort in uspstream
+    development. Quite some fixes already made it to 1.3.10, and the
+    current open usptream issues do not seem to be worrying, see
+     https://github.com/django-extensions/django-extensions/issues?q=is%3Aissue+is%3Aopen+1.7
+    For all my known use cases, it's working fine.
+    So this imho (Closes: #755620).
+
+ -- Stephan Sürken <absurd at debian.org>  Fri, 08 Aug 2014 17:54:56 +0200
+
+python-django-extensions (1.3.8-1) unstable; urgency=medium
+
+  * [863d899] rules: get-orig-source: Just use uscan (now grabs actual
+    releases, not producing git snapshots)
+  * [e34d8d1] Imported Upstream version 1.3.7
+  * [7e99a55] Migrate from python-support to dh_python2 (this also
+    upgrades to debhelper 9).
+  * [4c98e99] Imported Upstream version 1.3.8
+  * [198de9a] rules: Remove workaround to rm embedded uuid.py (no longer
+    in upstream).
+  * [313fb12] rules: Fix for clean: Remove any *.egg-info/.
+  * [6cb7f1e] [Add .gitignore for debian/.]
+  * [d92494b] copyright: Add Format header and copyright for debian/* for
+    new maintainer.
+
+ -- Stephan Sürken <absurd at debian.org>  Fri, 13 Jun 2014 17:04:47 +0000
+
+python-django-extensions (1.3.3-2) unstable; urgency=medium
+
+  * [eab12b5] debian/control: VCS moved to alioth, fixing VCS URLs.
+
+ -- Stephan Sürken <absurd at debian.org>  Tue, 01 Apr 2014 16:47:17 +0200
+
+python-django-extensions (1.3.3-1) unstable; urgency=medium
+
+  * [ee8aef5] Imported Upstream version 1.3.3
+  * [7e01ec3] watch: Update watchfile (as hinted by PTS).
+
+ -- Stephan Sürken <absurd at debian.org>  Sun, 09 Mar 2014 14:46:37 +0000
+
+python-django-extensions (1.2.5-1) unstable; urgency=low
+
+  [ Stephan Sürken ]
+  * [9a4f8dd] Imported Upstream version 1.2.5 (Closes: #690425).
+  * [563777b] patches/01-werkzeug-package.diff: Refresh for upstream 1.2.5.
+  * [ce22404] control: New upstream needs python-six.
+  * [336ae49] control: Taking over package, fix Maintainer field.
+  * [10707a6] control: Update Stds-Ver to 3.9.5 (no changes needed).
+
+ -- Stephan Sürken <absurd at debian.org>  Tue, 12 Nov 2013 16:14:34 +0100
+
+python-django-extensions (0.6+git201107051902-1) unstable; urgency=low
+
+  * New upstream release.
+    - Does not depend on keyczar anymore (Closes: #633874)
+  * Update Vcs-{Git,Browser}.
+  * Bump Standards-Version to 3.9.1.
+  * Bump Standards-Version to 3.9.2.
+  * Bump base version in get-orig-source target.
+  * Add python-keyczar to Suggests.
+  * Update Homepage.
+
+ -- Chris Lamb <lamby at debian.org>  Thu, 28 Jul 2011 12:07:19 +0200
+
+python-django-extensions (0.4.2pre+git201004211325-1) unstable; urgency=low
+
+  * New upstream snapshot
+  * Refresh 01-werkzeug-package.diff
+
+ -- Chris Lamb <lamby at debian.org>  Thu, 22 Apr 2010 09:16:51 +0100
+
+python-django-extensions (0.4.2pre+git200911182050-2) unstable; urgency=low
+
+  * Use find(1) over python.mk to locate embedded jQuery and drop python.mk
+    include to help backporters. (Closes: #578599)
+  * Bump Standards-Version to 3.8.4.
+  * Move to 3.0 (quilt) source format.
+  * Tidy patch descriptions.
+
+ -- Chris Lamb <lamby at debian.org>  Wed, 21 Apr 2010 10:06:33 +0100
+
+python-django-extensions (0.4.2pre+git200911182050-1) unstable; urgency=low
+
+  * New upstream release.
+  * Remove embedded uuid.py code copy used as fallback if "import uuid" fails.
+    (Closes: #555430)
+  * Bump Standards-Version to 3.8.3.
+  * Bump Build-Depends on debhelper to 7.0.50~ for override_* support.
+
+ -- Chris Lamb <lamby at debian.org>  Fri, 27 Nov 2009 17:59:30 +0000
+
+python-django-extensions (0.4+git200905112140-2) unstable; urgency=low
+
+  * Fix compatibility with Python 2.6 and future Python transitions in general.
+    Thanks to Krzysztof Klimonda <kklimonda at syntaxhighlighted.com>.
+
+ -- Chris Lamb <lamby at debian.org>  Sat, 16 May 2009 00:04:19 +0100
+
+python-django-extensions (0.4+git200905112140-1) unstable; urgency=low
+
+  * New upstream release.
+  * Upstream moved to Git; update get-orig-source.
+  * Use shorted method of invoking quilt using debhelper 7.
+
+ -- Chris Lamb <lamby at debian.org>  Tue, 12 May 2009 21:24:00 +0100
+
+python-django-extensions (0.4~pre+svn188-1) unstable; urgency=low
+
+  * Initial release (Closes: #521349)
+
+ -- Chris Lamb <lamby at debian.org>  Thu, 26 Mar 2009 23:45:55 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8c9efbb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+Source: python-django-extensions
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Brian May <bam at debian.org>
+X-Python-Version: >=2.7
+Build-Depends: debhelper (>= 9), dh-python,
+ python-all (>= 2.6.6-3~), python-setuptools, python-django (>= 1.4), python-six, python-dateutil, python-shortuuid,
+ python3-all, python3-setuptools, python3-django (>= 1.4), python3-six, python3-dateutil, python3-shortuuid,
+Standards-Version: 3.9.6
+Homepage: https://github.com/django-extensions/django-extensions
+Vcs-Git: git://git.debian.org/git/collab-maint/python-django-extensions.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/python-django-extensions.git;a=summary
+
+Package: python-django-extensions
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.0.2), python-six
+Recommends: libjs-jquery
+Suggests: python-werkzeug, python-pygraphviz, python-boto, python-profiler, python-keyczar
+Description: Useful extensions for Django projects
+ This is a collection of useful third-party tools for projects that use the
+ Django web development framework. It provides the management commands:
+ .
+  * runserver_plus - a "runserver" that uses the interactive Werkzeug debugger
+  * runprofileserver - starts runserver with profiling tools enabled
+  * shell_plus - similar to the built-in "shell" but autoloads all models
+  * graph_models - creates a GraphViz dot file of your model arrangement
+  * describe_form - generate template form definitions for a model
+  * export_emails - export the addresses of your users in many formats
+  * print_user_for_session - print the user information from a session key
+  * create_jobs/runjob/runjobs - manage scheduled maintenance jobs
+  * (plus many more)
+ .
+ python-django-extensions also includes a number of custom fields and abstract
+ models, including ones that manage created and updated times automatically.
+
+Package: python3-django-extensions
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, python3-django (>= 1.0.2), python3-six
+Recommends: libjs-jquery
+Suggests: python3-werkzeug, python3-pygraphviz, python3-boto, python3-profiler, python3-keyczar
+Description: Useful extensions for Django projects
+ This is a collection of useful third-party tools for projects that use the
+ Django web development framework. It provides the management commands:
+ .
+  * runserver_plus - a "runserver" that uses the interactive Werkzeug debugger
+  * runprofileserver - starts runserver with profiling tools enabled
+  * shell_plus - similar to the built-in "shell" but autoloads all models
+  * graph_models - creates a GraphViz dot file of your model arrangement
+  * describe_form - generate template form definitions for a model
+  * export_emails - export the addresses of your users in many formats
+  * print_user_for_session - print the user information from a session key
+  * create_jobs/runjob/runjobs - manage scheduled maintenance jobs
+  * (plus many more)
+ .
+ python-django-extensions also includes a number of custom fields and abstract
+ models, including ones that manage created and updated times automatically.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2ec27de
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,56 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Author: Michael Trier <mtrier at gmail.com>
+Source: https://github.com/django-extensions/django-extensions
+
+Files: *
+Copyright: © 2007 Michael Trier <mtrier at gmail.com>
+License: MIT
+
+Files: django_extensions/media/django_extensions/js/jquery.autocomplete.js
+Copyright: © 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer
+License: GPL-2 or MIT
+
+Files: django_extensions/media/django_extensions/js/jquery.js
+Copyright: © 2008 John Resig
+License: GPL-2 or MIT
+
+Files: django_extensions/media/django_extensions/js/jquery.bgiframe.min.js
+Copyright: © 2006 Brandon Aaron
+License: GPL-2 or MIT
+
+Files: debian/*
+Copyright: © 2008 Chris Lamb <lamby at debian.org>
+           © 2013 2014 Stephan Sürken <absurd at debian.org>
+License: MIT
+
+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, version 2.
+ .
+ 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.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in the /usr/share/common-licenses/GPL-2 file.
+
+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.
diff --git a/debian/missing-sources/jquery-1.7.2.js b/debian/missing-sources/jquery-1.7.2.js
new file mode 100644
index 0000000..417eb67
--- /dev/null
+++ b/debian/missing-sources/jquery-1.7.2.js
@@ -0,0 +1,9404 @@
+/*!
+ * jQuery JavaScript Library v1.7.2
+ * http://jquery.com/
+ *
+ * Copyright 2011, John Resig
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ * Copyright 2011, The Dojo Foundation
+ * Released under the MIT, BSD, and GPL Licenses.
+ *
+ * Date: Fri Aug 29 09:46:34 UTC 2014
+ */
+(function( window, undefined ) {
+
+// Use the correct document accordingly with window argument (sandbox)
+var document = window.document,
+	navigator = window.navigator,
+	location = window.location;
+var jQuery = (function() {
+
+// Define a local copy of jQuery
+var jQuery = function( selector, context ) {
+		// The jQuery object is actually just the init constructor 'enhanced'
+		return new jQuery.fn.init( selector, context, rootjQuery );
+	},
+
+	// Map over jQuery in case of overwrite
+	_jQuery = window.jQuery,
+
+	// Map over the $ in case of overwrite
+	_$ = window.$,
+
+	// A central reference to the root jQuery(document)
+	rootjQuery,
+
+	// A simple way to check for HTML strings or ID strings
+	// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
+	quickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
+
+	// Check if a string has a non-whitespace character in it
+	rnotwhite = /\S/,
+
+	// Used for trimming whitespace
+	trimLeft = /^\s+/,
+	trimRight = /\s+$/,
+
+	// Match a standalone tag
+	rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
+
+	// JSON RegExp
+	rvalidchars = /^[\],:{}\s]*$/,
+	rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
+	rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
+	rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
+
+	// Useragent RegExp
+	rwebkit = /(webkit)[ \/]([\w.]+)/,
+	ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/,
+	rmsie = /(msie) ([\w.]+)/,
+	rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/,
+
+	// Matches dashed string for camelizing
+	rdashAlpha = /-([a-z]|[0-9])/ig,
+	rmsPrefix = /^-ms-/,
+
+	// Used by jQuery.camelCase as callback to replace()
+	fcamelCase = function( all, letter ) {
+		return ( letter + "" ).toUpperCase();
+	},
+
+	// Keep a UserAgent string for use with jQuery.browser
+	userAgent = navigator.userAgent,
+
+	// For matching the engine and version of the browser
+	browserMatch,
+
+	// The deferred used on DOM ready
+	readyList,
+
+	// The ready event handler
+	DOMContentLoaded,
+
+	// Save a reference to some core methods
+	toString = Object.prototype.toString,
+	hasOwn = Object.prototype.hasOwnProperty,
+	push = Array.prototype.push,
+	slice = Array.prototype.slice,
+	trim = String.prototype.trim,
+	indexOf = Array.prototype.indexOf,
+
+	// [[Class]] -> type pairs
+	class2type = {};
+
+jQuery.fn = jQuery.prototype = {
+	constructor: jQuery,
+	init: function( selector, context, rootjQuery ) {
+		var match, elem, ret, doc;
+
+		// Handle $(""), $(null), or $(undefined)
+		if ( !selector ) {
+			return this;
+		}
+
+		// Handle $(DOMElement)
+		if ( selector.nodeType ) {
+			this.context = this[0] = selector;
+			this.length = 1;
+			return this;
+		}
+
+		// The body element only exists once, optimize finding it
+		if ( selector === "body" && !context && document.body ) {
+			this.context = document;
+			this[0] = document.body;
+			this.selector = selector;
+			this.length = 1;
+			return this;
+		}
+
+		// Handle HTML strings
+		if ( typeof selector === "string" ) {
+			// Are we dealing with HTML string or an ID?
+			if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
+				// Assume that strings that start and end with <> are HTML and skip the regex check
+				match = [ null, selector, null ];
+
+			} else {
+				match = quickExpr.exec( selector );
+			}
+
+			// Verify a match, and that no context was specified for #id
+			if ( match && (match[1] || !context) ) {
+
+				// HANDLE: $(html) -> $(array)
+				if ( match[1] ) {
+					context = context instanceof jQuery ? context[0] : context;
+					doc = ( context ? context.ownerDocument || context : document );
+
+					// If a single string is passed in and it's a single tag
+					// just do a createElement and skip the rest
+					ret = rsingleTag.exec( selector );
+
+					if ( ret ) {
+						if ( jQuery.isPlainObject( context ) ) {
+							selector = [ document.createElement( ret[1] ) ];
+							jQuery.fn.attr.call( selector, context, true );
+
+						} else {
+							selector = [ doc.createElement( ret[1] ) ];
+						}
+
+					} else {
+						ret = jQuery.buildFragment( [ match[1] ], [ doc ] );
+						selector = ( ret.cacheable ? jQuery.clone(ret.fragment) : ret.fragment ).childNodes;
+					}
+
+					return jQuery.merge( this, selector );
+
+				// HANDLE: $("#id")
+				} else {
+					elem = document.getElementById( match[2] );
+
+					// Check parentNode to catch when Blackberry 4.6 returns
+					// nodes that are no longer in the document #6963
+					if ( elem && elem.parentNode ) {
+						// Handle the case where IE and Opera return items
+						// by name instead of ID
+						if ( elem.id !== match[2] ) {
+							return rootjQuery.find( selector );
+						}
+
+						// Otherwise, we inject the element directly into the jQuery object
+						this.length = 1;
+						this[0] = elem;
+					}
+
+					this.context = document;
+					this.selector = selector;
+					return this;
+				}
+
+			// HANDLE: $(expr, $(...))
+			} else if ( !context || context.jquery ) {
+				return ( context || rootjQuery ).find( selector );
+
+			// HANDLE: $(expr, context)
+			// (which is just equivalent to: $(context).find(expr)
+			} else {
+				return this.constructor( context ).find( selector );
+			}
+
+		// HANDLE: $(function)
+		// Shortcut for document ready
+		} else if ( jQuery.isFunction( selector ) ) {
+			return rootjQuery.ready( selector );
+		}
+
+		if ( selector.selector !== undefined ) {
+			this.selector = selector.selector;
+			this.context = selector.context;
+		}
+
+		return jQuery.makeArray( selector, this );
+	},
+
+	// Start with an empty selector
+	selector: "",
+
+	// The current version of jQuery being used
+	jquery: "1.7.2",
+
+	// The default length of a jQuery object is 0
+	length: 0,
+
+	// The number of elements contained in the matched element set
+	size: function() {
+		return this.length;
+	},
+
+	toArray: function() {
+		return slice.call( this, 0 );
+	},
+
+	// Get the Nth element in the matched element set OR
+	// Get the whole matched element set as a clean array
+	get: function( num ) {
+		return num == null ?
+
+			// Return a 'clean' array
+			this.toArray() :
+
+			// Return just the object
+			( num < 0 ? this[ this.length + num ] : this[ num ] );
+	},
+
+	// Take an array of elements and push it onto the stack
+	// (returning the new matched element set)
+	pushStack: function( elems, name, selector ) {
+		// Build a new jQuery matched element set
+		var ret = this.constructor();
+
+		if ( jQuery.isArray( elems ) ) {
+			push.apply( ret, elems );
+
+		} else {
+			jQuery.merge( ret, elems );
+		}
+
+		// Add the old object onto the stack (as a reference)
+		ret.prevObject = this;
+
+		ret.context = this.context;
+
+		if ( name === "find" ) {
+			ret.selector = this.selector + ( this.selector ? " " : "" ) + selector;
+		} else if ( name ) {
+			ret.selector = this.selector + "." + name + "(" + selector + ")";
+		}
+
+		// Return the newly-formed element set
+		return ret;
+	},
+
+	// Execute a callback for every element in the matched set.
+	// (You can seed the arguments with an array of args, but this is
+	// only used internally.)
+	each: function( callback, args ) {
+		return jQuery.each( this, callback, args );
+	},
+
+	ready: function( fn ) {
+		// Attach the listeners
+		jQuery.bindReady();
+
+		// Add the callback
+		readyList.add( fn );
+
+		return this;
+	},
+
+	eq: function( i ) {
+		i = +i;
+		return i === -1 ?
+			this.slice( i ) :
+			this.slice( i, i + 1 );
+	},
+
+	first: function() {
+		return this.eq( 0 );
+	},
+
+	last: function() {
+		return this.eq( -1 );
+	},
+
+	slice: function() {
+		return this.pushStack( slice.apply( this, arguments ),
+			"slice", slice.call(arguments).join(",") );
+	},
+
+	map: function( callback ) {
+		return this.pushStack( jQuery.map(this, function( elem, i ) {
+			return callback.call( elem, i, elem );
+		}));
+	},
+
+	end: function() {
+		return this.prevObject || this.constructor(null);
+	},
+
+	// For internal use only.
+	// Behaves like an Array's method, not like a jQuery method.
+	push: push,
+	sort: [].sort,
+	splice: [].splice
+};
+
+// Give the init function the jQuery prototype for later instantiation
+jQuery.fn.init.prototype = jQuery.fn;
+
+jQuery.extend = jQuery.fn.extend = function() {
+	var options, name, src, copy, copyIsArray, clone,
+		target = arguments[0] || {},
+		i = 1,
+		length = arguments.length,
+		deep = false;
+
+	// Handle a deep copy situation
+	if ( typeof target === "boolean" ) {
+		deep = target;
+		target = arguments[1] || {};
+		// skip the boolean and the target
+		i = 2;
+	}
+
+	// Handle case when target is a string or something (possible in deep copy)
+	if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
+		target = {};
+	}
+
+	// extend jQuery itself if only one argument is passed
+	if ( length === i ) {
+		target = this;
+		--i;
+	}
+
+	for ( ; i < length; i++ ) {
+		// Only deal with non-null/undefined values
+		if ( (options = arguments[ i ]) != null ) {
+			// Extend the base object
+			for ( name in options ) {
+				src = target[ name ];
+				copy = options[ name ];
+
+				// Prevent never-ending loop
+				if ( target === copy ) {
+					continue;
+				}
+
+				// Recurse if we're merging plain objects or arrays
+				if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
+					if ( copyIsArray ) {
+						copyIsArray = false;
+						clone = src && jQuery.isArray(src) ? src : [];
+
+					} else {
+						clone = src && jQuery.isPlainObject(src) ? src : {};
+					}
+
+					// Never move original objects, clone them
+					target[ name ] = jQuery.extend( deep, clone, copy );
+
+				// Don't bring in undefined values
+				} else if ( copy !== undefined ) {
+					target[ name ] = copy;
+				}
+			}
+		}
+	}
+
+	// Return the modified object
+	return target;
+};
+
+jQuery.extend({
+	noConflict: function( deep ) {
+		if ( window.$ === jQuery ) {
+			window.$ = _$;
+		}
+
+		if ( deep && window.jQuery === jQuery ) {
+			window.jQuery = _jQuery;
+		}
+
+		return jQuery;
+	},
+
+	// Is the DOM ready to be used? Set to true once it occurs.
+	isReady: false,
+
+	// A counter to track how many items to wait for before
+	// the ready event fires. See #6781
+	readyWait: 1,
+
+	// Hold (or release) the ready event
+	holdReady: function( hold ) {
+		if ( hold ) {
+			jQuery.readyWait++;
+		} else {
+			jQuery.ready( true );
+		}
+	},
+
+	// Handle when the DOM is ready
+	ready: function( wait ) {
+		// Either a released hold or an DOMready/load event and not yet ready
+		if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) {
+			// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
+			if ( !document.body ) {
+				return setTimeout( jQuery.ready, 1 );
+			}
+
+			// Remember that the DOM is ready
+			jQuery.isReady = true;
+
+			// If a normal DOM Ready event fired, decrement, and wait if need be
+			if ( wait !== true && --jQuery.readyWait > 0 ) {
+				return;
+			}
+
+			// If there are functions bound, to execute
+			readyList.fireWith( document, [ jQuery ] );
+
+			// Trigger any bound ready events
+			if ( jQuery.fn.trigger ) {
+				jQuery( document ).trigger( "ready" ).off( "ready" );
+			}
+		}
+	},
+
+	bindReady: function() {
+		if ( readyList ) {
+			return;
+		}
+
+		readyList = jQuery.Callbacks( "once memory" );
+
+		// Catch cases where $(document).ready() is called after the
+		// browser event has already occurred.
+		if ( document.readyState === "complete" ) {
+			// Handle it asynchronously to allow scripts the opportunity to delay ready
+			return setTimeout( jQuery.ready, 1 );
+		}
+
+		// Mozilla, Opera and webkit nightlies currently support this event
+		if ( document.addEventListener ) {
+			// Use the handy event callback
+			document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );
+
+			// A fallback to window.onload, that will always work
+			window.addEventListener( "load", jQuery.ready, false );
+
+		// If IE event model is used
+		} else if ( document.attachEvent ) {
+			// ensure firing before onload,
+			// maybe late but safe also for iframes
+			document.attachEvent( "onreadystatechange", DOMContentLoaded );
+
+			// A fallback to window.onload, that will always work
+			window.attachEvent( "onload", jQuery.ready );
+
+			// If IE and not a frame
+			// continually check to see if the document is ready
+			var toplevel = false;
+
+			try {
+				toplevel = window.frameElement == null;
+			} catch(e) {}
+
+			if ( document.documentElement.doScroll && toplevel ) {
+				doScrollCheck();
+			}
+		}
+	},
+
+	// See test/unit/core.js for details concerning isFunction.
+	// Since version 1.3, DOM methods and functions like alert
+	// aren't supported. They return false on IE (#2968).
+	isFunction: function( obj ) {
+		return jQuery.type(obj) === "function";
+	},
+
+	isArray: Array.isArray || function( obj ) {
+		return jQuery.type(obj) === "array";
+	},
+
+	isWindow: function( obj ) {
+		return obj != null && obj == obj.window;
+	},
+
+	isNumeric: function( obj ) {
+		return !isNaN( parseFloat(obj) ) && isFinite( obj );
+	},
+
+	type: function( obj ) {
+		return obj == null ?
+			String( obj ) :
+			class2type[ toString.call(obj) ] || "object";
+	},
+
+	isPlainObject: function( obj ) {
+		// Must be an Object.
+		// Because of IE, we also have to check the presence of the constructor property.
+		// Make sure that DOM nodes and window objects don't pass through, as well
+		if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
+			return false;
+		}
+
+		try {
+			// Not own constructor property must be Object
+			if ( obj.constructor &&
+				!hasOwn.call(obj, "constructor") &&
+				!hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
+				return false;
+			}
+		} catch ( e ) {
+			// IE8,9 Will throw exceptions on certain host objects #9897
+			return false;
+		}
+
+		// Own properties are enumerated firstly, so to speed up,
+		// if last one is own, then all properties are own.
+
+		var key;
+		for ( key in obj ) {}
+
+		return key === undefined || hasOwn.call( obj, key );
+	},
+
+	isEmptyObject: function( obj ) {
+		for ( var name in obj ) {
+			return false;
+		}
+		return true;
+	},
+
+	error: function( msg ) {
+		throw new Error( msg );
+	},
+
+	parseJSON: function( data ) {
+		if ( typeof data !== "string" || !data ) {
+			return null;
+		}
+
+		// Make sure leading/trailing whitespace is removed (IE can't handle it)
+		data = jQuery.trim( data );
+
+		// Attempt to parse using the native JSON parser first
+		if ( window.JSON && window.JSON.parse ) {
+			return window.JSON.parse( data );
+		}
+
+		// Make sure the incoming data is actual JSON
+		// Logic borrowed from http://json.org/json2.js
+		if ( rvalidchars.test( data.replace( rvalidescape, "@" )
+			.replace( rvalidtokens, "]" )
+			.replace( rvalidbraces, "")) ) {
+
+			return ( new Function( "return " + data ) )();
+
+		}
+		jQuery.error( "Invalid JSON: " + data );
+	},
+
+	// Cross-browser xml parsing
+	parseXML: function( data ) {
+		if ( typeof data !== "string" || !data ) {
+			return null;
+		}
+		var xml, tmp;
+		try {
+			if ( window.DOMParser ) { // Standard
+				tmp = new DOMParser();
+				xml = tmp.parseFromString( data , "text/xml" );
+			} else { // IE
+				xml = new ActiveXObject( "Microsoft.XMLDOM" );
+				xml.async = "false";
+				xml.loadXML( data );
+			}
+		} catch( e ) {
+			xml = undefined;
+		}
+		if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
+			jQuery.error( "Invalid XML: " + data );
+		}
+		return xml;
+	},
+
+	noop: function() {},
+
+	// Evaluates a script in a global context
+	// Workarounds based on findings by Jim Driscoll
+	// http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
+	globalEval: function( data ) {
+		if ( data && rnotwhite.test( data ) ) {
+			// We use execScript on Internet Explorer
+			// We use an anonymous function so that context is window
+			// rather than jQuery in Firefox
+			( window.execScript || function( data ) {
+				window[ "eval" ].call( window, data );
+			} )( data );
+		}
+	},
+
+	// Convert dashed to camelCase; used by the css and data modules
+	// Microsoft forgot to hump their vendor prefix (#9572)
+	camelCase: function( string ) {
+		return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
+	},
+
+	nodeName: function( elem, name ) {
+		return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase();
+	},
+
+	// args is for internal usage only
+	each: function( object, callback, args ) {
+		var name, i = 0,
+			length = object.length,
+			isObj = length === undefined || jQuery.isFunction( object );
+
+		if ( args ) {
+			if ( isObj ) {
+				for ( name in object ) {
+					if ( callback.apply( object[ name ], args ) === false ) {
+						break;
+					}
+				}
+			} else {
+				for ( ; i < length; ) {
+					if ( callback.apply( object[ i++ ], args ) === false ) {
+						break;
+					}
+				}
+			}
+
+		// A special, fast, case for the most common use of each
+		} else {
+			if ( isObj ) {
+				for ( name in object ) {
+					if ( callback.call( object[ name ], name, object[ name ] ) === false ) {
+						break;
+					}
+				}
+			} else {
+				for ( ; i < length; ) {
+					if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) {
+						break;
+					}
+				}
+			}
+		}
+
+		return object;
+	},
+
+	// Use native String.trim function wherever possible
+	trim: trim ?
+		function( text ) {
+			return text == null ?
+				"" :
+				trim.call( text );
... 8918 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-extensions.git



More information about the Python-modules-commits mailing list