[Python-modules-commits] r11309 - in packages/python-ipaddr (14 files)

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Mon Jan 25 19:11:54 UTC 2010


    Date: Monday, January 25, 2010 @ 19:11:48
  Author: kitterma-guest
Revision: 11309

Fix repository layout.

Added:
  packages/python-ipaddr/tags/
  packages/python-ipaddr/trunk/debian/
  packages/python-ipaddr/trunk/debian/changelog
  packages/python-ipaddr/trunk/debian/compat
  packages/python-ipaddr/trunk/debian/control
  packages/python-ipaddr/trunk/debian/copyright
  packages/python-ipaddr/trunk/debian/patches/
  packages/python-ipaddr/trunk/debian/patches/IPv4IpValidationError
  packages/python-ipaddr/trunk/debian/patches/Invalid_exception_names
  packages/python-ipaddr/trunk/debian/patches/NameError_checking_prefixlen_IPv6Network
  packages/python-ipaddr/trunk/debian/patches/series
  packages/python-ipaddr/trunk/debian/rules
  packages/python-ipaddr/trunk/debian/watch
Deleted:
  packages/python-ipaddr/trunk/python-ipaddr/

Added: packages/python-ipaddr/trunk/debian/changelog
===================================================================
--- packages/python-ipaddr/trunk/debian/changelog	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/changelog	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,6 @@
+python-ipaddr (2.0.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #566724)
+
+ -- Scott Kitterman <scott at kitterman.com>  Sun, 24 Jan 2010 15:44:45 -0500
+

Added: packages/python-ipaddr/trunk/debian/compat
===================================================================
--- packages/python-ipaddr/trunk/debian/compat	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/compat	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1 @@
+7

Added: packages/python-ipaddr/trunk/debian/control
===================================================================
--- packages/python-ipaddr/trunk/debian/control	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/control	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,27 @@
+Source: python-ipaddr
+Section: python
+Priority: optional
+Maintainer: Scott Kitterman <scott at kitterman.com>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.2.11), quilt (>= 0.46-7)
+Build-Depends-Indep: python-all (>= 2.5.4-2~), python-support (>= 0.6.4)
+Standards-Version: 3.8.3
+Homepage: http://code.google.com/p/ipaddr-py/
+XS-Python-Version: >= 2.4
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-ipaddr/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-ipaddr/trunk/
+DM-Upload-Allowed: yes
+
+Package: python-ipaddr
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: Python module for working with IP addresses, both IPv4 and IPv6
+ A fast, lightweight IPv4/IPv6 manipulation library in Python.
+ .
+ This library is used to create/poke/manipulate IPv4 and IPv6 addresses
+ and networks.
+ .
+ This is a pure Python implementation of classes for IPv4/6 addresses and
+ networks. It supports comparisons to determine if IP addresses are contained
+ inside a defined network, conversion of lists of IP addresses into compact
+ CIDR lists, and other IP address manipulation

Added: packages/python-ipaddr/trunk/debian/copyright
===================================================================
--- packages/python-ipaddr/trunk/debian/copyright	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/copyright	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,32 @@
+This package was debianized by Scott Kitterman <scott at kitterman.com> on
+Sun, 24 Jan 2010 15:45:45 -0500.
+
+It was downloaded from <http://code.google.com/p/ipaddr-py/>
+
+Upstream Author:
+
+    Google <ipaddr-py-dev at googlegroups.com>
+
+Copyright:
+
+    Copyright © 2007, 2008 Google Inc.
+
+License:
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied. See the License for the specific language governing
+ permissions and limitations under the License.
+
+See /usr/share/common-licenses/Apache-2.0 for the full text of the license
+
+The Debian packaging is © 2010, Scott Kitterman <scott at kitterman.com> and
+is licensed under the same terms as the upstream package, see above.
+

