[Python-modules-commits] [python-webencodings] 03/03: Initial release.
Barry Warsaw
barry at moszumanska.debian.org
Fri Nov 11 17:23:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-webencodings.
commit d643d90ebd10f1e109f5802015ca8ce735cca363
Author: Barry Warsaw <barry at python.org>
Date: Fri Nov 11 12:22:41 2016 -0500
Initial release.
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 52 +++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/rules | 9 +++++++++
debian/watch | 3 +++
6 files changed, 129 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4f91de0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-webencodings (0.5-1) UNRELEASED; urgency=medium
+
+ * Initial release. (Closes: #842738)
+
+ -- Barry Warsaw <barry at debian.org> Fri, 11 Nov 2016 12:04:30 -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..efac33c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: python-webencodings
+Section: python
+Priority: optional
+Maintainer: Barry Warsaw <barry at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9.0.0),
+ dh-python,
+ python (>= 2.6.6-3~),
+ python-setuptools,
+ python3,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 3.9.8
+Homepage: https://github.com/SimonSapin/python-webencodings
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-webencodings.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-webencodings.git
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.5
+
+Package: python-webencodings
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python implementation of the WHATWG Encoding standard
+ In order to be compatible with legacy web content when interpreting something
+ like Content-Type: text/html; charset=latin1, tools need to use a particular
+ set of aliases for encoding labels as well as some overriding rules. For
+ example, US-ASCII and iso-8859-1 on the web are actually aliases for
+ windows-1252, and an UTF-8 or UTF-16 BOM takes precedence over any other
+ encoding declaration. The Encoding standard defines all such details so that
+ implementations do not have to reverse-engineer each other.
+ .
+ This module has encoding labels and BOM detection, but the actual
+ implementation for encoders and decoders is Python’s.
+ .
+ This package provides the module for Python 2.
+
+Package: python3-webencodings
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python implementation of the WHATWG Encoding standard
+ In order to be compatible with legacy web content when interpreting something
+ like Content-Type: text/html; charset=latin1, tools need to use a particular
+ set of aliases for encoding labels as well as some overriding rules. For
+ example, US-ASCII and iso-8859-1 on the web are actually aliases for
+ windows-1252, and an UTF-8 or UTF-16 BOM takes precedence over any other
+ encoding declaration. The Encoding standard defines all such details so that
+ implementations do not have to reverse-engineer each other.
+ .
+ This module has encoding labels and BOM detection, but the actual
+ implementation for encoders and decoders is Python’s.
+ .
+ This package provides the module for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..15fe6d9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,59 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: webencodings
+Source: https://github.com/gsnedders/python-webencodings
+
+Files: *
+Copyright: 2012 by Simon Sapin
+License: BSD-3-clause
+ Copyright (c) 2012 by Simon Sapin.
+ .
+ Some rights reserved.
+ .
+ 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.
+ .
+ * The names of the contributors may not 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: Copyright 2016 Barry Warsaw <barry at debian.org>
+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/rules b/debian/rules
new file mode 100755
index 0000000..f240dcb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=webencodings
+#export PYBUILD_VERBOSE=1
+#export DH_VERBOSE=1
+
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6680fed
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/webencodings/webencodings-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-webencodings.git
More information about the Python-modules-commits
mailing list