diff options
author | Per Andersson <avtobiff@gmail.com> | 2012-09-07 03:27:36 +0200 |
---|---|---|
committer | Per Andersson <avtobiff@gmail.com> | 2012-09-09 21:42:09 +0200 |
commit | e93c0910e79f7d156192e5e52f5df0ecc5b0c315 (patch) | |
tree | 43d99e04c1bfbe8175a6500c617895bf776e5f35 /debian | |
parent | 38dc3b8f231cf36bcc771001318556d9e84c2889 (diff) | |
download | python-bleach-e93c0910e79f7d156192e5e52f5df0ecc5b0c315.tar python-bleach-e93c0910e79f7d156192e5e52f5df0ecc5b0c315.tar.gz |
Initial packaging
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 30 | ||||
-rw-r--r-- | debian/copyright | 51 | ||||
-rw-r--r-- | debian/pydist-overrides | 1 | ||||
-rw-r--r-- | debian/python-bleach.docs | 1 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/local-options | 1 | ||||
-rw-r--r-- | debian/watch | 2 |
11 files changed, 98 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..edb192e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-bleach (1.1.5-1) unstable; urgency=low + + * Initial release (Closes: #686902) + + -- Per Andersson <avtobiff@gmail.com> Fri, 07 Sep 2012 03:27:14 +0200 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..b8a1de3 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +bleach.egg-info/* diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..932e10d --- /dev/null +++ b/debian/control @@ -0,0 +1,30 @@ +Source: python-bleach +Section: python +Priority: optional +Maintainer: Per Andersson <avtobiff@gmail.com> +Standards-Version: 3.9.3 +Build-Depends: + debhelper (>= 7.0.50), + python (>= 2.6.6-9), + python-setuptools +Homepage: http://github.com/jsocol/bleach/ +Vcs-Git: git://git.debian.org/collab-maint/python-bleach.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/python-bleach.git;a=summary + +Package: python-bleach +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: whitelist-based HTML-sanitizing library + Bleach is an HTML sanitizing library that escapes or strips markup and + attributes based on a white list. Bleach can also linkify text safely, + applying filters that Django's urlize filter cannot, and optionally setting + rel attributes, even on links already in the text. + . + Bleach is intended for sanitizing text from untrusted sources. If you find + yourself jumping through hoops to allow your site administrators to do lots of + things, you're probably outside the use cases. Either trust those users, or + don't. + . + Because it relies on html5lib, Bleach is as good as modern browsers at dealing + with weird, quirky HTML fragments. And any of Bleach's methods will fix + unbalanced or mis-nested tags. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..36ff473 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,51 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Bleach +Source: http://github.com/jsocol/bleach/ + +Files: * +Copyright: 2012-2012 James Socol <james@mozilla.com> +License: + Copyright (c) 2010, Mozilla Foundation + All rights reserved. + . + 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 bleach 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. + +Files: debian/* +Copyright: 2012 Per Andersson <avtobiff@gmail.com> +License: WTFPLv2 + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + . + Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> + . + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + . + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + . + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/debian/pydist-overrides b/debian/pydist-overrides new file mode 100644 index 0000000..3738da5 --- /dev/null +++ b/debian/pydist-overrides @@ -0,0 +1 @@ +html5lib python-html5lib diff --git a/debian/python-bleach.docs b/debian/python-bleach.docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/debian/python-bleach.docs @@ -0,0 +1 @@ +README.rst diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4647c9c --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python2 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 0000000..4aceb10 --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1 @@ +unapply-patches diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..471601a --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://githubredir.debian.net/github/jsocol/bleach (.*).tar.gz |