Added: packages/python-ipaddr/trunk/debian/patches/IPv4IpValidationError
===================================================================
--- packages/python-ipaddr/trunk/debian/patches/IPv4IpValidationError	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/patches/IPv4IpValidationError	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,15 @@
+Reported upstream as http://code.google.com/p/ipaddr-py/issues/detail?id=55
+
+Index: python-ipaddr-2.0.0/ipaddr.py
+===================================================================
+--- python-ipaddr-2.0.0.orig/ipaddr.py	2010-01-25 01:13:01.000000000 -0500
++++ python-ipaddr-2.0.0/ipaddr.py	2010-01-25 01:13:28.000000000 -0500
+@@ -1656,7 +1656,7 @@
+             return None
+         try:
+             return IPv4Address(int('%s%s' % (hextets[-2], hextets[-1]), 16))
+-        except IPv4IpvalidationError:
++        except IPv4IpValidationError:
+             return None
+     
+ 

Added: packages/python-ipaddr/trunk/debian/patches/Invalid_exception_names
===================================================================
--- packages/python-ipaddr/trunk/debian/patches/Invalid_exception_names	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/patches/Invalid_exception_names	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,21 @@
+http://code.google.com/p/ipaddr-py/issues/detail?id=50
+
+Index: python-ipaddr-2.0.0/ipaddr.py
+===================================================================
+--- python-ipaddr-2.0.0.orig/ipaddr.py	2010-01-25 00:47:52.000000000 -0500
++++ python-ipaddr-2.0.0/ipaddr.py	2010-01-25 00:49:03.000000000 -0500
+@@ -137,12 +137,12 @@
+ 
+     try:
+         return IPv4Address(address)
+-    except (IPv4IpValidationError, IPv6NetmaskValidationError):
++    except (IPv4IpValidationError, IPv4NetmaskValidationError):
+         pass
+ 
+     try:
+         return IPv6Address(address)
+-    except (IPv6ValidationError, IPv6NetmaskValidationError):
++    except (IPv6IpValidationError, IPv6NetmaskValidationError):
+         pass
+ 
+     raise ValueError('%r does not appear to be an IPv4 or IPv6 address' %

Added: packages/python-ipaddr/trunk/debian/patches/NameError_checking_prefixlen_IPv6Network
===================================================================
--- packages/python-ipaddr/trunk/debian/patches/NameError_checking_prefixlen_IPv6Network	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/patches/NameError_checking_prefixlen_IPv6Network	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,15 @@
+http://code.google.com/p/ipaddr-py/issues/detail?id=51
+
+Index: python-ipaddr-2.0.0/ipaddr.py
+===================================================================
+--- python-ipaddr-2.0.0.orig/ipaddr.py	2010-01-25 01:01:38.000000000 -0500
++++ python-ipaddr-2.0.0/ipaddr.py	2010-01-25 01:02:08.000000000 -0500
+@@ -1780,7 +1780,7 @@
+         addr = str(address).split('/')
+ 
+         if len(addr) > 2:
+-            raise IPv6IpValidationError(ipaddr)
++            raise IPv6IpValidationError(address)
+ 
+         if not self._is_valid_ip(addr[0]):
+             raise IPv6IpValidationError(addr[0])

Added: packages/python-ipaddr/trunk/debian/patches/series
===================================================================
--- packages/python-ipaddr/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/patches/series	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,3 @@
+Invalid_exception_names
+NameError_checking_prefixlen_IPv6Network
+IPv4IpValidationError

Added: packages/python-ipaddr/trunk/debian/rules
===================================================================
--- packages/python-ipaddr/trunk/debian/rules	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/rules	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with quilt
+


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

Added: packages/python-ipaddr/trunk/debian/watch
===================================================================
--- packages/python-ipaddr/trunk/debian/watch	                        (rev 0)
+++ packages/python-ipaddr/trunk/debian/watch	2010-01-25 19:11:48 UTC (rev 11309)
@@ -0,0 +1,4 @@
+version=3
+
+http://code.google.com/p/ipaddr-py/downloads/list \
+http://ipaddr-py.googlecode.com/files/ipaddr-([0-9]\..*)\.tar\.gz




More information about the Python-modules-commits mailing list