[Python-modules-commits] [django-html-sanitizer] 02/03: initial packaging
Scott Kitterman
kitterman at moszumanska.debian.org
Fri Nov 11 13:56:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch unstable
in repository django-html-sanitizer.
commit b01b788a568f95054077f0004d91968aa492e379
Author: Scott Kitterman <scott at kitterman.com>
Date: Wed Nov 9 11:26:04 2016 -0500
initial packaging
---
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 40 +++++++++++++++++++++++++++++++
debian/copyright | 31 ++++++++++++++++++++++++
debian/gbp.conf | 2 ++
debian/python-django-html-sanitizer.docs | 1 +
debian/python3-django-html-sanitizer.docs | 1 +
debian/rules | 13 ++++++++++
debian/watch | 2 ++
9 files changed, 96 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ffa371c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+django-html-sanitizer (0.1.5-1) unstable; urgency=low
+
+ * Initial release. (Closes: #843723)
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 09 Nov 2016 10:33:29 -0500
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..52c0870
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: django-html-sanitizer
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Scott Kitterman <scott at kitterman.com>
+Build-Depends:
+ debhelper (>= 9~),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://github.com/ui/django-html_sanitizer
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-html-santizer.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-html-sanitizer.git
+
+Package: python-django-html-sanitizer
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Description: set of utilities sanitize HTML inputs in django (Python 2)
+ Django HTML Sanitizer provides a set of utilities to easily sanitize/escape/
+ clean HTML inputs in django. This app is built on top of bleach, the
+ excellent Python HTML sanitizer.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-django-html-sanitizer
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends}
+Description: set of utilities sanitize HTML inputs in django (Python 3)
+ Django HTML Sanitizer provides a set of utilities to easily sanitize/escape/
+ clean HTML inputs in django. This app is built on top of bleach, the
+ excellent Python HTML sanitizer.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..85f2bbf
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Django HTML Sanitizer
+Upstream-Contact: Selwin Ong
+Source: https://pypi.python.org/pypi/django-html_sanitizer
+
+Files: *
+Copyright: Copyright (c) 2012 Selwin Ong.
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Scott Kitterman <scott at kitterman.com>
+License: Expat
+
+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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/python-django-html-sanitizer.docs b/debian/python-django-html-sanitizer.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-django-html-sanitizer.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-django-html-sanitizer.docs b/debian/python3-django-html-sanitizer.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-django-html-sanitizer.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9ef3477
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=django-html-sanitizer
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build
+
+override_dh_auto_test:
+ # Doesn't work during build yet
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e2f587c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pypi.debian.net/django-html_sanitizer/django-html_sanitizer-([0-9][0-9\.\-]*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-html-sanitizer.git
More information about the Python-modules-commits
mailing list