[Python-modules-commits] r19205 - in packages/python-ipcalc/trunk/debian (4 files)
mezgani-guest at users.alioth.debian.org
mezgani-guest at users.alioth.debian.org
Wed Nov 9 15:46:48 UTC 2011
Date: Wednesday, November 9, 2011 @ 15:46:44
Author: mezgani-guest
Revision: 19205
Remove README.debian and modification of MIT Licence to GPL3
Modified:
packages/python-ipcalc/trunk/debian/README.source
packages/python-ipcalc/trunk/debian/changelog
packages/python-ipcalc/trunk/debian/control
packages/python-ipcalc/trunk/debian/copyright
Modified: packages/python-ipcalc/trunk/debian/README.source
===================================================================
--- packages/python-ipcalc/trunk/debian/README.source 2011-11-09 10:34:17 UTC (rev 19204)
+++ packages/python-ipcalc/trunk/debian/README.source 2011-11-09 15:46:44 UTC (rev 19205)
@@ -1,10 +1,28 @@
ipcalc for Debian
-----------------
-Please to upgrade the Debian source package to a new upstream version:
-http://pypi.python.org/packages/source/i/ipcalc/
+This module allows you to perform IP subnet calculations, there is support for both IPv4 and IPv6 CIDR notation.
-For more information visit the project's web site at:
-http://code.maze.io/projects/ipcalc
+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 <mezgani at nativelabs.org> Wed, 17 Jun 2009 01:33:25 +0200
Modified: packages/python-ipcalc/trunk/debian/changelog
===================================================================
--- packages/python-ipcalc/trunk/debian/changelog 2011-11-09 10:34:17 UTC (rev 19204)
+++ packages/python-ipcalc/trunk/debian/changelog 2011-11-09 15:46:44 UTC (rev 19205)
@@ -10,7 +10,7 @@
* debian/rules: Adding quilt support.
* debian/watch: Fix the new homepage.
- -- MEZGANI Ali <mezgani at nativelabs.org> Wed, 12 Jan 2011 03:05:15 +0100
+ -- MEZGANI Ali <mezgani at nativelabs.org> Wed, 09 Nov 2011 09:05:15 +0100
python-ipcalc (0.3-1) unstable; urgency=low
Modified: packages/python-ipcalc/trunk/debian/control
===================================================================
--- packages/python-ipcalc/trunk/debian/control 2011-11-09 10:34:17 UTC (rev 19204)
+++ packages/python-ipcalc/trunk/debian/control 2011-11-09 15:46:44 UTC (rev 19205)
@@ -6,8 +6,8 @@
Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-ipcalc/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-ipcalc/trunk/
Build-Depends: debhelper (>= 7), python-support, quilt (>= 0.46-7)
-Standards-Version: 3.9.1
-Homepage: http://dev.tehmaze.com/projects/ipcalc
+Standards-Version: 3.9.2
+Homepage: http://pypi.python.org/pypi/ipcalc/
XB-Python-Version: ${python:Versions}
Package: python-ipcalc
@@ -18,4 +18,5 @@
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.
Modified: packages/python-ipcalc/trunk/debian/copyright
===================================================================
--- packages/python-ipcalc/trunk/debian/copyright 2011-11-09 10:34:17 UTC (rev 19204)
+++ packages/python-ipcalc/trunk/debian/copyright 2011-11-09 15:46:44 UTC (rev 19205)
@@ -12,6 +12,8 @@
Copyright (C) 2008-2009 Wijnand Modderman
License:
+ GPL-3
+
mezgani ali <handrix at gmail.com> wrote:
> Hi Modderman,
> Please can tell me what is the License of your python's modules ipcalc ?
@@ -51,7 +53,7 @@
The Debian packaging is:
- Copyright (C) 2009 MEZGANI Ali <mezgani at nativelabs.org>
+ Copyright (C) 2011 MEZGANI Ali <mezgani at nativelabs.org>
and is licensed under the GPL version 3,
see `/usr/share/common-licenses/GPL-3'.
More information about the Python-modules-commits
mailing list