[Python-modules-commits] r32945 - in packages/python-ipaddress/trunk (10 files)

mithrandi at users.alioth.debian.org mithrandi at users.alioth.debian.org
Wed Jun 10 03:47:44 UTC 2015


    Date: Wednesday, June 10, 2015 @ 03:47:44
  Author: mithrandi
Revision: 32945

[svn-inject] Applying Debian modifications (1.0.7-1) to trunk

Added:
  packages/python-ipaddress/trunk/debian/
  packages/python-ipaddress/trunk/debian/README.Debian
  packages/python-ipaddress/trunk/debian/changelog
  packages/python-ipaddress/trunk/debian/compat
  packages/python-ipaddress/trunk/debian/control
  packages/python-ipaddress/trunk/debian/copyright
  packages/python-ipaddress/trunk/debian/rules
  packages/python-ipaddress/trunk/debian/source/
  packages/python-ipaddress/trunk/debian/source/format
  packages/python-ipaddress/trunk/debian/watch


Property changes on: packages/python-ipaddress/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-ipaddress/trunk/debian/README.Debian
===================================================================
--- packages/python-ipaddress/trunk/debian/README.Debian	                        (rev 0)
+++ packages/python-ipaddress/trunk/debian/README.Debian	2015-06-10 03:47:44 UTC (rev 32945)
@@ -0,0 +1,21 @@
+python-ipaddress vs. python-ipaddr
+==================================
+python-ipaddress contains a backport of the Python 3 stdlib module "ipaddress",
+which is in turn based on the "ipaddr" module which is packaged in
+python-ipaddr (the Python 3 variant is not provided).
+
+The modules share very similar APIs, with two important differences:
+
+1) ipaddr provides ipaddr.IPAddress and ipaddr.IPNetwork while ipaddress
+   provides these under the names ipaddress.ip_address and
+   ipaddress.ip_network.
+
+2) ipaddr expects bytes objects (eg. b'127.0.0.1') for unpacked addresses,
+   ipaddr.Bytes objects (eg. ipaddr.Bytes(b'\x7f\x00\x00\x01')) for packed
+   addresses, and does not expect unicode objects at all (so these will be
+   implicitly decoded by Python).
+
+   ipaddress expects unicode objects (eg. u'127.0.0.1') for unpacked addresses,
+   and bytes objects (eg. b'\x7f\x00\x00\x01') for packed addresses.
+
+ -- Tristan Seligmann <mithrandi at debian.org>  Wed, 10 Jun 2015 05:35:52 +0200

Added: packages/python-ipaddress/trunk/debian/changelog
===================================================================
--- packages/python-ipaddress/trunk/debian/changelog	                        (rev 0)
+++ packages/python-ipaddress/trunk/debian/changelog	2015-06-10 03:47:44 UTC (rev 32945)
@@ -0,0 +1,5 @@
+python-ipaddress (1.0.7-1) unstable; urgency=medium
+
+  * Initial release. (closes: #785275)
+
+ -- Tristan Seligmann <mithrandi at debian.org>  Mon, 08 Jun 2015 15:29:18 +0200

Added: packages/python-ipaddress/trunk/debian/compat
===================================================================
--- packages/python-ipaddress/trunk/debian/compat	                        (rev 0)
+++ packages/python-ipaddress/trunk/debian/compat	2015-06-10 03:47:44 UTC (rev 32945)
@@ -0,0 +1 @@
+9

Added: packages/python-ipaddress/trunk/debian/control
===================================================================
--- packages/python-ipaddress/trunk/debian/control	                        (rev 0)
+++ packages/python-ipaddress/trunk/debian/control	2015-06-10 03:47:44 UTC (rev 32945)
@@ -0,0 +1,26 @@
+Source: python-ipaddress
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Tristan Seligmann <mithrandi at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+Homepage: https://github.com/phihag/ipaddress
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-ipaddress/trunk/
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-ipaddress/trunk/
+Standards-Version: 3.9.6
+X-Python-Version: >= 2.6
+
+Package: python-ipaddress
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Backport of Python 3 ipaddress module (Python 2)
+ This module is a backport of the stdlib "ipaddress" module from Python 3. The
+ "ipaddress" module is in turn based off of the "ipaddr" module available in
+ the "python-ipaddr" but there are some important API differences; make sure
+ you are using the right module.

Added: packages/python-ipaddress/trunk/debian/copyright
===================================================================
--- packages/python-ipaddress/trunk/debian/copyright	                        (rev 0)
+++ packages/python-ipaddress/trunk/debian/copyright	2015-06-10 03:47:44 UTC (rev 32945)
@@ -0,0 +1,88 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ipaddress
+Source: https://github.com/phihag/ipaddress
+
+Files: *
+Copyright: 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved
+License: PSF-2
+
+Files: ipaddress.py
+Copyright: 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved
+           2007 Google Inc.
+License: PSF-2
+
+Files: debian/*
+Copyright: 2015 Tristan Seligmann <mithrandi at debian.org>
+License: Expat
+
+License: PSF-2
+ This package is a modified version of cpython's ipaddress module.
+ It is therefore distributed under the PSF license, as follows:
+ .
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
+ --------------------------------------------
+ .
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using this software ("Python") in source or binary form and
+ its associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
+ analyze, test, perform and/or display publicly, prepare derivative works,
+ distribute, and otherwise use Python alone or in any derivative version,
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
+ i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+ 2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved" are
+ retained in Python alone or in any derivative version prepared by Licensee.
+ .
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python.
+ .
+ 4. PSF is making Python available to Licensee on an "AS IS"
+ basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between PSF and
+ Licensee.  This License Agreement does not grant permission to use PSF
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+ .
+ 8. By copying, installing or otherwise using Python, Licensee
+ agrees to be bound by the terms and conditions of this License
+ Agreement.
+
+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.

Added: packages/python-ipaddress/trunk/debian/rules
===================================================================
--- packages/python-ipaddress/trunk/debian/rules	                        (rev 0)
+++ packages/python-ipaddress/trunk/debian/rules	2015-06-10 03:47:44 UTC (rev 32945)
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=ipaddress
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild


Property changes on: packages/python-ipaddress/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-ipaddress/trunk/debian/source/format
===================================================================
--- packages/python-ipaddress/trunk/debian/source/format	                        (rev 0)
+++ packages/python-ipaddress/trunk/debian/source/format	2015-06-10 03:47:44 UTC (rev 32945)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/python-ipaddress/trunk/debian/watch
===================================================================
--- packages/python-ipaddress/trunk/debian/watch	                        (rev 0)
+++ packages/python-ipaddress/trunk/debian/watch	2015-06-10 03:47:44 UTC (rev 32945)
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/ipaddress/ipaddress-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))




More information about the Python-modules-commits mailing list