--- python-ipcalc-0.5.2.orig/pkg-info +++ python-ipcalc-0.5.2/pkg-info @@ -0,0 +1,13 @@ +Metadata-Version: 1.0 +Name: ipcalc +Version: 0.3 +Summary: IP subnet calculator +Home-page: http://dev.tehmaze.com/projects/ipcalc +Author: Wijnand Modderman +Author-email: python@tehmaze.com +License: MIT +Platform: any +Description: + This module allows you to perform IP subnet calculations, + there is support for both IPv4 and IPv6 CIDR notation. + --- python-ipcalc-0.5.2.orig/debian/changelog +++ python-ipcalc-0.5.2/debian/changelog @@ -0,0 +1,18 @@ +python-ipcalc (0.5.2-0ubuntu1) quantal; urgency=low + + * New upstream release. + * Bump Standards-Version to 3.9.3. + + -- Logan Rosen Wed, 25 Jul 2012 02:00:29 -0400 + +python-ipcalc (0.3-1build1) precise; urgency=low + + * Rebuild to drop python2.6 dependencies and provides. + + -- Matthias Klose Sat, 14 Apr 2012 13:44:30 +0000 + +python-ipcalc (0.3-1) unstable; urgency=low + + * Initial release (Closes: #533437) + + -- MEZGANI Ali Wed, 17 Jun 2009 01:33:25 +0200 --- python-ipcalc-0.5.2.orig/debian/rules +++ python-ipcalc-0.5.2/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ --- python-ipcalc-0.5.2.orig/debian/README.Debian +++ python-ipcalc-0.5.2/debian/README.Debian @@ -0,0 +1,28 @@ +ipcalc for Debian +----------------- + +This module allows you to perform IP subnet calculations, there is support for both IPv4 and IPv6 CIDR notation. + +Example Usage: + +>>> from ipcalc import IP, Network +>>> for x in Network('172.16.42.0/30'): +... print str(x) +... +172.16.42.0 +172.16.42.1 +172.16.42.2 +172.16.42.3 +>>> subnet = Network('2001:beef:babe::/48') +>>> print str(subnet.network()) +2001:beef:babe:0000:0000:0000:0000:0000 +>>> print str(subnet.netmask()) +ffff:ffff:ffff:0000:0000:0000:0000:0000 +>>> '192.168.42.23' in Network('192.168.42.0/24') +True +>>> long(IP('fe80::213:ceff:fee8:c937')) +338288524927261089654168587652869703991L +>>> IP('127.1.2') == '127.1.0.2' +True + + -- MEZGANI Ali Wed, 17 Jun 2009 01:33:25 +0200 --- python-ipcalc-0.5.2.orig/debian/compat +++ python-ipcalc-0.5.2/debian/compat @@ -0,0 +1 @@ +7 --- python-ipcalc-0.5.2.orig/debian/copyright +++ python-ipcalc-0.5.2/debian/copyright @@ -0,0 +1,58 @@ +This package was debianized by MEZGANI Ali on +Wed, 17 Jun 2009 01:33:25 +0200. + +It was downloaded from http://dev.tehmaze.com/projects/ipcalc + +Upstream Author: + + Wijnand Modderman + +Copyright: + + Copyright (C) 2008-2009 Wijnand Modderman + +License: + mezgani ali wrote: + > Hi Modderman, + > Please can tell me what is the License of your python's modules ipcalc ? + + I'll add a LICENSE file to the file repository located at + http://code.maze.io/projects/ipcalc + + All my code is released under the MIT-license, which reads as follows: + + Copyright (c) 2008-2009 Wijnand Modderman + + 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. + -- + Regards, + + Wijnand Modderman + + +The Debian packaging is: + + Copyright (C) 2009 MEZGANI Ali + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. + --- python-ipcalc-0.5.2.orig/debian/control +++ python-ipcalc-0.5.2/debian/control @@ -0,0 +1,19 @@ +Source: python-ipcalc +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: MEZGANI Ali +Build-Depends: debhelper (>= 7), python-support, python-dev +Standards-Version: 3.9.3 +Homepage: http://dev.tehmaze.com/projects/ipcalc +XB-Python-Version: ${python:Versions} + +Package: python-ipcalc +Architecture: all +Depends: python, ${python:Depends}, ${misc:Depends} +Provides: ${python:Provides} +Description: perform IP subnet calculations + returns the network address, netmask, network address in hexadecimal + and CIDR notation, min/max IP addresses, broadcast address and + the number of subnets. + There is support for both IPv4 and IPv6. --- python-ipcalc-0.5.2.orig/debian/README.source +++ python-ipcalc-0.5.2/debian/README.source @@ -0,0 +1,10 @@ +ipcalc for Debian +----------------- + +Please to upgrade the Debian source package to a new upstream version: +http://pypi.python.org/packages/source/i/ipcalc/ + +For more information visit the project's web site at: +http://code.maze.io/projects/ipcalc + + -- MEZGANI Ali Wed, 17 Jun 2009 01:33:25 +0200 --- python-ipcalc-0.5.2.orig/debian/watch +++ python-ipcalc-0.5.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/i/ipcalc/ipcalc-(.*)\.tar\.gz