--- python-geoip-1.2.4.orig/debian/changelog +++ python-geoip-1.2.4/debian/changelog @@ -0,0 +1,120 @@ +python-geoip (1.2.4-2ubuntu3) precise; urgency=low + + * Build using dh_python2 + + -- Matthias Klose Sat, 17 Dec 2011 14:15:31 +0000 + +python-geoip (1.2.4-2ubuntu2) natty; urgency=low + + * Rebuild to add support for python 2.7. + + -- Matthias Klose Fri, 03 Dec 2010 00:10:40 +0000 + +python-geoip (1.2.4-2ubuntu1) lucid; urgency=low + + * Merge from Debian testing (lp: #503067). Remaining changes: + - debian/copyright: Update to LGPL. + - Build a python-geoip-dbg package. + + -- Michael Bienia Mon, 04 Jan 2010 20:11:22 +0100 + +python-geoip (1.2.4-2) unstable; urgency=low + + * Add the Python modules team to uploaders. + * Depend on geoip-database. Closes: #558474. + + -- Josselin Mouette Mon, 30 Nov 2009 12:05:11 +0100 + +python-geoip (1.2.4-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable (LP: #392172), remaining changes: + - debian/copyright: Update to LGPL. + - Build a python-geoip-dbg package. + + -- Muharem Hrnjadovic Thu, 25 Jun 2009 15:53:14 +0200 + +python-geoip (1.2.4-1) unstable; urgency=low + + * New upstream release. + * Remove patch to py_GeoIP.c, upstream introduced a different fix. + * Fix spelling of Python. + * Refer to versioned GPL. + + -- Josselin Mouette Wed, 24 Jun 2009 12:25:16 +0200 + +python-geoip (1.2.1-2ubuntu3) jaunty; urgency=low + + * Build for python2.6. + + -- Matthias Klose Mon, 23 Feb 2009 17:02:23 +0100 + +python-geoip (1.2.1-2ubuntu2) hardy; urgency=low + + * Add the the following improvements to the GeoIP-Python binding + (James Henstridge) LP: #180212, sf#1863473: + 1. fixes some reference leaks in setting up GeoIP.country_codes, + country_names, and country_continents variables. It also moves some + variable declarations to the top of the initGeoIP() function for + compatibility with pre-C99 compilers. + 2. exposes CHECK_CACHE and INDEX_CACHE flags for GeoIP.new() or + GeoIP.open() + 3. adds "database_info" and "database_edition" attributes to GeoIP + objects. + 4. adds "region_name" and "time_zone" keys to dictionary returned by + record_by_addr()/record_by_name(). + * debian/copyright: Update to LGPL. + + -- Matthias Klose Wed, 09 Apr 2008 17:52:09 +0000 + +python-geoip (1.2.1-2ubuntu1) feisty; urgency=low + + * Build a python-geoip-dbg package. + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 19 Feb 2007 09:49:28 +0100 + +python-geoip (1.2.1-2build1) edgy; urgency=low + + * Rebuild to add support for python2.5. + + -- Matthias Klose Fri, 8 Sep 2006 13:33:31 +0000 + +python-geoip (1.2.1-2) unstable; urgency=low + + * Standards version is 3.7.2. + * Migrate to the new python policy (closes: #373540). + + Bump build dependencies. + + Use DEB_PYTHON_SYSTEM=pysupport. + + pycompat=2, pyversions=2.0- + * Update FSF address. + + -- Josselin Mouette Fri, 30 Jun 2006 22:07:52 +0200 + +python-geoip (1.2.1-1) unstable; urgency=low + + * New upstream release. + * Standards version is 3.6.2. + + -- Josselin Mouette Mon, 7 Nov 2005 21:00:19 +0100 + +python-geoip (1.2.0-2) unstable; urgency=low + + * copyright: correct the license, it is now GPL. + * py_GeoIP.c: patch from Bastian Kleineidam to + fix an error when running on a wrong DB (closes: #298142). + * examples: install the sample scripts. + + -- Josselin Mouette Tue, 15 Mar 2005 19:44:36 +0100 + +python-geoip (1.2.0-1) unstable; urgency=low + + * New upstream release + + -- Josselin Mouette Sat, 17 Jan 2004 13:53:24 +0100 + +python-geoip (0.2.0-1) unstable; urgency=low + + * Initial Release (closes: #207203). + + -- Josselin Mouette Mon, 25 Aug 2003 19:07:10 +0200 + --- python-geoip-1.2.4.orig/debian/python-geoip.install +++ python-geoip-1.2.4/debian/python-geoip.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python* --- python-geoip-1.2.4.orig/debian/rules +++ python-geoip-1.2.4/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +build/python-geoip-dbg:: + set -e; \ + for i in $(cdbs_python_build_versions); do \ + python$$i-dbg ./setup.py build; \ + done + +install/python-geoip-dbg:: + for i in $(cdbs_python_build_versions); do \ + python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-geoip-dbg --install-layout=deb; \ + done + find debian/python-geoip-dbg \ + ! -type d ! -name '*_d.so' | xargs rm -f + find debian/python-geoip-dbg -depth -empty -exec rmdir {} \; + +binary-predeb/python-geoip-dbg:: + rm -rf debian/python-geoip-dbg/usr/share/doc/python-geoip-dbg + ln -s python-geoip debian/python-geoip-dbg/usr/share/doc/python-geoip-dbg + +clean:: + rm -rf build --- python-geoip-1.2.4.orig/debian/pyversions +++ python-geoip-1.2.4/debian/pyversions @@ -0,0 +1 @@ +2.0- --- python-geoip-1.2.4.orig/debian/control +++ python-geoip-1.2.4/debian/control @@ -0,0 +1,35 @@ +Source: python-geoip +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Josselin Mouette +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.6.6-3~), python-all-dbg, cdbs (>= 0.4.43), libgeoip-dev (>= 1.4.5) +Standards-Version: 3.8.2 + +Package: python-geoip +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${python:Depends}, + geoip-database +Provides: ${python:Provides} +Description: Python bindings for the GeoIP IP-to-country resolver library + GeoIP is a library that enables the user to find the country that any + IP address or hostname originates from, using a database instead of + DNS. + . + This package contains the Python bindings for GeoIP, allowing to use + this library within a Python program. + +Package: python-geoip-dbg +Priority: extra +Architecture: any +Depends: python-geoip (= ${Source-Version}), python-dbg, ${shlibs:Depends} +Description: Python bindings for the GeoIP IP-to-country resolver library (debug extension) + GeoIP is a library that enables the user to find the country that any + IP address or hostname originates from, using a database instead of + DNS. + . + This package contains the Python bindings for GeoIP, allowing to use + this library within a Python program, built for the Python debug interpreter. --- python-geoip-1.2.4.orig/debian/examples +++ python-geoip-1.2.4/debian/examples @@ -0,0 +1 @@ +test*.py --- python-geoip-1.2.4.orig/debian/copyright +++ python-geoip-1.2.4/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Josselin Mouette on +Mon, 25 Aug 2003 19:07:10 +0200. + +It was downloaded from http://www.maxmind.com/app/python + +Upstream Author: MaxMind LLC (http://www.maxmind.com/) + +Copyright: + + Copyright (c) 2002 MaxMind.com, All rights reserved. + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- python-geoip-1.2.4.orig/debian/compat +++ python-geoip-1.2.4/debian/compat @@ -0,0 +1 @@ +5