[Python-modules-commits] r10150 - in packages/python-ipcalc/trunk (10 files)

mezgani-guest at users.alioth.debian.org mezgani-guest at users.alioth.debian.org
Tue Oct 20 00:54:01 UTC 2009


    Date: Tuesday, October 20, 2009 @ 00:53:59
  Author: mezgani-guest
Revision: 10150

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-ipcalc/trunk/debian/
  packages/python-ipcalc/trunk/debian/README.Debian
  packages/python-ipcalc/trunk/debian/README.source
  packages/python-ipcalc/trunk/debian/changelog
  packages/python-ipcalc/trunk/debian/compat
  packages/python-ipcalc/trunk/debian/control
  packages/python-ipcalc/trunk/debian/copyright
  packages/python-ipcalc/trunk/debian/rules
  packages/python-ipcalc/trunk/debian/watch
  packages/python-ipcalc/trunk/pkg-info


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

Added: packages/python-ipcalc/trunk/debian/README.Debian
===================================================================
--- packages/python-ipcalc/trunk/debian/README.Debian	                        (rev 0)
+++ packages/python-ipcalc/trunk/debian/README.Debian	2009-10-20 00:53:59 UTC (rev 10150)
@@ -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 <mezgani at linuxmail.org>  Wed, 17 Jun 2009 01:33:25 +0200

Added: packages/python-ipcalc/trunk/debian/README.source
===================================================================
--- packages/python-ipcalc/trunk/debian/README.source	                        (rev 0)
+++ packages/python-ipcalc/trunk/debian/README.source	2009-10-20 00:53:59 UTC (rev 10150)
@@ -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 <mezgani at linuxmail.org>  Wed, 17 Jun 2009 01:33:25 +0200

Added: packages/python-ipcalc/trunk/debian/changelog
===================================================================
--- packages/python-ipcalc/trunk/debian/changelog	                        (rev 0)
+++ packages/python-ipcalc/trunk/debian/changelog	2009-10-20 00:53:59 UTC (rev 10150)
@@ -0,0 +1,5 @@
+python-ipcalc (0.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #533437) 
+
+ -- MEZGANI Ali <mezgani at linuxmail.org>  Wed, 17 Jun 2009 01:33:25 +0200

Added: packages/python-ipcalc/trunk/debian/compat
===================================================================
--- packages/python-ipcalc/trunk/debian/compat	                        (rev 0)
+++ packages/python-ipcalc/trunk/debian/compat	2009-10-20 00:53:59 UTC (rev 10150)
@@ -0,0 +1 @@
+7

Added: packages/python-ipcalc/trunk/debian/control
===================================================================
--- packages/python-ipcalc/trunk/debian/control	                        (rev 0)
+++ packages/python-ipcalc/trunk/debian/control	2009-10-20 00:53:59 UTC (rev 10150)
@@ -0,0 +1,18 @@
+Source: python-ipcalc
+Section: python
+Priority: optional
+Maintainer: MEZGANI Ali <mezgani at linuxmail.org>
+Build-Depends: debhelper (>= 7), python-support, python-dev 
+Standards-Version: 3.8.2 
+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.

Added: packages/python-ipcalc/trunk/debian/copyright
===================================================================
--- packages/python-ipcalc/trunk/debian/copyright	                        (rev 0)
+++ packages/python-ipcalc/trunk/debian/copyright	2009-10-20 00:53:59 UTC (rev 10150)
@@ -0,0 +1,58 @@
+This package was debianized by MEZGANI Ali <mezgani at linuxmail.org> on
+Wed, 17 Jun 2009 01:33:25 +0200.
+
+It was downloaded from http://dev.tehmaze.com/projects/ipcalc 
+
+Upstream Author:
+
+    Wijnand Modderman <wijnand at freecode.nl>
+ 
+Copyright:
+
+    Copyright (C) 2008-2009 Wijnand Modderman 
+
+License:
+	mezgani ali <handrix at gmail.com> 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 <wijnand at freecode.nl>
+
+	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 <mezgani at linuxmail.org>
+
+and is licensed under the GPL version 3, 
+see `/usr/share/common-licenses/GPL-3'.
+

Added: packages/python-ipcalc/trunk/debian/rules
===================================================================
--- packages/python-ipcalc/trunk/debian/rules	                        (rev 0)
+++ packages/python-ipcalc/trunk/debian/rules	2009-10-20 00:53:59 UTC (rev 10150)
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+	dh $@


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

Added: packages/python-ipcalc/trunk/debian/watch
===================================================================
--- packages/python-ipcalc/trunk/debian/watch	                        (rev 0)
+++ packages/python-ipcalc/trunk/debian/watch	2009-10-20 00:53:59 UTC (rev 10150)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/i/ipcalc/ipcalc-(.*)\.tar\.gz

Added: packages/python-ipcalc/trunk/pkg-info
===================================================================
--- packages/python-ipcalc/trunk/pkg-info	                        (rev 0)
+++ packages/python-ipcalc/trunk/pkg-info	2009-10-20 00:53:59 UTC (rev 10150)
@@ -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 at 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.
+        




More information about the Python-modules-commits mailing list