--- python-ipaddr-2.1.9.orig/debian/changelog +++ python-ipaddr-2.1.9/debian/changelog @@ -0,0 +1,117 @@ +python-ipaddr (2.1.9-2) unstable; urgency=low + + * Rebuild for Python transition + * Protect for loops in debian/rules with set -e + * Drop Breaks: ${python:Breaks} since it is no longer used + * Bump Standards-Version to 3.9.2 without further change + + -- Scott Kitterman Wed, 20 Apr 2011 00:40:45 -0400 + +python-ipaddr (2.1.9-1) unstable; urgency=low + + * New upstream release + * Install RELEASENOTES as changelog instead + - Replace docs with python-ipaddr.docs and python3-ipaddr.docs + * Override dh_auto_clean to clean completely with python3 + + -- Scott Kitterman Wed, 23 Feb 2011 08:49:44 -0500 + +python-ipaddr (2.1.8-1) unstable; urgency=low + + * New upstream release + * Provide python3-ipaddr from this source using 2to3 + - Add package to debian/control + - Add X-Python3-Version to debian/control + - Add python3-all to build-depends + - Add installation into the correct binaries in debian/rules and run 2to3 + between python and python3 rules + * Run tests (ipaddr_test.py) during build for each python/python3 version + * Drop XB-Python-Version and switch XS-Python-Version to X-Python-Version + * Add Breaks: ${python:Breaks} to python-ipaddr + + -- Scott Kitterman Sun, 13 Feb 2011 16:17:14 -0500 + +python-ipaddr (2.1.7-1) unstable; urgency=low + + * New upstream release + + -- Scott Kitterman Tue, 25 Jan 2011 07:08:30 -0500 + +python-ipaddr (2.1.5-2) unstable; urgency=low + + * Upload to unstable + + -- Scott Kitterman Mon, 18 Oct 2010 15:35:02 -0400 + +python-ipaddr (2.1.5-1) experimental; urgency=low + + * New upstream release (upload to experimental due to freeze) + - Containment test should always return false on mixed-type tests (2.1.5) + - More invalid IPv6 addresses will be rejected (2.1.4) + * Drop releasenotes.patch and related packaging changes since this release + manages to include the release notes in the package + * Bump standards version to 3.9.1 without further change + + -- Scott Kitterman Mon, 11 Oct 2010 14:47:01 -0400 + +python-ipaddr (2.1.3-2) unstable; urgency=low + + * Add new RELEASENOTES file in releasenots.patch. (upstream re-released 2.1.3 + with this added in a revised tarball using the same version number) + - Add debian/docs to install it + - Add build-dep on quilt (>= 0.46-7) + - Change debian/rules to build --with quilt + - Add README.source + * Convert from python-support to dh_python2 + - Drop build-depends on python-support + - Bump python-all version requirement to 2.6.5-2 and move to build-depends + from build-depends-indep + - Bump debhelper version requirement + - Change debian/rules to build --with python2 + * Add XB-Python-Version + + -- Scott Kitterman Wed, 23 Jun 2010 23:08:30 -0400 + +python-ipaddr (2.1.3-1) unstable; urgency=low + + * New upstream release + + -- Scott Kitterman Sat, 12 Jun 2010 21:08:27 -0400 + +python-ipaddr (2.1.2-1) unstable; urgency=low + + * New upstream release + * Update debian/watch for new googlecode download urls + * Drop DM-Upload-Allowed from debian/control + + -- Scott Kitterman Sun, 06 Jun 2010 00:07:26 -0400 + +python-ipaddr (2.1.1-1) unstable; urgency=low + + * New upstream bugfix release + - Drop debian/patches/IPv4IpValidationError (incorporated upstream) + * Drop patch system (not used) + - Remove quilt build-dep + - Adjust debian/rules + - Remove debian/patches + - Remove debian/README.source + + -- Scott Kitterman Tue, 02 Mar 2010 22:18:21 -0500 + +python-ipaddr (2.1.0-1) unstable; urgency=low + + * New upstream release + - Drop debian/patches/Invalid_exception_names and + NameError_checking_prefixlen_IPv6Network (incorporated upstream) + - Update debian/patches/IPv4IpValidationError for new exception names + * Bump standards version to 3.8.4 without further change + * Improve long description (Closes: #568904) + + -- Scott Kitterman Fri, 19 Feb 2010 13:32:39 -0500 + +python-ipaddr (2.0.0-1) unstable; urgency=low + + * Initial release (Closes: #566724) + + -- Scott Kitterman Sun, 24 Jan 2010 15:44:45 -0500 + --- python-ipaddr-2.1.9.orig/debian/rules +++ python-ipaddr-2.1.9/debian/rules @@ -0,0 +1,36 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +%: + dh $@ --with python2,python3 + +override_dh_auto_install: + set -e && for pyvers in $(shell pyversions -vr); do \ + python$$pyvers setup.py install --no-compile -O0 --install-layout=deb \ + --root $(CURDIR)/debian/python-ipaddr; \ + python$$pyvers $(CURDIR)/ipaddr_test.py; \ + done + 2to3 -w $(CURDIR)/ipaddr.py + 2to3 -w $(CURDIR)/ipaddr_test.py + set -e && for pyvers in $(shell py3versions -sv); do \ + python$$pyvers setup.py install --no-compile -O0 --install-layout=deb \ + --root $(CURDIR)/debian/python3-ipaddr; \ + python$$pyvers $(CURDIR)/ipaddr_test.py; \ + done + mv $(CURDIR)/ipaddr.py.bak $(CURDIR)/ipaddr.py + mv $(CURDIR)/ipaddr_test.py.bak $(CURDIR)/ipaddr_test.py + +override_dh_installdocs: + cp $(CURDIR)/RELEASENOTES $(CURDIR)/changelog + dh_installdocs + rm $(CURDIR)/changelog + +override_dh_auto_clean: + set -e && for pyvers in $(shell pyversions -vr); do \ + python$$pyvers setup.py clean -a; \ + done + set -e && for pyvers in $(shell py3versions -sv); do \ + python$$pyvers setup.py clean -a; \ + done + find . -name \*.pyc -exec rm {} \; + dh_clean --- python-ipaddr-2.1.9.orig/debian/watch +++ python-ipaddr-2.1.9/debian/watch @@ -0,0 +1,7 @@ +version=3 + +opts=\ +downloadurlmangle=s|.*[?]name=(.*?)&.*|http://ipaddr-py.googlecode.com/files/$1|,\ +filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ +http://code.google.com/p/ipaddr-py/downloads/detail[?]name=ipaddr-([0-9.]+).tar.gz&.* + --- python-ipaddr-2.1.9.orig/debian/copyright +++ python-ipaddr-2.1.9/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Scott Kitterman on +Sun, 24 Jan 2010 15:45:45 -0500. + +It was downloaded from + +Upstream Author: + + Google + +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 and +is licensed under the same terms as the upstream package, see above. + --- python-ipaddr-2.1.9.orig/debian/python3-ipaddr.docs +++ python-ipaddr-2.1.9/debian/python3-ipaddr.docs @@ -0,0 +1,2 @@ +changelog + --- python-ipaddr-2.1.9.orig/debian/python-ipaddr.docs +++ python-ipaddr-2.1.9/debian/python-ipaddr.docs @@ -0,0 +1,2 @@ +changelog + --- python-ipaddr-2.1.9.orig/debian/README.source +++ python-ipaddr-2.1.9/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt for patches. dpkg-source -x does produce source +ready for building with dpkg-buildpackage. It does not procude source ready +for editing. See /usr/share/doc/quilt/README.source for information on using +quilt. + --- python-ipaddr-2.1.9.orig/debian/control +++ python-ipaddr-2.1.9/debian/control @@ -0,0 +1,37 @@ +Source: python-ipaddr +Section: python +Priority: optional +Maintainer: Scott Kitterman +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 7.3.16), python-all (>= 2.6.5-2~), python3-all (>= 3.1.3-3) +Standards-Version: 3.9.2 +Homepage: http://code.google.com/p/ipaddr-py/ +X-Python-Version: >= 2.4 +X-Python3-Version: >= 3.1 +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/ + +Package: python-ipaddr +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Description: Python module for working with IP addresses, both IPv4 and IPv6 + This library is used to create/poke/manipulate IPv4 and IPv6 addresses + and networks in Python. It is intended to be fast and lightweight. + . + 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 + +Package: python3-ipaddr +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Description: Python3 module for working with IP addresses, both IPv4 and IPv6 + This library is used to create/poke/manipulate IPv4 and IPv6 addresses + and networks in Python3. It is intended to be fast and lightweight. + . + This is a pure Python3 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. + --- python-ipaddr-2.1.9.orig/debian/compat +++ python-ipaddr-2.1.9/debian/compat @@ -0,0 +1 @@ +7